How to go about creating drag/drop tabs?
-
I am trying to create an IDE feature (like Eclipse or any other IDE for example) that has files in multiple tabs and each of those tabs supports drag and drop. Each widget can be dragged outside the app and it can be brought in to dock to whatever is the closest. I wouldn't have files inside the tabs, but once you get there, it would be easy to make it any way you need it.
I have been trying different things using QTabWidget with QDockWIdget and even attempted to use MDI widgets, but I couldn't create anything that woks the way most other IDEs do.
Would I have to create my own tab widget (perhaps starting with the original QTabWidget itself and go from there) that would be able to do these actions or there are some ways to create this using standard Qt widgets.
Any idea here would be welcome!