Drag and drop widgets in QSplitter
Unsolved
General and Desktop
-
wrote on 19 Sept 2018, 07:05 last edited by
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.
-
Hi,
Do you have "container" widgets that you want to drop on ?
-
wrote on 20 Sept 2018, 06:44 last edited by
yes
I have QMainwindow -
I meant: does your QSplitter instance contain "empty widgets" that you drop on ?
-
wrote on 21 Sept 2018, 04:30 last edited by
yes, I have an empty mainwindow in splitter
-
@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.
1/6