Skip to content
Permalink
Browse files

Some UI improvements

* Add tooltips for configuration options
* Add an icon for the digitizing section
  • Loading branch information
m-kuhn committed Aug 21, 2018
1 parent d77906a commit 2cd1c6c2e4baf9b3c33b26bd9484eba39c0a9f4e
Showing with 14 additions and 1 deletion.
  1. +14 −1 src/ui/qgsvectorlayerpropertiesbase.ui
@@ -75,6 +75,9 @@
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<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>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
@@ -310,6 +313,10 @@
<property name="text">
<string>Digitizing</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/propertyicons/digitizing.svg</normaloff>:/images/themes/default/propertyicons/digitizing.svg</iconset>
</property>
</item>
</widget>
</item>
@@ -2346,13 +2353,19 @@ border-radius: 2px;</string>
<layout class="QFormLayout" name="formLayout">
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="toolTip">
<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>
</property>
<property name="text">
<string>Geometry precision</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="mGeometryPrecisionSpinBox">
<property name="toolTip">
<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>
</property>
<property name="specialValueText">
<string>[Disabled]</string>
</property>
@@ -2361,7 +2374,7 @@ border-radius: 2px;</string>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="mRemoveDuplicateVerticeCheckbox">
<property name="text">
<string>Remove duplicate vertices</string>
<string>Remove duplicate nodes</string>
</property>
</widget>
</item>

0 comments on commit 2cd1c6c

Please sign in to comment.
You can’t perform that action at this time.