|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>290</width> |
| 9 | + <width>300</width> |
10 | 10 | <height>384</height>
|
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 | 14 | <string>Form</string>
|
15 | 15 | </property>
|
16 | 16 | <layout class="QGridLayout" name="gridLayout">
|
| 17 | + <item row="0" column="0"> |
| 18 | + <widget class="QLabel" name="label"> |
| 19 | + <property name="text"> |
| 20 | + <string>Color</string> |
| 21 | + </property> |
| 22 | + </widget> |
| 23 | + </item> |
| 24 | + <item row="5" column="2"> |
| 25 | + <widget class="QgsPenCapStyleComboBox" name="cboCapStyle"/> |
| 26 | + </item> |
| 27 | + <item row="8" column="0" colspan="3"> |
| 28 | + <widget class="QCheckBox" name="mDrawInsideCheckBox"> |
| 29 | + <property name="text"> |
| 30 | + <string>Draw line only inside polygon</string> |
| 31 | + </property> |
| 32 | + </widget> |
| 33 | + </item> |
17 | 34 | <item row="1" column="2">
|
18 | 35 | <layout class="QHBoxLayout" name="horizontalLayout_2">
|
19 | 36 | <item>
|
|
59 | 76 | </item>
|
60 | 77 | </layout>
|
61 | 78 | </item>
|
62 |
| - <item row="4" column="3"> |
63 |
| - <widget class="QgsPropertyOverrideButton" name="mJoinStyleDDBtn"> |
| 79 | + <item row="2" column="0"> |
| 80 | + <widget class="QLabel" name="label_4"> |
64 | 81 | <property name="text">
|
65 |
| - <string>…</string> |
| 82 | + <string>Offset</string> |
66 | 83 | </property>
|
67 | 84 | </widget>
|
68 | 85 | </item>
|
69 |
| - <item row="4" column="2"> |
70 |
| - <widget class="QgsPenJoinStyleComboBox" name="cboJoinStyle"/> |
| 86 | + <item row="6" column="0" colspan="3"> |
| 87 | + <widget class="QCheckBox" name="mCustomCheckBox"> |
| 88 | + <property name="text"> |
| 89 | + <string>Use custom dash pattern</string> |
| 90 | + </property> |
| 91 | + </widget> |
71 | 92 | </item>
|
72 |
| - <item row="5" column="0"> |
73 |
| - <widget class="QLabel" name="label_6"> |
| 93 | + <item row="3" column="2"> |
| 94 | + <widget class="QgsPenStyleComboBox" name="cboPenStyle"/> |
| 95 | + </item> |
| 96 | + <item row="1" column="0"> |
| 97 | + <widget class="QLabel" name="label_2"> |
74 | 98 | <property name="text">
|
75 |
| - <string>Cap style</string> |
| 99 | + <string>Stroke width</string> |
76 | 100 | </property>
|
77 | 101 | </widget>
|
78 | 102 | </item>
|
79 |
| - <item row="9" column="0"> |
| 103 | + <item row="1" column="3"> |
| 104 | + <widget class="QgsPropertyOverrideButton" name="mPenWidthDDBtn"> |
| 105 | + <property name="text"> |
| 106 | + <string>…</string> |
| 107 | + </property> |
| 108 | + </widget> |
| 109 | + </item> |
| 110 | + <item row="10" column="0"> |
80 | 111 | <spacer name="verticalSpacer">
|
81 | 112 | <property name="orientation">
|
82 | 113 | <enum>Qt::Vertical</enum>
|
|
89 | 120 | </property>
|
90 | 121 | </spacer>
|
91 | 122 | </item>
|
92 |
| - <item row="4" column="0"> |
93 |
| - <widget class="QLabel" name="label_5"> |
| 123 | + <item row="2" column="3"> |
| 124 | + <widget class="QgsPropertyOverrideButton" name="mOffsetDDBtn"> |
94 | 125 | <property name="text">
|
95 |
| - <string>Join style</string> |
| 126 | + <string>…</string> |
96 | 127 | </property>
|
97 | 128 | </widget>
|
98 | 129 | </item>
|
|
121 | 152 | </property>
|
122 | 153 | </widget>
|
123 | 154 | </item>
|
124 |
| - <item row="8" column="0" colspan="3"> |
125 |
| - <widget class="QCheckBox" name="mDrawInsideCheckBox"> |
126 |
| - <property name="text"> |
127 |
| - <string>Draw line only inside polygon</string> |
128 |
| - </property> |
129 |
| - </widget> |
130 |
| - </item> |
131 |
| - <item row="2" column="0"> |
132 |
| - <widget class="QLabel" name="label_4"> |
133 |
| - <property name="text"> |
134 |
| - <string>Offset</string> |
135 |
| - </property> |
136 |
| - </widget> |
137 |
| - </item> |
138 |
| - <item row="7" column="2"> |
139 |
| - <layout class="QHBoxLayout" name="horizontalLayout_12"> |
140 |
| - <item> |
141 |
| - <widget class="QPushButton" name="mChangePatternButton"> |
142 |
| - <property name="sizePolicy"> |
143 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
144 |
| - <horstretch>0</horstretch> |
145 |
| - <verstretch>0</verstretch> |
146 |
| - </sizepolicy> |
147 |
| - </property> |
148 |
| - <property name="text"> |
149 |
| - <string>Change</string> |
150 |
| - </property> |
151 |
| - </widget> |
152 |
| - </item> |
153 |
| - <item> |
154 |
| - <widget class="QgsUnitSelectionWidget" name="mDashPatternUnitWidget" native="true"> |
155 |
| - <property name="focusPolicy"> |
156 |
| - <enum>Qt::StrongFocus</enum> |
157 |
| - </property> |
158 |
| - </widget> |
159 |
| - </item> |
160 |
| - </layout> |
161 |
| - </item> |
162 |
| - <item row="3" column="2"> |
163 |
| - <widget class="QgsPenStyleComboBox" name="cboPenStyle"/> |
164 |
| - </item> |
165 |
| - <item row="5" column="2"> |
166 |
| - <widget class="QgsPenCapStyleComboBox" name="cboCapStyle"/> |
167 |
| - </item> |
168 |
| - <item row="0" column="0"> |
169 |
| - <widget class="QLabel" name="label"> |
170 |
| - <property name="text"> |
171 |
| - <string>Color</string> |
172 |
| - </property> |
173 |
| - </widget> |
174 |
| - </item> |
175 |
| - <item row="1" column="0"> |
176 |
| - <widget class="QLabel" name="label_2"> |
177 |
| - <property name="text"> |
178 |
| - <string>Stroke width</string> |
179 |
| - </property> |
180 |
| - </widget> |
181 |
| - </item> |
182 |
| - <item row="7" column="3"> |
183 |
| - <widget class="QgsPropertyOverrideButton" name="mDashPatternDDBtn"> |
| 155 | + <item row="5" column="3"> |
| 156 | + <widget class="QgsPropertyOverrideButton" name="mCapStyleDDBtn"> |
184 | 157 | <property name="text">
|
185 | 158 | <string>…</string>
|
186 | 159 | </property>
|
187 | 160 | </widget>
|
188 | 161 | </item>
|
189 |
| - <item row="3" column="0"> |
190 |
| - <widget class="QLabel" name="label_3"> |
| 162 | + <item row="5" column="0"> |
| 163 | + <widget class="QLabel" name="label_6"> |
191 | 164 | <property name="text">
|
192 |
| - <string>Stroke style</string> |
| 165 | + <string>Cap style</string> |
193 | 166 | </property>
|
194 | 167 | </widget>
|
195 | 168 | </item>
|
| 169 | + <item row="4" column="2"> |
| 170 | + <widget class="QgsPenJoinStyleComboBox" name="cboJoinStyle"/> |
| 171 | + </item> |
196 | 172 | <item row="2" column="2">
|
197 | 173 | <layout class="QHBoxLayout" name="horizontalLayout_3">
|
198 | 174 | <item>
|
|
235 | 211 | </item>
|
236 | 212 | </layout>
|
237 | 213 | </item>
|
238 |
| - <item row="5" column="3"> |
239 |
| - <widget class="QgsPropertyOverrideButton" name="mCapStyleDDBtn"> |
| 214 | + <item row="7" column="3"> |
| 215 | + <widget class="QgsPropertyOverrideButton" name="mDashPatternDDBtn"> |
240 | 216 | <property name="text">
|
241 | 217 | <string>…</string>
|
242 | 218 | </property>
|
243 | 219 | </widget>
|
244 | 220 | </item>
|
245 |
| - <item row="0" column="3"> |
246 |
| - <widget class="QgsPropertyOverrideButton" name="mColorDDBtn"> |
| 221 | + <item row="4" column="0"> |
| 222 | + <widget class="QLabel" name="label_5"> |
247 | 223 | <property name="text">
|
248 |
| - <string>…</string> |
| 224 | + <string>Join style</string> |
249 | 225 | </property>
|
250 | 226 | </widget>
|
251 | 227 | </item>
|
252 |
| - <item row="1" column="3"> |
253 |
| - <widget class="QgsPropertyOverrideButton" name="mPenWidthDDBtn"> |
| 228 | + <item row="7" column="2"> |
| 229 | + <layout class="QHBoxLayout" name="horizontalLayout_12"> |
| 230 | + <item> |
| 231 | + <widget class="QPushButton" name="mChangePatternButton"> |
| 232 | + <property name="sizePolicy"> |
| 233 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 234 | + <horstretch>0</horstretch> |
| 235 | + <verstretch>0</verstretch> |
| 236 | + </sizepolicy> |
| 237 | + </property> |
| 238 | + <property name="text"> |
| 239 | + <string>Change</string> |
| 240 | + </property> |
| 241 | + </widget> |
| 242 | + </item> |
| 243 | + <item> |
| 244 | + <widget class="QgsUnitSelectionWidget" name="mDashPatternUnitWidget" native="true"> |
| 245 | + <property name="focusPolicy"> |
| 246 | + <enum>Qt::StrongFocus</enum> |
| 247 | + </property> |
| 248 | + </widget> |
| 249 | + </item> |
| 250 | + </layout> |
| 251 | + </item> |
| 252 | + <item row="4" column="3"> |
| 253 | + <widget class="QgsPropertyOverrideButton" name="mJoinStyleDDBtn"> |
254 | 254 | <property name="text">
|
255 | 255 | <string>…</string>
|
256 | 256 | </property>
|
|
263 | 263 | </property>
|
264 | 264 | </widget>
|
265 | 265 | </item>
|
266 |
| - <item row="2" column="3"> |
267 |
| - <widget class="QgsPropertyOverrideButton" name="mOffsetDDBtn"> |
| 266 | + <item row="3" column="0"> |
| 267 | + <widget class="QLabel" name="label_3"> |
| 268 | + <property name="text"> |
| 269 | + <string>Stroke style</string> |
| 270 | + </property> |
| 271 | + </widget> |
| 272 | + </item> |
| 273 | + <item row="0" column="3"> |
| 274 | + <widget class="QgsPropertyOverrideButton" name="mColorDDBtn"> |
268 | 275 | <property name="text">
|
269 | 276 | <string>…</string>
|
270 | 277 | </property>
|
271 | 278 | </widget>
|
272 | 279 | </item>
|
273 |
| - <item row="6" column="0" colspan="3"> |
274 |
| - <widget class="QCheckBox" name="mCustomCheckBox"> |
| 280 | + <item row="9" column="0"> |
| 281 | + <widget class="QLabel" name="mRingsLabel"> |
275 | 282 | <property name="text">
|
276 |
| - <string>Use custom dash pattern</string> |
| 283 | + <string>Rings</string> |
277 | 284 | </property>
|
278 | 285 | </widget>
|
279 | 286 | </item>
|
| 287 | + <item row="9" column="2" colspan="2"> |
| 288 | + <widget class="QComboBox" name="mRingFilterComboBox"/> |
| 289 | + </item> |
280 | 290 | </layout>
|
281 | 291 | </widget>
|
282 | 292 | <customwidgets>
|
| 293 | + <customwidget> |
| 294 | + <class>QgsPropertyOverrideButton</class> |
| 295 | + <extends>QToolButton</extends> |
| 296 | + <header>qgspropertyoverridebutton.h</header> |
| 297 | + </customwidget> |
283 | 298 | <customwidget>
|
284 | 299 | <class>QgsDoubleSpinBox</class>
|
285 | 300 | <extends>QDoubleSpinBox</extends>
|
286 | 301 | <header>qgsdoublespinbox.h</header>
|
287 | 302 | </customwidget>
|
288 | 303 | <customwidget>
|
289 |
| - <class>QgsColorButton</class> |
290 |
| - <extends>QToolButton</extends> |
291 |
| - <header>qgscolorbutton.h</header> |
| 304 | + <class>QgsUnitSelectionWidget</class> |
| 305 | + <extends>QWidget</extends> |
| 306 | + <header>qgsunitselectionwidget.h</header> |
292 | 307 | <container>1</container>
|
293 | 308 | </customwidget>
|
294 | 309 | <customwidget>
|
295 |
| - <class>QgsPropertyOverrideButton</class> |
| 310 | + <class>QgsColorButton</class> |
296 | 311 | <extends>QToolButton</extends>
|
297 |
| - <header>qgspropertyoverridebutton.h</header> |
298 |
| - </customwidget> |
299 |
| - <customwidget> |
300 |
| - <class>QgsUnitSelectionWidget</class> |
301 |
| - <extends>QWidget</extends> |
302 |
| - <header>qgsunitselectionwidget.h</header> |
| 312 | + <header>qgscolorbutton.h</header> |
303 | 313 | <container>1</container>
|
304 | 314 | </customwidget>
|
305 | 315 | <customwidget>
|
|
0 commit comments