Multiwindow docking in Qt
Unsolved
General and Desktop
-
Hi,
I have used QDockWidget and added multiple docking window. If i float one of the dock window and add remaining dock window inside newly docked window then how to achieve that ?
Below are what is expected.
- Add mainwindow and multiple dock widgets inside mainwindow.
- Dock (float) one window from mainwindow .
- Drag one of dockwidget from mainwindow and drop into float window in step 2.
Can you please suggest how to implement or demo example for rederence.
-
Hi and welcome to devnet,
Just to be sure I understand correctly: you want to dock a QDockWidget inside a floating QDockWidget. Is that correct ?
-
Yes. You are correct.
-
Then it's something you'll have to do by hand. The stacking of QDockWidget in QMainWindow is handled by the custom layout from QMainWindow.
-
Thanks. I will check and update the thread.