PDA

View Full Version : cascadeSubWindows() and MDI



b1
24th October 2008, 04:59
G'Day all,

I have a small problem with getting an MDI to cascade the subwindows. Everything else in the program works except the cascading of the subwindows.

Here is the relevant code I have used:



workspace = new QMdiArea;
setCentralWidget(workspace);
workspace->setActivationOrder(QMdiArea::StackingOrder);
workspace->cascadeSubWindows();



Any thoughts would be greatly appreciated,

Regards, B1.