Skip to content

Commit

Permalink
Use a meaningful name for label widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 22, 2021
1 parent b3c5cf8 commit d652046
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions src/ui/callouts/widget_ballooncallout.ui
Expand Up @@ -45,14 +45,14 @@
<widget class="QgsBlendModeComboBox" name="mCalloutBlendComboBox"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_18">
<widget class="QLabel" name="mCalloutBlendModeLbl">
<property name="text">
<string>Blend mode</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_47">
<widget class="QLabel" name="mWedgeWidthLbl">
<property name="text">
<string>Wedge width</string>
</property>
Expand Down Expand Up @@ -85,14 +85,14 @@
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="mCalloutFillStyleLbl">
<property name="text">
<string>Fill style</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_46">
<widget class="QLabel" name="mOffsetFromAnchorLbl">
<property name="text">
<string>Offset from feature</string>
</property>
Expand Down Expand Up @@ -193,7 +193,7 @@
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_48">
<widget class="QLabel" name="mCornerRadiusLbl">
<property name="text">
<string>Corner radius</string>
</property>
Expand Down
22 changes: 11 additions & 11 deletions src/ui/callouts/widget_curvedlinecallout.ui
Expand Up @@ -49,7 +49,7 @@
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_46">
<widget class="QLabel" name="mOffsetFromAnchorLbl">
<property name="text">
<string>Offset from feature</string>
</property>
Expand Down Expand Up @@ -86,7 +86,7 @@
<widget class="QgsBlendModeComboBox" name="mCalloutBlendComboBox"/>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_18">
<widget class="QLabel" name="mCalloutBlendModeLbl">
<property name="text">
<string>Blend mode</string>
</property>
Expand Down Expand Up @@ -125,7 +125,7 @@
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="mCalloutLineStyleLbl">
<property name="text">
<string>Line style</string>
</property>
Expand All @@ -146,7 +146,7 @@
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_47">
<widget class="QLabel" name="mOffsetFromLabelLbl">
<property name="text">
<string>Offset from label area</string>
</property>
Expand Down Expand Up @@ -216,14 +216,14 @@
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_45">
<widget class="QLabel" name="mMinCalloutLengthLbl">
<property name="text">
<string>Minimum length</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="mCurvatureLbl">
<property name="text">
<string>Curvature</string>
</property>
Expand Down Expand Up @@ -326,7 +326,7 @@
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="mCalloutOrientationLbl">
<property name="text">
<string>Orientation</string>
</property>
Expand Down Expand Up @@ -380,7 +380,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_24">
<item>
<widget class="QLabel" name="mCoordXLabel_3">
<widget class="QLabel" name="mCoordXLabel_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand All @@ -400,7 +400,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="mCoordYLabel_3">
<widget class="QLabel" name="mCoordYLabel_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand Down Expand Up @@ -447,7 +447,7 @@
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_23">
<item>
<widget class="QLabel" name="mCoordXLabel_2">
<widget class="QLabel" name="mCoordXLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand All @@ -467,7 +467,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="mCoordYLabel_2">
<widget class="QLabel" name="mCoordYLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand Down
18 changes: 9 additions & 9 deletions src/ui/callouts/widget_simplelinecallout.ui
Expand Up @@ -74,7 +74,7 @@
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_46">
<widget class="QLabel" name="mOffsetFromAnchorLbl">
<property name="text">
<string>Offset from feature</string>
</property>
Expand Down Expand Up @@ -121,7 +121,7 @@
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="mCalloutLineStyleLbl">
<property name="text">
<string>Line style</string>
</property>
Expand Down Expand Up @@ -151,7 +151,7 @@
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_47">
<widget class="QLabel" name="mOffsetFromLabelLbl">
<property name="text">
<string>Offset from label area</string>
</property>
Expand Down Expand Up @@ -193,7 +193,7 @@
<widget class="QgsBlendModeComboBox" name="mCalloutBlendComboBox"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_18">
<widget class="QLabel" name="mCalloutBlendModeLbl">
<property name="text">
<string>Blend mode</string>
</property>
Expand Down Expand Up @@ -255,7 +255,7 @@
<widget class="QComboBox" name="mAnchorPointComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_45">
<widget class="QLabel" name="mMinCalloutLengthLbl">
<property name="text">
<string>Minimum length</string>
</property>
Expand Down Expand Up @@ -313,7 +313,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_24">
<item>
<widget class="QLabel" name="mCoordXLabel_3">
<widget class="QLabel" name="mCoordXLabel_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand All @@ -333,7 +333,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="mCoordYLabel_3">
<widget class="QLabel" name="mCoordYLabel_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand Down Expand Up @@ -380,7 +380,7 @@
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_23">
<item>
<widget class="QLabel" name="mCoordXLabel_2">
<widget class="QLabel" name="mCoordXLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand All @@ -400,7 +400,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="mCoordYLabel_2">
<widget class="QLabel" name="mCoordYLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand Down

0 comments on commit d652046

Please sign in to comment.