diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-08-09 16:17:02 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-08-09 16:17:02 (GMT) |
commit | 7316162e0d809816b276512b50a1d6585265f959 (patch) | |
tree | c478affaf5f9b4fb71345f64783b88e26c6d639f /Swift/QtUI | |
parent | 1e6683a04a71ab00139fcf17fccbccae7b925c48 (diff) | |
download | swift-contrib-7316162e0d809816b276512b50a1d6585265f959.zip swift-contrib-7316162e0d809816b276512b50a1d6585265f959.tar.bz2 |
Added eraser icon
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/Swift.qrc | 1 | ||||
-rw-r--r-- | Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/Swift.qrc b/Swift/QtUI/Swift.qrc index b9de5d6..197361e 100644 --- a/Swift/QtUI/Swift.qrc +++ b/Swift/QtUI/Swift.qrc @@ -26,6 +26,7 @@ <file alias="icons/text.png">../resources/icons/text.png</file> <file alias="icons/polygon.png">../resources/icons/polygon.png</file> <file alias="icons/cursor.png">../resources/icons/cursor.png</file> + <file alias="icons/eraser.png">../resources/icons/eraser.png</file> <file alias="COPYING">../../COPYING</file> </qresource> </RCC> diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp index e6c9889..74c5a5f 100644 --- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp +++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp @@ -58,6 +58,7 @@ namespace Swift { connect(brushColorDialogButton, SIGNAL(clicked()), this, SLOT(showBrushColorDialog())); rubberButton = new QToolButton(this); + rubberButton->setIcon(QIcon(":/icons/eraser.png")); rubberButton->setCheckable(true); rubberButton->setAutoExclusive(true); connect(rubberButton, SIGNAL(clicked()), this, SLOT(setRubberMode())); |