Yes I enabled drop support by function setAcceptDrops(true).
I saw example with Robot earlier but I don't understand a little this example...
if I have wrote function dropEvent it I must have also function dragEvent ? or only need to have set flag (QGraphicsItem::ItemIsMovable) ?
Maybe someone has another example similar to Robot but that elements graphics were load to type QGraphicsItem?




Reply With Quote




Bookmarks