From ca5361063746cc96975e834821f33750a829d50f Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Wed, 11 Dec 2019 17:26:18 -0800 Subject: [PATCH] Added part selection button icon. --- common/lc_partselectionwidget.cpp | 3 ++- leocad.qrc | 1 + resources/gear_in.png | Bin 0 -> 2171 bytes 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 resources/gear_in.png diff --git a/common/lc_partselectionwidget.cpp b/common/lc_partselectionwidget.cpp index 4648e164..84067d79 100644 --- a/common/lc_partselectionwidget.cpp +++ b/common/lc_partselectionwidget.cpp @@ -694,7 +694,8 @@ lcPartSelectionWidget::lcPartSelectionWidget(QWidget* Parent) SearchLayout->addWidget(mFilterWidget); QToolButton* OptionsButton = new QToolButton(); - OptionsButton->setText("TEMP"); + OptionsButton->setIcon(QIcon(":/resources/gear_in.png")); + OptionsButton->setToolTip(tr("Options")); OptionsButton->setPopupMode(QToolButton::InstantPopup); SearchLayout->addWidget(OptionsButton); diff --git a/leocad.qrc b/leocad.qrc index c63c6bca..9bc17df2 100644 --- a/leocad.qrc +++ b/leocad.qrc @@ -112,5 +112,6 @@ resources/shaders/unlit_vertex_color_vs.glsl resources/shaders/unlit_view_sphere_ps.glsl resources/shaders/unlit_view_sphere_vs.glsl + resources/gear_in.png diff --git a/resources/gear_in.png b/resources/gear_in.png new file mode 100755 index 0000000000000000000000000000000000000000..ace46d88be42c2f0e44964ccff550512c1d7b3f2 GIT binary patch literal 2171 zcmV->2!!{EP)ACf?XB*=~+ z;>a37rApW=TIGx)rCOjf)}HZr+Nm=xbeyVPMjc069oH(*si#gCyUbCjGo=-0L;+bs zpn!(3jD`q^vIPi9$Vwn{-{0SsGiNA8I{!KMyuAC~```WV{qA>fSn$6e&WTfJ3PmE} z8ol12-Sx^2Z`6&VIGuVYr_asJRXjYbyZY*`?59y@hZ#KVN%YPRhhxnze~|?ukx0CI z@9X3uii~7V^kkjvgBd=P8Q?TDG<5y8q7kAONi$$cGoJ@$ixt%O+G)Ksb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