Setting QWidget size

Rich Shepard rshepard at appl-ecosys.com
Mon Apr 26 16:56:49 BST 2021


On Thu, 22 Apr 2021, Rodrigo de Salvo Braz wrote:

> It seems your object 'bio' is not being used after creation so it won't
> have an effect.

Rodrigo,

That class will be the content of a QTabWidget page. There will be 6 tabs
each containing widgets for adding and editing one type of data. The weather
tab will be sub-tabbed for site locations, measured parameters, and values
of paramters by date, time, and location.

This is a database application.


> I've changed your code to subclass from QMainWindow,

My understanding is that a QMainWindow is used for the entire application
and that modules containing only widgets are intances of QWidget.

Thanks for your efforts!

Regards,

Rich


More information about the PyQt mailing list