Skip to content

Commit 2f49329

Browse files
committedAug 7, 2017
Use +/- icons instead of text
1 parent 419bdde commit 2f49329

File tree

1 file changed

+66
-8
lines changed

1 file changed

+66
-8
lines changed
 

‎src/ui/layout/qgslayoutguidewidgetbase.ui

Lines changed: 66 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,51 @@
8686
<property name="collapsed" stdset="0">
8787
<bool>false</bool>
8888
</property>
89-
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0">
89+
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0">
9090
<item row="1" column="0">
9191
<widget class="QPushButton" name="mAddHozGuideButton">
92+
<property name="toolTip">
93+
<string>Add new guide</string>
94+
</property>
9295
<property name="text">
93-
<string>Add</string>
96+
<string/>
97+
</property>
98+
<property name="icon">
99+
<iconset>
100+
<normalon>:/images/themes/default/symbologyAdd.svg</normalon>
101+
</iconset>
94102
</property>
95103
</widget>
96104
</item>
97105
<item row="1" column="1">
98106
<widget class="QPushButton" name="mDeleteHozGuideButton">
107+
<property name="toolTip">
108+
<string>Remove selected guide</string>
109+
</property>
99110
<property name="text">
100-
<string>Delete</string>
111+
<string/>
112+
</property>
113+
<property name="icon">
114+
<iconset>
115+
<normalon>:/images/themes/default/symbologyRemove.svg</normalon>
116+
</iconset>
101117
</property>
102118
</widget>
103119
</item>
104-
<item row="0" column="0" colspan="2">
120+
<item row="1" column="2">
121+
<spacer name="horizontalSpacer">
122+
<property name="orientation">
123+
<enum>Qt::Horizontal</enum>
124+
</property>
125+
<property name="sizeHint" stdset="0">
126+
<size>
127+
<width>40</width>
128+
<height>20</height>
129+
</size>
130+
</property>
131+
</spacer>
132+
</item>
133+
<item row="0" column="0" colspan="3">
105134
<widget class="QTableView" name="mHozGuidesTableView">
106135
<property name="minimumSize">
107136
<size>
@@ -149,22 +178,51 @@
149178
<property name="collapsed" stdset="0">
150179
<bool>false</bool>
151180
</property>
152-
<layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0">
181+
<layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0,0">
153182
<item row="1" column="0">
154183
<widget class="QPushButton" name="mAddVertGuideButton">
184+
<property name="toolTip">
185+
<string>Add new guide</string>
186+
</property>
155187
<property name="text">
156-
<string>Add</string>
188+
<string/>
189+
</property>
190+
<property name="icon">
191+
<iconset>
192+
<normalon>:/images/themes/default/symbologyAdd.svg</normalon>
193+
</iconset>
157194
</property>
158195
</widget>
159196
</item>
160197
<item row="1" column="1">
161198
<widget class="QPushButton" name="mDeleteVertGuideButton">
199+
<property name="toolTip">
200+
<string>Remove selected guide</string>
201+
</property>
162202
<property name="text">
163-
<string>Delete</string>
203+
<string/>
204+
</property>
205+
<property name="icon">
206+
<iconset>
207+
<normalon>:/images/themes/default/symbologyRemove.svg</normalon>
208+
</iconset>
164209
</property>
165210
</widget>
166211
</item>
167-
<item row="0" column="0" colspan="2">
212+
<item row="1" column="2">
213+
<spacer name="horizontalSpacer_2">
214+
<property name="orientation">
215+
<enum>Qt::Horizontal</enum>
216+
</property>
217+
<property name="sizeHint" stdset="0">
218+
<size>
219+
<width>40</width>
220+
<height>20</height>
221+
</size>
222+
</property>
223+
</spacer>
224+
</item>
225+
<item row="0" column="0" colspan="3">
168226
<widget class="QTableView" name="mVertGuidesTableView">
169227
<property name="minimumSize">
170228
<size>

0 commit comments

Comments
 (0)
Please sign in to comment.