Qt 6.11 is out! See what's new in the release
blog
Subclassing (promoting) non-QWidget in Designer
Qt Creator and other tools
2
Posts
2
Posters
1.8k
Views
1
Watching
-
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.)
-
There is no way to subclass a QLayout in designer. You need real code for that.