|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>410</width> |
10 | | - <height>337</height> |
| 9 | + <width>387</width> |
| 10 | + <height>461</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="sizePolicy"> |
|
20 | 20 | <string>Form</string> |
21 | 21 | </property> |
22 | 22 | <layout class="QVBoxLayout" name="verticalLayout"> |
23 | | - <property name="margin"> |
| 23 | + <property name="leftMargin"> |
| 24 | + <number>0</number> |
| 25 | + </property> |
| 26 | + <property name="topMargin"> |
| 27 | + <number>0</number> |
| 28 | + </property> |
| 29 | + <property name="rightMargin"> |
| 30 | + <number>0</number> |
| 31 | + </property> |
| 32 | + <property name="bottomMargin"> |
24 | 33 | <number>0</number> |
25 | 34 | </property> |
26 | 35 | <item> |
|
40 | 49 | </property> |
41 | 50 | <widget class="QWidget" name="page"> |
42 | 51 | <layout class="QGridLayout" name="gridLayout"> |
43 | | - <property name="margin"> |
| 52 | + <property name="leftMargin"> |
| 53 | + <number>0</number> |
| 54 | + </property> |
| 55 | + <property name="topMargin"> |
| 56 | + <number>0</number> |
| 57 | + </property> |
| 58 | + <property name="rightMargin"> |
| 59 | + <number>0</number> |
| 60 | + </property> |
| 61 | + <property name="bottomMargin"> |
44 | 62 | <number>0</number> |
45 | 63 | </property> |
46 | | - <item row="2" column="0" colspan="2"> |
47 | | - <widget class="QPushButton" name="mNewButton"> |
48 | | - <property name="text"> |
49 | | - <string>New Rule</string> |
50 | | - </property> |
51 | | - <property name="icon"> |
52 | | - <iconset resource="../../images/images.qrc"> |
53 | | - <normaloff>:/images/themes/default/symbologyAdd.png</normaloff>:/images/themes/default/symbologyAdd.png</iconset> |
54 | | - </property> |
55 | | - </widget> |
56 | | - </item> |
57 | | - <item row="0" column="0"> |
58 | | - <widget class="QLabel" name="label_2"> |
59 | | - <property name="sizePolicy"> |
60 | | - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> |
61 | | - <horstretch>0</horstretch> |
62 | | - <verstretch>0</verstretch> |
63 | | - </sizepolicy> |
64 | | - </property> |
65 | | - <property name="text"> |
66 | | - <string>Field</string> |
67 | | - </property> |
68 | | - </widget> |
69 | | - </item> |
70 | 64 | <item row="1" column="0" colspan="2"> |
71 | 65 | <widget class="QListView" name="listView"> |
72 | 66 | <property name="editTriggers"> |
|
80 | 74 | </property> |
81 | 75 | </widget> |
82 | 76 | </item> |
83 | | - <item row="0" column="1"> |
84 | | - <widget class="QgsFieldComboBox" name="mFieldCombo"/> |
| 77 | + <item row="0" column="0" colspan="2"> |
| 78 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 79 | + <property name="topMargin"> |
| 80 | + <number>0</number> |
| 81 | + </property> |
| 82 | + <item> |
| 83 | + <widget class="QLabel" name="label_2"> |
| 84 | + <property name="sizePolicy"> |
| 85 | + <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> |
| 86 | + <horstretch>0</horstretch> |
| 87 | + <verstretch>0</verstretch> |
| 88 | + </sizepolicy> |
| 89 | + </property> |
| 90 | + <property name="text"> |
| 91 | + <string>Field</string> |
| 92 | + </property> |
| 93 | + </widget> |
| 94 | + </item> |
| 95 | + <item> |
| 96 | + <widget class="QgsFieldComboBox" name="mFieldCombo"/> |
| 97 | + </item> |
| 98 | + <item> |
| 99 | + <widget class="QPushButton" name="mNewButton"> |
| 100 | + <property name="sizePolicy"> |
| 101 | + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> |
| 102 | + <horstretch>0</horstretch> |
| 103 | + <verstretch>0</verstretch> |
| 104 | + </sizepolicy> |
| 105 | + </property> |
| 106 | + <property name="text"> |
| 107 | + <string>New Rule</string> |
| 108 | + </property> |
| 109 | + <property name="icon"> |
| 110 | + <iconset resource="../../images/images.qrc"> |
| 111 | + <normaloff>:/images/themes/default/symbologyAdd.png</normaloff>:/images/themes/default/symbologyAdd.png</iconset> |
| 112 | + </property> |
| 113 | + </widget> |
| 114 | + </item> |
| 115 | + </layout> |
85 | 116 | </item> |
86 | 117 | </layout> |
87 | 118 | </widget> |
88 | 119 | <widget class="QWidget" name="page_2"> |
89 | | - <layout class="QFormLayout" name="formLayout"> |
90 | | - <property name="fieldGrowthPolicy"> |
91 | | - <enum>QFormLayout::AllNonFixedFieldsGrow</enum> |
92 | | - </property> |
93 | | - <item row="4" column="0"> |
| 120 | + <layout class="QGridLayout" name="gridLayout_3"> |
| 121 | + <item row="0" column="0"> |
94 | 122 | <widget class="QLabel" name="label"> |
95 | 123 | <property name="text"> |
96 | 124 | <string>Condition</string> |
97 | 125 | </property> |
98 | 126 | </widget> |
99 | 127 | </item> |
100 | | - <item row="4" column="1"> |
| 128 | + <item row="1" column="0"> |
101 | 129 | <layout class="QHBoxLayout" name="horizontalLayout_5"> |
102 | 130 | <item> |
103 | | - <widget class="QLineEdit" name="mRuleEdit"/> |
| 131 | + <widget class="QLineEdit" name="mRuleEdit"> |
| 132 | + <property name="text"> |
| 133 | + <string>@value</string> |
| 134 | + </property> |
| 135 | + </widget> |
104 | 136 | </item> |
105 | 137 | <item> |
106 | 138 | <widget class="QToolButton" name="btnBuildExpression"> |
|
115 | 147 | </item> |
116 | 148 | </layout> |
117 | 149 | </item> |
118 | | - <item row="5" column="0"> |
119 | | - <widget class="QLabel" name="label_3"> |
120 | | - <property name="text"> |
121 | | - <string>Format</string> |
122 | | - </property> |
123 | | - </widget> |
124 | | - </item> |
125 | | - <item row="5" column="1"> |
| 150 | + <item row="2" column="0"> |
126 | 151 | <layout class="QGridLayout" name="gridLayout_2"> |
127 | | - <item row="0" column="0"> |
128 | | - <widget class="QPushButton" name="mDefault1"> |
| 152 | + <item row="1" column="1"> |
| 153 | + <widget class="QPushButton" name="mDefault3"> |
129 | 154 | <property name="styleSheet"> |
130 | | - <string notr="true">background-color: rgb(208, 255, 187);</string> |
| 155 | + <string notr="true">background-color: rgb(240, 204, 146);</string> |
131 | 156 | </property> |
132 | 157 | <property name="text"> |
133 | 158 | <string>abc - 123</string> |
|
137 | 162 | </property> |
138 | 163 | <property name="backColor" stdset="0"> |
139 | 164 | <color> |
140 | | - <red>154</red> |
141 | | - <green>216</green> |
142 | | - <blue>113</blue> |
| 165 | + <red>241</red> |
| 166 | + <green>186</green> |
| 167 | + <blue>118</blue> |
143 | 168 | </color> |
144 | 169 | </property> |
145 | 170 | <attribute name="buttonGroup"> |
146 | 171 | <string notr="true">mDefaultButtons</string> |
147 | 172 | </attribute> |
148 | 173 | </widget> |
149 | 174 | </item> |
150 | | - <item row="0" column="2"> |
151 | | - <widget class="QPushButton" name="mDefault2"> |
| 175 | + <item row="2" column="2"> |
| 176 | + <widget class="QPushButton" name="pushButton_7"> |
152 | 177 | <property name="styleSheet"> |
153 | | - <string notr="true">background-color: rgb(255, 167, 151);</string> |
| 178 | + <string notr="true">color: rgb(170, 64, 75);</string> |
154 | 179 | </property> |
155 | 180 | <property name="text"> |
156 | 181 | <string>abc - 123</string> |
157 | 182 | </property> |
158 | 183 | <property name="checkable"> |
159 | 184 | <bool>true</bool> |
160 | 185 | </property> |
161 | | - <property name="backColor" stdset="0"> |
| 186 | + <property name="fontColor" stdset="0"> |
162 | 187 | <color> |
163 | | - <red>255</red> |
164 | | - <green>130</green> |
165 | | - <blue>130</blue> |
| 188 | + <red>188</red> |
| 189 | + <green>54</green> |
| 190 | + <blue>49</blue> |
166 | 191 | </color> |
167 | 192 | </property> |
168 | 193 | <attribute name="buttonGroup"> |
169 | 194 | <string notr="true">mDefaultButtons</string> |
170 | 195 | </attribute> |
171 | 196 | </widget> |
172 | 197 | </item> |
173 | | - <item row="0" column="1"> |
174 | | - <widget class="QPushButton" name="mDefault3"> |
| 198 | + <item row="2" column="1"> |
| 199 | + <widget class="QPushButton" name="pushButton_8"> |
175 | 200 | <property name="styleSheet"> |
176 | | - <string notr="true">background-color: rgb(240, 204, 146);</string> |
| 201 | + <string notr="true">color: rgb(209, 166, 57);</string> |
177 | 202 | </property> |
178 | 203 | <property name="text"> |
179 | 204 | <string>abc - 123</string> |
180 | 205 | </property> |
181 | 206 | <property name="checkable"> |
182 | 207 | <bool>true</bool> |
183 | 208 | </property> |
184 | | - <property name="backColor" stdset="0"> |
| 209 | + <property name="fontColor" stdset="0"> |
185 | 210 | <color> |
186 | | - <red>241</red> |
187 | | - <green>186</green> |
188 | | - <blue>118</blue> |
| 211 | + <red>207</red> |
| 212 | + <green>141</green> |
| 213 | + <blue>61</blue> |
189 | 214 | </color> |
190 | 215 | </property> |
191 | 216 | <attribute name="buttonGroup"> |
192 | 217 | <string notr="true">mDefaultButtons</string> |
193 | 218 | </attribute> |
194 | 219 | </widget> |
195 | 220 | </item> |
196 | | - <item row="1" column="2"> |
197 | | - <widget class="QPushButton" name="pushButton_7"> |
| 221 | + <item row="2" column="0"> |
| 222 | + <widget class="QPushButton" name="pushButton_3"> |
198 | 223 | <property name="styleSheet"> |
199 | | - <string notr="true">color: rgb(170, 64, 75);</string> |
| 224 | + <string notr="true">color: rgb(98, 136, 78);</string> |
200 | 225 | </property> |
201 | 226 | <property name="text"> |
202 | 227 | <string>abc - 123</string> |
|
206 | 231 | </property> |
207 | 232 | <property name="fontColor" stdset="0"> |
208 | 233 | <color> |
209 | | - <red>188</red> |
210 | | - <green>54</green> |
211 | | - <blue>49</blue> |
| 234 | + <red>80</red> |
| 235 | + <green>157</green> |
| 236 | + <blue>52</blue> |
212 | 237 | </color> |
213 | 238 | </property> |
214 | 239 | <attribute name="buttonGroup"> |
215 | 240 | <string notr="true">mDefaultButtons</string> |
216 | 241 | </attribute> |
217 | 242 | </widget> |
218 | 243 | </item> |
219 | | - <item row="1" column="1"> |
220 | | - <widget class="QPushButton" name="pushButton_8"> |
| 244 | + <item row="1" column="2"> |
| 245 | + <widget class="QPushButton" name="mDefault2"> |
221 | 246 | <property name="styleSheet"> |
222 | | - <string notr="true">color: rgb(209, 166, 57);</string> |
| 247 | + <string notr="true">background-color: rgb(255, 167, 151);</string> |
223 | 248 | </property> |
224 | 249 | <property name="text"> |
225 | 250 | <string>abc - 123</string> |
226 | 251 | </property> |
227 | 252 | <property name="checkable"> |
228 | 253 | <bool>true</bool> |
229 | 254 | </property> |
230 | | - <property name="fontColor" stdset="0"> |
| 255 | + <property name="backColor" stdset="0"> |
231 | 256 | <color> |
232 | | - <red>207</red> |
233 | | - <green>141</green> |
234 | | - <blue>61</blue> |
| 257 | + <red>255</red> |
| 258 | + <green>130</green> |
| 259 | + <blue>130</blue> |
235 | 260 | </color> |
236 | 261 | </property> |
237 | 262 | <attribute name="buttonGroup"> |
|
240 | 265 | </widget> |
241 | 266 | </item> |
242 | 267 | <item row="1" column="0"> |
243 | | - <widget class="QPushButton" name="pushButton_3"> |
| 268 | + <widget class="QPushButton" name="mDefault1"> |
244 | 269 | <property name="styleSheet"> |
245 | | - <string notr="true">color: rgb(98, 136, 78);</string> |
| 270 | + <string notr="true">background-color: rgb(208, 255, 187);</string> |
246 | 271 | </property> |
247 | 272 | <property name="text"> |
248 | 273 | <string>abc - 123</string> |
249 | 274 | </property> |
250 | 275 | <property name="checkable"> |
251 | 276 | <bool>true</bool> |
252 | 277 | </property> |
253 | | - <property name="fontColor" stdset="0"> |
| 278 | + <property name="backColor" stdset="0"> |
254 | 279 | <color> |
255 | | - <red>80</red> |
256 | | - <green>157</green> |
257 | | - <blue>52</blue> |
| 280 | + <red>154</red> |
| 281 | + <green>216</green> |
| 282 | + <blue>113</blue> |
258 | 283 | </color> |
259 | 284 | </property> |
260 | 285 | <attribute name="buttonGroup"> |
261 | 286 | <string notr="true">mDefaultButtons</string> |
262 | 287 | </attribute> |
263 | 288 | </widget> |
264 | 289 | </item> |
| 290 | + <item row="0" column="0"> |
| 291 | + <widget class="QLabel" name="label_3"> |
| 292 | + <property name="text"> |
| 293 | + <string>Format</string> |
| 294 | + </property> |
| 295 | + </widget> |
| 296 | + </item> |
265 | 297 | </layout> |
266 | 298 | </item> |
267 | | - <item row="6" column="1"> |
| 299 | + <item row="3" column="0"> |
268 | 300 | <widget class="QGroupBox" name="horizontalGroupBox_2"> |
269 | 301 | <property name="title"> |
270 | 302 | <string>Custom</string> |
|
586 | 618 | </layout> |
587 | 619 | </widget> |
588 | 620 | </item> |
589 | | - <item row="9" column="0" colspan="2"> |
| 621 | + <item row="4" column="0"> |
590 | 622 | <spacer name="verticalSpacer"> |
591 | 623 | <property name="orientation"> |
592 | 624 | <enum>Qt::Vertical</enum> |
|
602 | 634 | </property> |
603 | 635 | </spacer> |
604 | 636 | </item> |
605 | | - <item row="10" column="0" colspan="2"> |
| 637 | + <item row="5" column="0"> |
606 | 638 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
607 | 639 | <item> |
608 | 640 | <widget class="QPushButton" name="mSaveRule"> |
|
667 | 699 | </customwidget> |
668 | 700 | </customwidgets> |
669 | 701 | <tabstops> |
670 | | - <tabstop>mFieldCombo</tabstop> |
671 | 702 | <tabstop>listView</tabstop> |
672 | | - <tabstop>mNewButton</tabstop> |
673 | 703 | <tabstop>mRuleEdit</tabstop> |
674 | 704 | <tabstop>btnBuildExpression</tabstop> |
675 | 705 | <tabstop>mDefault1</tabstop> |
|
0 commit comments