C
C
CaskaProVid2020-05-08 14:48:46
Qt
CaskaProVid, 2020-05-08 14:48:46

What class to use to layout widgets within themselves?

5eb547183d4ec119480269.jpeg
I need to make nesting like in the picture.
For 3, I use QGridLayout, just add some widgets (SpinBox) without problems, but nesting is needed.

Which is better to use for containers 1 and 2?
In 1, I will just have spinboxes vertically, I tried to add another QGridLayout to QGridLayout, but it stupidly stretches, QMdiArea is simply not displayed after adding.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2020-05-08
@CaskaProVid

Use VerticalLayout and HorizontalLayout in the combinations you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question