I have some business logic in a subclass of QWidget. I now want to create a new QWidget in which the top level QWidget is promoted to my subclass.
This works for me if the .ui file just has the top level “class” attribute set to my subclass, but is there a way to get that result through Qt Creator? I realize I can insert another QWidget and promote it but I really just want to promote the top level QWidget.
I’m using Qt Creator 3.0.0, by the way.
↧