Skip to content

Commit

Permalink
Some UI improvements
Browse files Browse the repository at this point in the history
* 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 2cd1c6c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/ui/qgsvectorlayerpropertiesbase.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 2cd1c6c

Please sign in to comment.