QDockwidget - allow only tabbed docking
I have created one mainwindow and inside it there are multiple dockwidgets.
We have stacked widget with below code.
How to instruct mainwindow so that if any floated dockwidget again drop to mainwindow then it is forcefully adjust with stacked tab ? I mean how to instruct mainwindow so that it only accept drop with stacked tab only - docking area only stacked tab ?
AFAIK, you can limit the docking area in with a dock widget can be docked. However (I may be wrong though) there's no ready made solution to force a specific stack.