Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1.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.067 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'explicitly': 0.05; '22,': 0.09; 'cc:addr:python-list': 0.11; '.py': 0.16; 'referencing': 0.16; 'specifying': 0.16; 'widgets.': 0.16; 'thursday,': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'specifically': 0.29; 'designer': 0.30; "i'm": 0.30; 'received:207.126': 0.31; 'file': 0.32; 'totally': 0.33; 'subject:with': 0.35; 'implement': 0.38; 'arrange': 0.38; 'bad': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; 'august': 0.61; 'lost': 0.61; 'email addr:gmail.com': 0.63; 'central': 0.64; 'to:addr:gmail.com': 0.65; 'designer.': 0.84; 'phil': 0.84; 'subject:Using': 0.84; 'thompson': 0.84; '2013': 0.98 X-Virus-Scanned: Debian amavisd-new at rvrbank1.user.openhosting.com MIME-Version: 1.0 Date: Fri, 23 Aug 2013 08:39:39 +0100 From: Phil Thompson To: Subject: Re: Using PyQT with QT Designer Organization: Riverbank Computing Limited In-Reply-To: <8f9d0148-fda3-4139-ab45-a8be6da8320f@googlegroups.com> References: <1900623.ob0ITRdHWt@tannhaus-pc> <8f9d0148-fda3-4139-ab45-a8be6da8320f@googlegroups.com> X-Sender: phil@riverbankcomputing.com User-Agent: RoundCube Webmail/0.3.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1377243588 news.xs4all.nl 15929 [2001:888:2000:d::a6]:50578 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52869 On Thu, 22 Aug 2013 18:08:14 -0700 (PDT), tausciam@gmail.com wrote: > On Thursday, August 22, 2013 3:26:17 AM UTC-5, Phil Thompson wrote: > >> It looks like you aren't using a layout to arrange your widgets. >> >> Explicitly specifying geometries is a bad idea. >> >> >> >> Phil > > Thanks.QT Designer uses set geometry ...only because you have told it to... > and I'm totally lost as how to > implement it. I've tried using a layout on the central widget. I've tried > specifically referencing the Ui_MainWindow in the window.py ui file... You need to read up on how to use layouts in Designer. The generated .py file will then do what you want automatically. Phil