Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.359 kb
09876e5 @daviddoria First commit.
authored
1 #ifndef DRAGABLERECT_H
2 #define DRAGABLERECT_H
3
4 #include <QtGui>
5 #include <iostream>
6
7 class DragableRect : public QGraphicsRectItem
8 {
9 public:
10 DragableRect();
11
12 protected:
13 void mousePressEvent(QGraphicsSceneMouseEvent *);
14 void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
15 void mouseMoveEvent(QGraphicsSceneMouseEvent *);
16 bool drag;
17 };
18
19 #endif // DRAGABLERECT_H
Something went wrong with that request. Please try again.