Unsolved Drag and drop widgets in QSplitter
I am creating an application where I want to drag and drop widgets in another widgets, like
I am having QSplitters, leftSplitter, middleSplitter and rightSplitter.
Each splitters are having QDockwidgets.
When I undock the widgets form leftSplitter, I want to drag it and drop in rightSplitter.
How can I achieve this?
Any leads would be helpful.
SGaist Lifetime Qt Champion last edited by
Do you have "container" widgets that you want to drop on ?
I have QMainwindow
SGaist Lifetime Qt Champion last edited by SGaist
I meant: does your QSplitter instance contain "empty widgets" that you drop on ?
yes, I have an empty mainwindow in splitter
jsulm Lifetime Qt Champion last edited by
@NIXIN You have a QMainWindow inside splitter?! I doubt that. You should have two widgets: for the left side of the splitter and for the right side of the splitter.