Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Subclassing (promoting) non-QWidget in Designer
ddunham last edited by
We've been using Qt Designer. It's likely we will want to subclass QLayout to do some specialized layout (hiding child widgets). I don't see a way to do this in Designer.
Also, we may want to have a custom spacer, that has the right size on either Mac or Windows. Is that possible as well?
(It's easy to promote a QWidget, but these guys aren't QWidgets.)
Duck last edited by
There is no way to subclass a QLayout in designer. You need real code for that.