diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 547aaeb6e406..ca5027dc0b57 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -549,6 +549,7 @@ StdCmdDrawStyle::StdCmdDrawStyle() sMenuText = QT_TR_NOOP("Draw style"); sToolTipText = QT_TR_NOOP("Draw style"); sStatusTip = QT_TR_NOOP("Draw style"); + sPixmap = "DrawStyleAsIs"; eType = Alter3DView; this->getGuiApplication()->signalActivateView.connect(boost::bind(&StdCmdDrawStyle::updateIcon, this, _1)); @@ -562,14 +563,21 @@ Gui::Action * StdCmdDrawStyle::createAction(void) QAction* a0 = pcAction->addAction(QString()); a0->setCheckable(true); + a0->setIcon(BitmapFactory().pixmap("DrawStyleAsIs")); + a0->setChecked(true); QAction* a1 = pcAction->addAction(QString()); a1->setCheckable(true); + a1->setIcon(BitmapFactory().pixmap("DrawStyleFlatLines")); QAction* a2 = pcAction->addAction(QString()); a2->setCheckable(true); + a2->setIcon(BitmapFactory().pixmap("DrawStyleShaded")); QAction* a3 = pcAction->addAction(QString()); a3->setCheckable(true); + a3->setIcon(BitmapFactory().pixmap("DrawStyleWireFrame")); QAction* a4 = pcAction->addAction(QString()); a4->setCheckable(true); + a4->setIcon(BitmapFactory().pixmap("DrawStylePoints")); + pcAction->setIcon(a0->icon()); _pcAction = pcAction; languageChange(); diff --git a/src/Gui/Icons/DrawStyleAsIs.svg b/src/Gui/Icons/DrawStyleAsIs.svg new file mode 100644 index 000000000000..c66aa61535e5 --- /dev/null +++ b/src/Gui/Icons/DrawStyleAsIs.svg @@ -0,0 +1,281 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/DrawStyleFlatLines.svg b/src/Gui/Icons/DrawStyleFlatLines.svg new file mode 100644 index 000000000000..97931c5bafcc --- /dev/null +++ b/src/Gui/Icons/DrawStyleFlatLines.svg @@ -0,0 +1,265 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/DrawStylePoints.svg b/src/Gui/Icons/DrawStylePoints.svg new file mode 100644 index 000000000000..993dc54acc1d --- /dev/null +++ b/src/Gui/Icons/DrawStylePoints.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/DrawStyleShaded.svg b/src/Gui/Icons/DrawStyleShaded.svg new file mode 100644 index 000000000000..0e9d2caddeac --- /dev/null +++ b/src/Gui/Icons/DrawStyleShaded.svg @@ -0,0 +1,265 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/DrawStyleWireFrame.svg b/src/Gui/Icons/DrawStyleWireFrame.svg new file mode 100644 index 000000000000..f351a870be83 --- /dev/null +++ b/src/Gui/Icons/DrawStyleWireFrame.svg @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/resource.qrc b/src/Gui/Icons/resource.qrc index dc5128f77fa3..f9378563a31c 100644 --- a/src/Gui/Icons/resource.qrc +++ b/src/Gui/Icons/resource.qrc @@ -95,11 +95,16 @@ Part_Measure_Clear_All.svg Part_Measure_Toggle_All.svg spaceball_button.svg - SpNav-PanLR.svg - SpNav-PanUD.svg - SpNav-Roll.svg - SpNav-Spin.svg - SpNav-Tilt.svg - SpNav-Zoom.svg + SpNav-PanLR.png + SpNav-PanUD.png + SpNav-Roll.png + SpNav-Spin.png + SpNav-Tilt.png + SpNav-Zoom.png + DrawStyleAsIs.svg + DrawStyleFlatLines.svg + DrawStylePoints.svg + DrawStyleShaded.svg + DrawStyleWireFrame.svg