开发者

qt - How to override dragMoveEvent in QGraphicsScene with the same functionality

开发者 https://www.devze.com 2023-01-03 20:14 出处:网络
I derived a class from QGraphicsScene. Then I overrided the dragMoveEvent. But now I cant move 开发者_运维技巧any items in my QGraphicsScene. Somebody please help me to create the dragging movement.II

I derived a class from QGraphicsScene. Then I overrided the dragMoveEvent. But now I cant move 开发者_运维技巧any items in my QGraphicsScene. Somebody please help me to create the dragging movement.


IIRC you can call directly call the overridden method by QGraphicsScene::dragMoveEvent from your own function.

0

精彩评论

暂无评论...
验证码 换一张
取 消