PDA

View Full Version : Adding layouts to QStackedLayout



Scraggy
7th November 2008, 18:39
Can anyone tell me how to add a Layout manager as a child of a QStackedLayout?

h123
8th November 2008, 04:13
addChildLayout ( QLayout * )

Scraggy
10th November 2008, 19:23
Only problem with that member function is that it is protected. Are there any ways of adding the layouts using public functions?

Scraggy
10th November 2008, 20:01
np. seems I have to wrap the layout in a QWidget, calling setLayout(layout)