summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/Whiteboard/GView.h')
-rw-r--r--Swift/QtUI/Whiteboard/GView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/Whiteboard/GView.h b/Swift/QtUI/Whiteboard/GView.h
index f219929..f0d4fef 100644
--- a/Swift/QtUI/Whiteboard/GView.h
+++ b/Swift/QtUI/Whiteboard/GView.h
@@ -21,7 +21,7 @@ namespace Swift {
Q_OBJECT;
public:
enum Mode { Rubber, Line, Rect, Circle, HandLine, FilledHandLine, Text, Polygon, Select };
- enum Type { New, Update };
+ enum Type { New, Update, MoveUp, MoveDown };
GView(QGraphicsScene* scene, QWidget* parent = 0);
void setLineWidth(int i);
void setLineColor(QColor color);
@@ -38,6 +38,7 @@ namespace Swift {
QGraphicsItem* getItem(QString id);
void deleteItem(QString id);
QString getNewID();
+ void move(QGraphicsItem* item, int npos);
public slots:
void moveUpSelectedItem();