Skip to content

Commit b4b7017

Browse files
committed
Add tooltips to advanced digitizing dock
1 parent 307b1b9 commit b4b7017

File tree

1 file changed

+45
-35
lines changed

1 file changed

+45
-35
lines changed

src/ui/qgsadvanceddigitizingdockwidgetbase.ui

Lines changed: 45 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,7 @@
4545
<item>
4646
<widget class="QWidget" name="mCadWidget" native="true">
4747
<layout class="QVBoxLayout" name="verticalLayout">
48-
<property name="leftMargin">
49-
<number>0</number>
50-
</property>
51-
<property name="topMargin">
52-
<number>0</number>
53-
</property>
54-
<property name="rightMargin">
55-
<number>0</number>
56-
</property>
57-
<property name="bottomMargin">
48+
<property name="margin">
5849
<number>0</number>
5950
</property>
6051
<item>
@@ -87,16 +78,7 @@
8778
</sizepolicy>
8879
</property>
8980
<layout class="QGridLayout" name="gridLayout_2">
90-
<property name="leftMargin">
91-
<number>0</number>
92-
</property>
93-
<property name="topMargin">
94-
<number>0</number>
95-
</property>
96-
<property name="rightMargin">
97-
<number>0</number>
98-
</property>
99-
<property name="bottomMargin">
81+
<property name="margin">
10082
<number>0</number>
10183
</property>
10284
<property name="spacing">
@@ -206,29 +188,31 @@
206188
<item>
207189
<widget class="QWidget" name="mInputWidgets" native="true">
208190
<layout class="QGridLayout" name="mInputLayout">
209-
<property name="leftMargin">
210-
<number>0</number>
211-
</property>
212-
<property name="topMargin">
213-
<number>0</number>
214-
</property>
215-
<property name="rightMargin">
216-
<number>0</number>
217-
</property>
218-
<property name="bottomMargin">
191+
<property name="margin">
219192
<number>0</number>
220193
</property>
221194
<property name="spacing">
222195
<number>3</number>
223196
</property>
224197
<item row="2" column="2">
225-
<widget class="QLineEdit" name="mXLineEdit"/>
198+
<widget class="QLineEdit" name="mXLineEdit">
199+
<property name="toolTip">
200+
<string>X coordinate</string>
201+
</property>
202+
</widget>
226203
</item>
227204
<item row="0" column="2">
228-
<widget class="QLineEdit" name="mDistanceLineEdit"/>
205+
<widget class="QLineEdit" name="mDistanceLineEdit">
206+
<property name="toolTip">
207+
<string>Distance</string>
208+
</property>
209+
</widget>
229210
</item>
230211
<item row="0" column="3">
231212
<widget class="QToolButton" name="mLockDistanceButton">
213+
<property name="toolTip">
214+
<string>Lock distance</string>
215+
</property>
232216
<property name="text">
233217
<string>...</string>
234218
</property>
@@ -243,6 +227,9 @@
243227
</item>
244228
<item row="1" column="3">
245229
<widget class="QToolButton" name="mLockAngleButton">
230+
<property name="toolTip">
231+
<string>Lock angle</string>
232+
</property>
246233
<property name="text">
247234
<string>...</string>
248235
</property>
@@ -257,6 +244,9 @@
257244
</item>
258245
<item row="3" column="3">
259246
<widget class="QToolButton" name="mLockYButton">
247+
<property name="toolTip">
248+
<string>Lock y coordinate</string>
249+
</property>
260250
<property name="text">
261251
<string>...</string>
262252
</property>
@@ -278,6 +268,9 @@
278268
</item>
279269
<item row="3" column="0">
280270
<widget class="QToolButton" name="mRelativeYButton">
271+
<property name="toolTip">
272+
<string>Toggles relative y to previous node</string>
273+
</property>
281274
<property name="text">
282275
<string>...</string>
283276
</property>
@@ -298,7 +291,11 @@
298291
</widget>
299292
</item>
300293
<item row="1" column="2">
301-
<widget class="QLineEdit" name="mAngleLineEdit"/>
294+
<widget class="QLineEdit" name="mAngleLineEdit">
295+
<property name="toolTip">
296+
<string>Angle</string>
297+
</property>
298+
</widget>
302299
</item>
303300
<item row="2" column="1">
304301
<widget class="QLabel" name="label_3">
@@ -308,10 +305,17 @@
308305
</widget>
309306
</item>
310307
<item row="3" column="2">
311-
<widget class="QLineEdit" name="mYLineEdit"/>
308+
<widget class="QLineEdit" name="mYLineEdit">
309+
<property name="toolTip">
310+
<string>Y coordinate</string>
311+
</property>
312+
</widget>
312313
</item>
313314
<item row="2" column="0">
314315
<widget class="QToolButton" name="mRelativeXButton">
316+
<property name="toolTip">
317+
<string>Toggles relative x to previous node</string>
318+
</property>
315319
<property name="text">
316320
<string>...</string>
317321
</property>
@@ -333,6 +337,9 @@
333337
</item>
334338
<item row="2" column="3">
335339
<widget class="QToolButton" name="mLockXButton">
340+
<property name="toolTip">
341+
<string>Lock x coordinate</string>
342+
</property>
336343
<property name="text">
337344
<string>...</string>
338345
</property>
@@ -347,6 +354,9 @@
347354
</item>
348355
<item row="1" column="0">
349356
<widget class="QToolButton" name="mRelativeAngleButton">
357+
<property name="toolTip">
358+
<string>Toggles relative angle to previous segment</string>
359+
</property>
350360
<property name="text">
351361
<string>...</string>
352362
</property>
@@ -405,8 +415,8 @@
405415
<tabstop>mLockYButton</tabstop>
406416
</tabstops>
407417
<resources>
408-
<include location="../../images/images.qrc"/>
409418
<include location="../plugins/georeferencer/georeferencer.qrc"/>
419+
<include location="../../images/images.qrc"/>
410420
</resources>
411421
<connections/>
412422
</ui>

0 commit comments

Comments
 (0)