diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-08-06 06:45:58 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-08-06 06:45:58 (GMT) |
commit | 3bd331df2fc2ba7b6b201cd3a5dfda326ffb262d (patch) | |
tree | fb8710c51725e21a0895f7ec604b4f9a2b222108 /Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp | |
parent | 75698ca17add2101fcbeac0e694044307474f924 (diff) | |
download | swift-contrib-3bd331df2fc2ba7b6b201cd3a5dfda326ffb262d.zip swift-contrib-3bd331df2fc2ba7b6b201cd3a5dfda326ffb262d.tar.bz2 |
Removed useless filledhandline icon
Diffstat (limited to 'Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp')
-rw-r--r-- | Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp index 2f7d544..ddbbd5c 100644 --- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp +++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp @@ -88,12 +88,6 @@ namespace Swift { handLineButton->setAutoExclusive(true); connect(handLineButton, SIGNAL(clicked()), this, SLOT(setHandLineMode())); - filledHandLineButton = new QToolButton(this); - filledHandLineButton->setIcon(QIcon(":/icons/filledHandline.png")); - filledHandLineButton->setCheckable(true); - filledHandLineButton->setAutoExclusive(true); - connect(filledHandLineButton, SIGNAL(clicked()), this, SLOT(setFilledHandLineMode())); - textButton = new QToolButton(this); textButton->setIcon(QIcon(":/icons/text.png")); textButton->setCheckable(true); @@ -113,14 +107,14 @@ namespace Swift { connect(selectButton, SIGNAL(clicked()), this, SLOT(setSelectMode())); toolboxLayout->addWidget(rubberButton, 0, 0); - toolboxLayout->addWidget(lineButton, 0, 1); - toolboxLayout->addWidget(rectButton, 0, 2); + toolboxLayout->addWidget(selectButton, 0, 1); + toolboxLayout->addWidget(lineButton, 0, 2); toolboxLayout->addWidget(circleButton, 1, 0); toolboxLayout->addWidget(handLineButton, 1, 1); - toolboxLayout->addWidget(filledHandLineButton, 1, 2); + toolboxLayout->addWidget(rectButton, 1, 2); toolboxLayout->addWidget(textButton, 2, 0); toolboxLayout->addWidget(polygonButton, 2, 1); - toolboxLayout->addWidget(selectButton, 2, 2); + sidebarLayout->addLayout(toolboxLayout); sidebarLayout->addWidget(moveUpButton); @@ -202,11 +196,6 @@ namespace Swift { graphicsView->setMode(GView::HandLine); } - void QtWhiteboardWindow::setFilledHandLineMode() - { - graphicsView->setMode(GView::FilledHandLine); - } - void QtWhiteboardWindow::setTextMode() { graphicsView->setMode(GView::Text); |