Added part selection button icon.

This commit is contained in:
Leonardo Zide 2019-12-11 17:26:18 -08:00
parent 67d2c5b334
commit ca53610637
3 changed files with 3 additions and 1 deletions

View file

@ -694,7 +694,8 @@ lcPartSelectionWidget::lcPartSelectionWidget(QWidget* Parent)
SearchLayout->addWidget(mFilterWidget); SearchLayout->addWidget(mFilterWidget);
QToolButton* OptionsButton = new QToolButton(); QToolButton* OptionsButton = new QToolButton();
OptionsButton->setText("TEMP"); OptionsButton->setIcon(QIcon(":/resources/gear_in.png"));
OptionsButton->setToolTip(tr("Options"));
OptionsButton->setPopupMode(QToolButton::InstantPopup); OptionsButton->setPopupMode(QToolButton::InstantPopup);
SearchLayout->addWidget(OptionsButton); SearchLayout->addWidget(OptionsButton);

View file

@ -112,5 +112,6 @@
<file>resources/shaders/unlit_vertex_color_vs.glsl</file> <file>resources/shaders/unlit_vertex_color_vs.glsl</file>
<file>resources/shaders/unlit_view_sphere_ps.glsl</file> <file>resources/shaders/unlit_view_sphere_ps.glsl</file>
<file>resources/shaders/unlit_view_sphere_vs.glsl</file> <file>resources/shaders/unlit_view_sphere_vs.glsl</file>
<file>resources/gear_in.png</file>
</qresource> </qresource>
</RCC> </RCC>

BIN
resources/gear_in.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB