Using PyQT with QT Designer

Phil Thompson phil at riverbankcomputing.com
Fri Aug 23 03:39:39 EDT 2013


On Thu, 22 Aug 2013 18:08:14 -0700 (PDT), tausciam at 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



More information about the Python-list mailing list