equal
deleted
inserted
replaced
|
1 #ifndef DRAWMAPSCENE_H |
|
2 #define DRAWMAPSCENE_H |
|
3 |
|
4 #include <QGraphicsScene> |
|
5 |
|
6 class DrawMapScene : public QGraphicsScene |
|
7 { |
|
8 Q_OBJECT |
|
9 public: |
|
10 explicit DrawMapScene(QObject *parent = 0); |
|
11 |
|
12 signals: |
|
13 |
|
14 public slots: |
|
15 |
|
16 private: |
|
17 virtual void mouseMoveEvent(QGraphicsSceneMouseEvent * mouseEvent); |
|
18 virtual void mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent); |
|
19 virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent * mouseEvent); |
|
20 }; |
|
21 |
|
22 #endif // DRAWMAPSCENE_H |