Drag from grave/rfg implemented

This commit is contained in:
Max-Wilhelm Bruker 2009-04-03 14:50:06 +02:00
parent 05e7b42193
commit 16631712c7
4 changed files with 76 additions and 0 deletions

View file

@ -12,6 +12,10 @@ public:
void addCard(CardItem *card, bool reorganize = true, int x = 0, int y = -1);
void reorganizeCards();
void handleDropEvent(int cardId, CardZone *startZone, const QPoint &dropPoint);
protected:
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
};
#endif