I'd love to see something that discusses each layout parameter, both in QtCreator and from code (e.g, setting sizeHint in QtCreator is done using several other parameters (I think)).
Some have...
The QLabel and it's containing QFrame are definitely shrinking and expanding as other widgets in the same verticalLayout are hidden and shown.
I know this, because the font size used in the QLabel...
AFAIK, the layout's policies take precedence over the widgets inside it. The layout will try to honor the widgets' minimum size and size hints and size policy, but i suppose if you externally...
d_stranz Today, 18:16I've been using QtCreator for some time, but I have to admit, I really don't understand all the parameters that can be used in a layout.
For example, I have a vertical layout with three QFrames. ...
Sorry, I misread your original post as saying the event was not called at all.
QLabel and similar widgets have a preferred size and a size policy. They won't necessarily grow or shrink if the...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
Displaying Widgets on multiple, virtual displays (headless rpi)
29th January 2023 17:19 by davethomaspilot