@ Bitto
Well I already tried what you said.
But I dont need to drag drop items within the same view. I have to move it between one view and another temporary view.
I am attaching a snapshot of the application.
I have a MainWindow derived from QMainWindow. Inside it, I have Frame set as a central widget. This Frame contains two views, and slider/buttons.
What I need is, drag graphic items(Macro's) from Main view to a temporary view. The temporary view is a class in itself, and if this succeeds I will add this to a dockwdiget.
I started a QDrag object when mouse pressed on Macro. But due to this I am not able to move the items within the view. How do i manage automatic drag/drop of items within the view, and drag/drop from one view to another. Items donot move beyond the view.![]()




Reply With Quote
Bookmarks