summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-10-31 12:23:11 (GMT)
committerSwift Review <review@swift.im>2014-10-31 14:11:26 (GMT)
commit0ae300e79f0a72abb42aafd2bc5b85e37fd26557 (patch)
tree6193059aa8cca83d6a1a6123c7b7e7f76a2591a4
parent0dfdaad6e7cd45cb8b233acb3c453bf800966d8e (diff)
downloadswift-0ae300e79f0a72abb42aafd2bc5b85e37fd26557.zip
swift-0ae300e79f0a72abb42aafd2bc5b85e37fd26557.tar.bz2
Fix source code layout.
Change-Id: I5042943377bbb09bc46b416975f546e011c313ee
-rw-r--r--Swift/QtUI/Whiteboard/GView.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/Swift/QtUI/Whiteboard/GView.h b/Swift/QtUI/Whiteboard/GView.h
index 6a4fd2f..bc64589 100644
--- a/Swift/QtUI/Whiteboard/GView.h
+++ b/Swift/QtUI/Whiteboard/GView.h
@@ -40,12 +40,20 @@ namespace Swift {
void move(QGraphicsItem* item, int npos);
void deselect(QString id);
+ signals:
+ void lastItemChanged(QGraphicsItem* item, int pos, GView::Type type);
+ void itemDeleted(QString id, int pos);
+ void lineWidthChanged(int i);
+ void lineColorChanged(QColor color);
+ void brushColorChanged(QColor color);
+
public slots:
void moveUpSelectedItem();
void moveDownSelectedItem();
private slots:
void handleTextItemModified(QGraphicsTextItem*);
+
private:
void changePenAndBrush(QGraphicsItem* item, QPen pen, QBrush brush);
void setActualPenAndBrushFromItem(QGraphicsItem* item);
@@ -64,12 +72,5 @@ namespace Swift {
QMap<QString, QGraphicsItem*> itemsMap_;
QList<QGraphicsItem*> items_;
IDGenerator idGenerator;
-
- signals:
- void lastItemChanged(QGraphicsItem* item, int pos, GView::Type type);
- void itemDeleted(QString id, int pos);
- void lineWidthChanged(int i);
- void lineColorChanged(QColor color);
- void brushColorChanged(QColor color);
};
}