Tabbed QMdiArea: Create New Window Via Dragging Tabs
As the title suggest I am working on a QMdiArea which the ViewMode is set to TabbedView. I am using a QTextEdit for the content of each SubWindow for the moment. I have managed to get the tabs to move around on the tab bar using:
What I would like though is to be able to create a new duplicate instance of the MainWindow for the selected tab by dragging a tab outside the window space, just like google chrome or firefox. How can I achieve this using the Qt SDK?