Here is the structure of a QToolBox :
QToolBox
QWidget
Qwidget
...
I know that I can add a Layout before the Toolbox, in a widget, but can we add a Layout to a QToolBox page or is this impossible as QToolBox is a pre-build widget?
Layout
QToolBox
(Layout?)
QWidget
Layout
QWidget
Is it possible to add a Layout where I put the (Layout?)
?
Is there any manner that a widget in a toolbox can be layout to the entire toolbox?
Layout
QToolBox
Page1 ( widget )
Layout
widget
widget
...
Page2 ( widget )
...
I tried to add a layout in the page using QtDesigner, that is formatting the widgets, and it is working, but what I can't do, is to have the widgets over the entire Page.
So I thought that if I add a Layout between the Toolbox and the page, it would work.
I tried the setLayout()
method of widget, but it wasn't successful