Re:A Book about Qt5
by blattimwind on Monday March 04, 2019 @04:55AM
(#19300048)
You never had to do that. You can load Qt Designer XML files at runtime with neglible performance impact.
[ Parent
| on HN ]
I still like to use pyuic so that the IDE will pick up the generated file and suggest widget names while you’re editing the subclass. Otherwise you’re a bit blind.
It’s trivial to add pyuic as an external tool in most iDEs anyway.
Re:A Book about Qt5
by blattimwind on Monday March 04, 2019 @11:06AM
(#19302252)
Good point, though I personally don't work through self.ui but rather prefer loading into the class itself. Then I just put type annotations of the widgets in the class.