...
No Format | ||||
---|---|---|---|---|
| ||||
set w [qwidget] qsetwindowtitle "Nested QHBoxLayout" qhboxlayout { qlabel "Label 1" # Add two vertically positioned labels between "Label 1" and "Label 2" qaddvboxlayout { qlabel "Inner label 1" qlabel "Inner label 2" } qlabel "Label 2" } qshow $w |
Example #Nested Nested Layout shows a QVBoxLayout nested inside a QHBoxLayout.