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.
Qt Code:
  1. main( ... )
  2. {
  3. ..
  4.  
  5. QMainWindow mainWindow ;// main application window
  6.  
  7. CustomCentralWidget centralWindow ;// window containing all of the dockWidgets
  8.  
  9. mainWindow.setCentralWidget(centralWindow );
  10.  
  11. ...
  12. }
To copy to clipboard, switch view to plain text mode