20 #ifndef GRAPHICSVIEW_SCENE_H
21 #define GRAPHICSVIEW_SCENE_H
25 #include <QGraphicsScene>
27 class QGraphicsRectItem;
42 void processRectChanged();
45 void onSceneRectChanged(
const QRectF& theRect );
48 virtual void keyPressEvent( QKeyEvent* );
49 virtual void keyReleaseEvent( QKeyEvent* );
50 virtual void mousePressEvent( QGraphicsSceneMouseEvent* );
51 virtual void mouseMoveEvent( QGraphicsSceneMouseEvent* );
52 virtual void mouseReleaseEvent( QGraphicsSceneMouseEvent* );
53 virtual void mouseDoubleClickEvent( QGraphicsSceneMouseEvent* );
54 virtual void wheelEvent( QGraphicsSceneWheelEvent* );
55 virtual void contextMenuEvent( QGraphicsSceneContextMenuEvent* );
57 virtual void dragEnterEvent( QGraphicsSceneDragDropEvent* );
58 virtual void dragLeaveEvent( QGraphicsSceneDragDropEvent* );
59 virtual void dragMoveEvent( QGraphicsSceneDragDropEvent* );
60 virtual void dropEvent( QGraphicsSceneDragDropEvent* );
63 void gsKeyEvent( QKeyEvent* );
64 void gsMouseEvent( QGraphicsSceneMouseEvent* );
65 void gsWheelEvent( QGraphicsSceneWheelEvent* );
66 void gsContextMenuEvent( QGraphicsSceneContextMenuEvent* );
68 void gsBoundingRectChanged();