summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-07-31 09:56:01 (GMT)
committerMateusz Piekos <mateuszpiekos@gmail.com>2012-07-31 09:56:01 (GMT)
commit10c32b6e6ae334b5ad5280da6e526609e0e9370a (patch)
treed9b245724a4856148aa50854673c0b316803f0b1 /Swift/QtUI/Whiteboard/GView.h
parent4321da432e3332e868abf07678f15d305fec2a4b (diff)
downloadswift-contrib-10c32b6e6ae334b5ad5280da6e526609e0e9370a.zip
swift-contrib-10c32b6e6ae334b5ad5280da6e526609e0e9370a.tar.bz2
Added removing of selection rect of items modified by other party
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 f0d4fef..8f3fdeb 100644
--- a/Swift/QtUI/Whiteboard/GView.h
+++ b/Swift/QtUI/Whiteboard/GView.h
@@ -39,6 +39,7 @@ namespace Swift {
void deleteItem(QString id);
QString getNewID();
void move(QGraphicsItem* item, int npos);
+ void deselect(QString id);
public slots:
void moveUpSelectedItem();
@@ -49,7 +50,7 @@ namespace Swift {
private:
void changePenAndBrush(QGraphicsItem* item, QPen pen, QBrush brush);
void setActualPenAndBrushFromItem(QGraphicsItem* item);
- void unselect();
+ void deselect();
int zValue;
bool mousePressed;