Skip to content

Commit 2cd1c6c

Browse files
committed
Some UI improvements
* Add tooltips for configuration options * Add an icon for the digitizing section
1 parent d77906a commit 2cd1c6c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/ui/qgsvectorlayerpropertiesbase.ui

+14-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
<height>16777215</height>
7676
</size>
7777
</property>
78+
<property name="toolTip">
79+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If the remove duplicate nodes option is activated, duplicate vertices will automatically be removed from geometries which are edited on this layer.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
80+
</property>
7881
<property name="horizontalScrollBarPolicy">
7982
<enum>Qt::ScrollBarAlwaysOff</enum>
8083
</property>
@@ -310,6 +313,10 @@
310313
<property name="text">
311314
<string>Digitizing</string>
312315
</property>
316+
<property name="icon">
317+
<iconset resource="../../images/images.qrc">
318+
<normaloff>:/images/themes/default/propertyicons/digitizing.svg</normaloff>:/images/themes/default/propertyicons/digitizing.svg</iconset>
319+
</property>
313320
</item>
314321
</widget>
315322
</item>
@@ -2346,13 +2353,19 @@ border-radius: 2px;</string>
23462353
<layout class="QFormLayout" name="formLayout">
23472354
<item row="1" column="0">
23482355
<widget class="QLabel" name="label">
2356+
<property name="toolTip">
2357+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The geometry precision defines the maximum precision to of geometry coordinates that should be stored on this layer. A snap to grid algorithm will be applied on every geometry entering this layer, resulting in coordinates being rounded to multiples of this value. The operation is applied in this layer's coordinate reference system.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2358+
</property>
23492359
<property name="text">
23502360
<string>Geometry precision</string>
23512361
</property>
23522362
</widget>
23532363
</item>
23542364
<item row="1" column="1">
23552365
<widget class="QDoubleSpinBox" name="mGeometryPrecisionSpinBox">
2366+
<property name="toolTip">
2367+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The geometry precision defines the maximum precision to of geometry coordinates that should be stored on this layer. A snap to grid algorithm will be applied on every geometry entering this layer, resulting in coordinates being rounded to multiples of this value. The operation is applied in this layer's coordinate reference system.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2368+
</property>
23562369
<property name="specialValueText">
23572370
<string>[Disabled]</string>
23582371
</property>
@@ -2361,7 +2374,7 @@ border-radius: 2px;</string>
23612374
<item row="0" column="0" colspan="2">
23622375
<widget class="QCheckBox" name="mRemoveDuplicateVerticeCheckbox">
23632376
<property name="text">
2364-
<string>Remove duplicate vertices</string>
2377+
<string>Remove duplicate nodes</string>
23652378
</property>
23662379
</widget>
23672380
</item>

0 commit comments

Comments
 (0)