Setting QWidget size

Rich Shepard rshepard at appl-ecosys.com
Thu Apr 22 22:44:47 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 certainly explains it.

> I've changed your code to subclass from QMainWindow, and added a statement
> self.setCentralWidget(container), and it now seem to be doing what you
> want. Please let me know if that's not true.

But, if this modules is to be on a tab on the application's main window do I
want this to be a QMainWindow, too? There's no menu, status bar, icon bar or
other decoration on these tab pages.

Regards,

Rich


More information about the PyQt mailing list