On 2023-04-02 9:09 a.m., Dietmar Schwertberger wrote:
> That's what I hated with Qt Designer: it does not output Python code
> but a .ui file.
> This was the point where I could not recommend it to anyone.
Well the thing is you don't need to generate Python code at all. Qt
provides a UI loader class that loads the UI file at run time, builds
the objects in memory, and connects all your signals for you. So much
nicer than code generation.
--
https://mail.python.org/mailman/listinfo/python-list
> That's what I hated with Qt Designer: it does not output Python code
> but a .ui file.
> This was the point where I could not recommend it to anyone.
Well the thing is you don't need to generate Python code at all. Qt
provides a UI loader class that loads the UI file at run time, builds
the objects in memory, and connects all your signals for you. So much
nicer than code generation.
--
https://mail.python.org/mailman/listinfo/python-list