I guess you've got to greate a top-level QMainWindow and a custom QWidget containing couple of QMainWindows . Once you have it , add your dockWidgets for each : with Qt::LeftDockWidgetArea and Qt::RightDockWidgetArea options for the one , and Qt::BottomDockWidgetArea for the other . Don't forget to place these mainWindows in the layout. Once you have this widget , set it as a central in the top-level QMainWindow.
main( ... )
{
..
CustomCentralWidget centralWindow ;// window containing all of the dockWidgets
mainWindow.setCentralWidget(centralWindow );
...
}
main( ... )
{
..
QMainWindow mainWindow ;// main application window
CustomCentralWidget centralWindow ;// window containing all of the dockWidgets
mainWindow.setCentralWidget(centralWindow );
...
}
To copy to clipboard, switch view to plain text mode
Bookmarks