Skip to content

Commit cdc0878

Browse files
DelazJnyalldawson
authored andcommittedMay 11, 2018
Use icon instead of text for Add and Remove buttons
1 parent 3d03cfb commit cdc0878

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed
 

‎src/ui/qgsdatadefinedsizelegendwidget.ui

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,29 @@
7777
<layout class="QHBoxLayout" name="horizontalLayout_2">
7878
<item>
7979
<widget class="QToolButton" name="btnAddClass">
80+
<property name="toolTip">
81+
<string>Add a class</string>
82+
</property>
8083
<property name="text">
81-
<string>Add</string>
84+
<string>...</string>
85+
</property>
86+
<property name="icon">
87+
<iconset resource="../../images/images.qrc">
88+
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset>
8289
</property>
8390
</widget>
8491
</item>
8592
<item>
8693
<widget class="QToolButton" name="btnRemoveClass">
94+
<property name="toolTip">
95+
<string>Remove selected class</string>
96+
</property>
8797
<property name="text">
88-
<string>Remove</string>
98+
<string>...</string>
99+
</property>
100+
<property name="icon">
101+
<iconset resource="../../images/images.qrc">
102+
<normaloff>:/images/themes/default/symbologyRemove.svg</normaloff>:/images/themes/default/symbologyRemove.svg</iconset>
89103
</property>
90104
</widget>
91105
</item>
@@ -174,6 +188,8 @@
174188
<tabstop>cboAlignSymbols</tabstop>
175189
<tabstop>viewLayerTree</tabstop>
176190
</tabstops>
177-
<resources/>
191+
<resources>
192+
<include location="../../images/images.qrc"/>
193+
</resources>
178194
<connections/>
179195
</ui>

0 commit comments

Comments
 (0)
Please sign in to comment.