Frage

I need to drag from a QListWidget or something similar and drop on a QGraphicsScene, and create a subclass of QGraphicsItem at the drop location. Anyone have any ideas? I'm using Qt 4.6.3.

War es hilfreich?

Lösung

The Drag and Drop Puzzle example seems to do what you are looking for: https://doc.qt.io/archives/4.6/draganddrop-puzzle.html

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top