Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.098 X-Spam-Evidence: '*H*': 0.81; '*S*': 0.00; 'attribute': 0.07; 'attribute.': 0.16; 'fix': 0.17; 'all,': 0.19; 'disable': 0.31; 'question:': 0.31; 'skip:q 20': 0.31; 'file': 0.32; 'yours,': 0.36; 'minimum': 0.38; 'to:addr:python-list': 0.38; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'maximum': 0.63; 'dear': 0.65 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pahlevanzadeh.org; s=default; h=Mime-Version:Content-Type:Date:To:From:Subject:Message-ID; bh=eJ0LHXT52hTaayR1WWEUJyiEKFE9/qGs5Q8vn6Be3qA=; b=RSRyOw9GK6hb9Gc7IcyKUJQilhK6/Bk0cut7yXBpi81PKfQPyQlKJe7OHnL/Wyc/Gjz2VlrgB5BngHshEHDEwyIuEtL6X4loec7dihAOzxWczupxJjcG1/WI4L5G+wpE+L8E0SzzXRF/kuQUhXrWvs3UZyVJNNZPbzxJOM7ZrcI=; Subject: QFrame and disable maximum attribute From: Mohsen Pahlevanzadeh To: python-list@python.org Date: Wed, 18 Sep 2013 10:16:03 +0430 Content-Type: multipart/mixed; boundary="=-NTyPUZNxidASB0z1YKF1" X-Mailer: Evolution 3.4.4-4+b1 Mime-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - part7.royal-servers.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pahlevanzadeh.org X-Get-Message-Sender-Via: part7.royal-servers.com: authenticated_id: mohsen@pahlevanzadeh.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 705 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379483180 news.xs4all.nl 15986 [2001:888:2000:d::a6]:44294 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54355 --=-NTyPUZNxidASB0z1YKF1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Dear all, I need to disbale maximum attribute , and want to fix size of my QFrame, i set : sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) i attached my ui file , you can : pyuic4 -x myfile.ui -i output.py then see my attribute. Question: How can i disable for user to couldn't maximum and minimum attributes? Yours, Mohsen --=-NTyPUZNxidASB0z1YKF1 Content-Type: application/x-designer; name="materialsFindFrame.ui" Content-Disposition: attachment; filename="materialsFindFrame.ui" Content-Transfer-Encoding: 8bit MaterialsFind 0 0 572 457 0 0 جستجوی مصالح Qt::RightToLeft QFrame::StyledPanel QFrame::Raised 10 250 541 192 false نام قیمت خرید تاریخ خرید موجودی انبار کف انبار false 210 10 231 33 10 210 131 31 جستجو true 460 10 94 26 نام true 460 60 94 26 قیمت خرید true 460 110 94 26 تاریخ خرید 403 160 151 26 میزان موجودی انبار false 330 100 110 33 250 110 64 21 تا false 170 100 110 33 430 210 121 31 سایر اقلام جستجو false 210 50 231 33 false 240 160 151 33 10 40 141 26 به صورت ترکیبی 10 70 141 26 به صورت جداگانه lineEdit returnPressed() Frame slot1() 436 20 84 167 pushButtonSearch clicked() Frame slot1() 75 210 73 121 checkBox clicked() Frame slot2() 460 23 309 27 checkBox_2 clicked() Frame slot3() 461 69 388 44 checkBox_3 clicked() Frame slot4() 480 135 317 150 checkBox_4 clicked() Frame slot5() 522 176 502 140 pushButtonOtherOptions clicked() Frame otherattributes() 442 227 350 190 checkBox_3 clicked(bool) checkBox_3 setOn(bool) 493 125 493 125 checkBox_3 toggled(bool) dateEdit setEnabled(bool) 461 124 435 115 checkBox_3 toggled(bool) dateEdit_2 setEnabled(bool) 464 131 265 122 checkBox toggled(bool) Frame setEnabled(bool) 505 10 369 0 checkBox_2 toggled(bool) lineEdit_2 setEnabled(bool) 527 85 422 80 checkBox_4 toggled(bool) lineEdit_3 setEnabled(bool) 448 178 373 183 slot1() slot2() slot3() slot4() slot5() queryinbox() otherattributes() --=-NTyPUZNxidASB0z1YKF1--