Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52869

Re: Using PyQT with QT Designer

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 <phil@riverbankcomputing.com>
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 <phil@riverbankcomputing.com>
To <tausciam@gmail.com>
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> <mailman.124.1377160367.19984.python-list@python.org> <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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.153.1377243588.19984.python-list@python.org> (permalink)
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

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-22 09:26 +0100
  Re: Using PyQT with QT Designer tausciam@gmail.com - 2013-08-22 18:08 -0700
    Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-23 08:39 +0100
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 08:00 -0500
    Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-23 18:17 +0100
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 12:30 -0500
    Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-23 18:42 +0100
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 12:58 -0500
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 13:05 -0500
    Re: Using PyQT with QT Designer Dave Angel <davea@davea.name> - 2013-08-23 20:16 +0000
      Re: Using PyQT with QT Designer tausciam@gmail.com - 2013-08-23 16:39 -0700

csiph-web