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


Groups > comp.lang.python > #52869

Re: Using PyQT with QT Designer

Date 2013-08-23 08:39 +0100
From Phil Thompson <phil@riverbankcomputing.com>
Subject Re: Using PyQT with QT Designer
Organization Riverbank Computing Limited
References <1900623.ob0ITRdHWt@tannhaus-pc> <mailman.124.1377160367.19984.python-list@python.org> <8f9d0148-fda3-4139-ab45-a8be6da8320f@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.153.1377243588.19984.python-list@python.org> (permalink)

Show all headers | 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