Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Drag from treewidget and dropping in graphicsview.



  • Hello,
    I have Tree Widget with multiple root nodes and each root has children nodes.
    I have GraphicsView in the same window. I am playing video in graphics view, by graphicsview->setviewport(some video widget);
    Now I want to drag children nodes to graphics view so that children converts to video widget and drops in graphicsview and played.

    I saw examples given in Qt creator 5.5, But they are much confusing. Are there any simple codes or examples that let me do these things?

    Thanks in advance.


  • Lifetime Qt Champion

    Hi,

    Which example(s) do you find confusing ?


Log in to reply