PDA

View Full Version : Second QMainwindow as Central widget of outer QMainWindow.



vaibhav
29th June 2011, 06:20
Hi,
I was required to use second QMainWindow (in the form of a regular widget) as the central widget of outer MainWindow, and the MDI area as the central widget of the second QMainWindow.

This way it would add four toolbar areas around MDI area which is my requirement....Apart from the toolbars of Outer QMainwindow.

Though the application is working fine and I have no idea what the consequences are or how dangerous is it .

IS IT REALLY OK TO HAVE QMAINWINDOW contained inside Another QMAINWINDOW ? .

Any help would be appreciated .

Thanks

nish
29th June 2011, 11:01
Its Ok to have mainwindow inside mainwindow

vaibhav
29th June 2011, 15:45
Thanks a lot.