PDA

View Full Version : MDI windows without QWorkspace



Big Duck
16th June 2006, 16:23
Hi,
My app requires multiple windows like in the MDI example. However these I would like to be placed freely on the desktop, i.e. not within the workspace.

All the QWorkspace functionality such as tile/cascade/ windowactivated etc is exactly what i need but without the limit of windows in the workspace.

Does this mean I will have to re invent the wheel and implement my own windows handling.
Such as :
a list / vector of new windows,
using window clicked on the child widget to trigger event to mainwindow - to let it know which window is focussed?
Functions to tile windows and resize / move them.
etc..

Any ideas using QWorkspace or making my own design?

wysota
16th June 2006, 16:54
Most of the functionality you want is already present in QApplication, so I suggest you take a closer look at it.

Big Duck
16th June 2006, 17:15
thanks for the pointer to QApplication! It's easy to get lost with Qt sometimes and not see the bigger picture.