|
14 | 14 | <string>Form</string>
|
15 | 15 | </property>
|
16 | 16 | <layout class="QGridLayout" name="gridLayout">
|
17 |
| - <item row="0" column="1" colspan="2"> |
18 |
| - <widget class="QgsColorButton" name="btnChangeColor"> |
19 |
| - <property name="sizePolicy"> |
20 |
| - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
21 |
| - <horstretch>0</horstretch> |
22 |
| - <verstretch>0</verstretch> |
23 |
| - </sizepolicy> |
24 |
| - </property> |
25 |
| - <property name="text"> |
26 |
| - <string>Change...</string> |
27 |
| - </property> |
28 |
| - </widget> |
29 |
| - </item> |
30 |
| - <item row="0" column="0"> |
31 |
| - <widget class="QLabel" name="label"> |
| 17 | + <item row="4" column="0"> |
| 18 | + <widget class="QLabel" name="label_5"> |
32 | 19 | <property name="text">
|
33 |
| - <string>Color</string> |
| 20 | + <string>Join style</string> |
34 | 21 | </property>
|
35 | 22 | </widget>
|
36 | 23 | </item>
|
37 |
| - <item row="1" column="0"> |
38 |
| - <widget class="QLabel" name="label_2"> |
39 |
| - <property name="text"> |
40 |
| - <string>Pen width</string> |
| 24 | + <item row="7" column="0" colspan="3"> |
| 25 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 26 | + <property name="sizeConstraint"> |
| 27 | + <enum>QLayout::SetFixedSize</enum> |
41 | 28 | </property>
|
42 |
| - </widget> |
| 29 | + <item> |
| 30 | + <widget class="QCheckBox" name="mCustomCheckBox"> |
| 31 | + <property name="text"> |
| 32 | + <string>Use custom dash pattern</string> |
| 33 | + </property> |
| 34 | + </widget> |
| 35 | + </item> |
| 36 | + <item> |
| 37 | + <widget class="QPushButton" name="mChangePatternButton"> |
| 38 | + <property name="text"> |
| 39 | + <string>Change</string> |
| 40 | + </property> |
| 41 | + </widget> |
| 42 | + </item> |
| 43 | + </layout> |
43 | 44 | </item>
|
44 |
| - <item row="4" column="0"> |
45 |
| - <widget class="QLabel" name="label_5"> |
| 45 | + <item row="3" column="0"> |
| 46 | + <widget class="QLabel" name="label_3"> |
46 | 47 | <property name="text">
|
47 |
| - <string>Join style</string> |
| 48 | + <string>Pen style</string> |
48 | 49 | </property>
|
49 | 50 | </widget>
|
50 | 51 | </item>
|
51 |
| - <item row="1" column="1"> |
52 |
| - <widget class="QDoubleSpinBox" name="spinWidth"> |
| 52 | + <item row="0" column="1" colspan="2"> |
| 53 | + <widget class="QgsColorButton" name="btnChangeColor"> |
53 | 54 | <property name="sizePolicy">
|
54 | 55 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
55 | 56 | <horstretch>0</horstretch>
|
56 | 57 | <verstretch>0</verstretch>
|
57 | 58 | </sizepolicy>
|
58 | 59 | </property>
|
| 60 | + <property name="text"> |
| 61 | + <string>Change...</string> |
| 62 | + </property> |
| 63 | + </widget> |
| 64 | + </item> |
| 65 | + <item row="2" column="1"> |
| 66 | + <widget class="QDoubleSpinBox" name="spinOffset"> |
59 | 67 | <property name="alignment">
|
60 | 68 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
61 | 69 | </property>
|
62 | 70 | <property name="decimals">
|
63 | 71 | <number>5</number>
|
64 | 72 | </property>
|
| 73 | + <property name="minimum"> |
| 74 | + <double>-100000.000000000000000</double> |
| 75 | + </property> |
65 | 76 | <property name="maximum">
|
66 | 77 | <double>100000.000000000000000</double>
|
67 | 78 | </property>
|
68 |
| - <property name="value"> |
69 |
| - <double>1.000000000000000</double> |
70 |
| - </property> |
71 | 79 | </widget>
|
72 | 80 | </item>
|
73 |
| - <item row="1" column="2"> |
74 |
| - <widget class="QComboBox" name="mPenWidthUnitComboBox"> |
| 81 | + <item row="2" column="2"> |
| 82 | + <widget class="QComboBox" name="mOffsetUnitComboBox"> |
75 | 83 | <property name="sizePolicy">
|
76 | 84 | <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
77 | 85 | <horstretch>0</horstretch>
|
|
90 | 98 | </item>
|
91 | 99 | </widget>
|
92 | 100 | </item>
|
93 |
| - <item row="2" column="0"> |
94 |
| - <widget class="QLabel" name="label_4"> |
95 |
| - <property name="text"> |
96 |
| - <string>Offset</string> |
| 101 | + <item row="1" column="1"> |
| 102 | + <widget class="QDoubleSpinBox" name="spinWidth"> |
| 103 | + <property name="sizePolicy"> |
| 104 | + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 105 | + <horstretch>0</horstretch> |
| 106 | + <verstretch>0</verstretch> |
| 107 | + </sizepolicy> |
97 | 108 | </property>
|
98 |
| - </widget> |
99 |
| - </item> |
100 |
| - <item row="2" column="1"> |
101 |
| - <widget class="QDoubleSpinBox" name="spinOffset"> |
102 | 109 | <property name="alignment">
|
103 | 110 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
104 | 111 | </property>
|
105 | 112 | <property name="decimals">
|
106 | 113 | <number>5</number>
|
107 | 114 | </property>
|
108 |
| - <property name="minimum"> |
109 |
| - <double>-100000.000000000000000</double> |
110 |
| - </property> |
111 | 115 | <property name="maximum">
|
112 | 116 | <double>100000.000000000000000</double>
|
113 | 117 | </property>
|
| 118 | + <property name="value"> |
| 119 | + <double>1.000000000000000</double> |
| 120 | + </property> |
114 | 121 | </widget>
|
115 | 122 | </item>
|
116 | 123 | <item row="4" column="1" colspan="2">
|
117 | 124 | <widget class="QgsPenJoinStyleComboBox" name="cboJoinStyle"/>
|
118 | 125 | </item>
|
119 |
| - <item row="6" column="0" colspan="3"> |
120 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
121 |
| - <property name="sizeConstraint"> |
122 |
| - <enum>QLayout::SetFixedSize</enum> |
123 |
| - </property> |
124 |
| - <item> |
125 |
| - <widget class="QCheckBox" name="mCustomCheckBox"> |
126 |
| - <property name="text"> |
127 |
| - <string>Use custom dash pattern</string> |
128 |
| - </property> |
129 |
| - </widget> |
130 |
| - </item> |
131 |
| - <item> |
132 |
| - <widget class="QPushButton" name="mChangePatternButton"> |
133 |
| - <property name="text"> |
134 |
| - <string>Change</string> |
135 |
| - </property> |
136 |
| - </widget> |
137 |
| - </item> |
138 |
| - </layout> |
139 |
| - </item> |
140 |
| - <item row="3" column="1" colspan="2"> |
141 |
| - <widget class="QgsPenStyleComboBox" name="cboPenStyle"/> |
142 |
| - </item> |
143 |
| - <item row="3" column="0"> |
144 |
| - <widget class="QLabel" name="label_3"> |
145 |
| - <property name="text"> |
146 |
| - <string>Pen style</string> |
147 |
| - </property> |
148 |
| - </widget> |
149 |
| - </item> |
150 |
| - <item row="2" column="2"> |
151 |
| - <widget class="QComboBox" name="mOffsetUnitComboBox"> |
| 126 | + <item row="1" column="2"> |
| 127 | + <widget class="QComboBox" name="mPenWidthUnitComboBox"> |
152 | 128 | <property name="sizePolicy">
|
153 | 129 | <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
154 | 130 | <horstretch>0</horstretch>
|
|
167 | 143 | </item>
|
168 | 144 | </widget>
|
169 | 145 | </item>
|
170 |
| - <item row="7" column="0"> |
171 |
| - <widget class="QLabel" name="mDashPatternUnitLabel"> |
172 |
| - <property name="text"> |
173 |
| - <string>Dash pattern unit</string> |
174 |
| - </property> |
175 |
| - </widget> |
176 |
| - </item> |
177 |
| - <item row="7" column="1" colspan="2"> |
| 146 | + <item row="8" column="1" colspan="2"> |
178 | 147 | <widget class="QComboBox" name="mDashPatternUnitComboBox">
|
179 | 148 | <item>
|
180 | 149 | <property name="text">
|
|
188 | 157 | </item>
|
189 | 158 | </widget>
|
190 | 159 | </item>
|
191 |
| - <item row="8" column="0" colspan="3"> |
| 160 | + <item row="3" column="1" colspan="2"> |
| 161 | + <widget class="QgsPenStyleComboBox" name="cboPenStyle"/> |
| 162 | + </item> |
| 163 | + <item row="9" column="0" colspan="3"> |
192 | 164 | <layout class="QHBoxLayout" name="horizontalLayout_2">
|
193 | 165 | <item>
|
194 | 166 | <widget class="QLabel" name="mDataDefinedPropertiesLabel">
|
|
212 | 184 | </item>
|
213 | 185 | </layout>
|
214 | 186 | </item>
|
| 187 | + <item row="1" column="0"> |
| 188 | + <widget class="QLabel" name="label_2"> |
| 189 | + <property name="text"> |
| 190 | + <string>Pen width</string> |
| 191 | + </property> |
| 192 | + </widget> |
| 193 | + </item> |
| 194 | + <item row="2" column="0"> |
| 195 | + <widget class="QLabel" name="label_4"> |
| 196 | + <property name="text"> |
| 197 | + <string>Offset</string> |
| 198 | + </property> |
| 199 | + </widget> |
| 200 | + </item> |
| 201 | + <item row="0" column="0"> |
| 202 | + <widget class="QLabel" name="label"> |
| 203 | + <property name="text"> |
| 204 | + <string>Color</string> |
| 205 | + </property> |
| 206 | + </widget> |
| 207 | + </item> |
| 208 | + <item row="8" column="0"> |
| 209 | + <widget class="QLabel" name="mDashPatternUnitLabel"> |
| 210 | + <property name="text"> |
| 211 | + <string>Dash pattern unit</string> |
| 212 | + </property> |
| 213 | + </widget> |
| 214 | + </item> |
| 215 | + <item row="5" column="1" colspan="2"> |
| 216 | + <widget class="QgsPenCapStyleComboBox" name="cboCapStyle"/> |
| 217 | + </item> |
| 218 | + <item row="5" column="0"> |
| 219 | + <widget class="QLabel" name="label_6"> |
| 220 | + <property name="text"> |
| 221 | + <string>Cap style</string> |
| 222 | + </property> |
| 223 | + </widget> |
| 224 | + </item> |
215 | 225 | </layout>
|
216 | 226 | </widget>
|
217 | 227 | <customwidgets>
|
218 |
| - <customwidget> |
219 |
| - <class>QgsColorButton</class> |
220 |
| - <extends>QPushButton</extends> |
221 |
| - <header>qgscolorbutton.h</header> |
222 |
| - </customwidget> |
223 | 228 | <customwidget>
|
224 | 229 | <class>QgsPenStyleComboBox</class>
|
225 | 230 | <extends>QComboBox</extends>
|
|
235 | 240 | <extends>QComboBox</extends>
|
236 | 241 | <header>qgspenstylecombobox.h</header>
|
237 | 242 | </customwidget>
|
| 243 | + <customwidget> |
| 244 | + <class>QgsColorButton</class> |
| 245 | + <extends>QPushButton</extends> |
| 246 | + <header>qgscolorbutton.h</header> |
| 247 | + </customwidget> |
238 | 248 | </customwidgets>
|
239 | 249 | <resources/>
|
240 | 250 | <connections/>
|
|
0 commit comments