|
14 | 14 | <string>Edit Widget Properties</string>
|
15 | 15 | </property>
|
16 | 16 | <layout class="QGridLayout" name="gridLayout">
|
17 |
| - <item row="7" column="1"> |
18 |
| - <widget class="QDialogButtonBox" name="buttonBox"> |
19 |
| - <property name="orientation"> |
20 |
| - <enum>Qt::Horizontal</enum> |
21 |
| - </property> |
22 |
| - <property name="standardButtons"> |
23 |
| - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
24 |
| - </property> |
25 |
| - </widget> |
26 |
| - </item> |
27 |
| - <item row="6" column="1"> |
28 |
| - <widget class="QStackedWidget" name="stackedWidget"/> |
29 |
| - </item> |
30 |
| - <item row="5" column="0" rowspan="3"> |
31 |
| - <widget class="QListWidget" name="selectionListWidget"/> |
32 |
| - </item> |
33 |
| - <item row="4" column="0"> |
34 |
| - <widget class="QLabel" name="label_5"> |
35 |
| - <property name="text"> |
36 |
| - <string>Widget Type</string> |
37 |
| - </property> |
38 |
| - </widget> |
39 |
| - </item> |
40 |
| - <item row="0" column="0"> |
41 |
| - <layout class="QGridLayout" name="gridLayout_4"> |
42 |
| - <item row="0" column="0"> |
43 |
| - <widget class="QCheckBox" name="isFieldEditableCheckBox"> |
44 |
| - <property name="text"> |
45 |
| - <string>Editable</string> |
46 |
| - </property> |
47 |
| - <property name="checked"> |
48 |
| - <bool>true</bool> |
49 |
| - </property> |
50 |
| - </widget> |
51 |
| - </item> |
52 |
| - <item row="1" column="0"> |
53 |
| - <widget class="QCheckBox" name="labelOnTopCheckBox"> |
54 |
| - <property name="text"> |
55 |
| - <string>Label on top</string> |
56 |
| - </property> |
57 |
| - <property name="checked"> |
58 |
| - <bool>false</bool> |
59 |
| - </property> |
60 |
| - </widget> |
61 |
| - </item> |
62 |
| - <item row="2" column="0"> |
63 |
| - <widget class="QGroupBox" name="groupBox_2"> |
64 |
| - <property name="title"> |
65 |
| - <string>Defaults</string> |
66 |
| - </property> |
67 |
| - <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1"> |
68 |
| - <item row="1" column="0"> |
69 |
| - <widget class="QLabel" name="label_3"> |
70 |
| - <property name="text"> |
71 |
| - <string>Default value</string> |
72 |
| - </property> |
73 |
| - </widget> |
74 |
| - </item> |
75 |
| - <item row="2" column="0"> |
76 |
| - <widget class="QLabel" name="label_4"> |
77 |
| - <property name="text"> |
78 |
| - <string>Preview</string> |
79 |
| - </property> |
80 |
| - </widget> |
81 |
| - </item> |
82 |
| - <item row="1" column="1"> |
83 |
| - <widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true"> |
84 |
| - <property name="focusPolicy"> |
85 |
| - <enum>Qt::StrongFocus</enum> |
86 |
| - </property> |
87 |
| - </widget> |
88 |
| - </item> |
89 |
| - <item row="2" column="1"> |
90 |
| - <widget class="QLabel" name="mDefaultPreviewLabel"> |
91 |
| - <property name="text"> |
92 |
| - <string/> |
93 |
| - </property> |
94 |
| - </widget> |
95 |
| - </item> |
96 |
| - </layout> |
97 |
| - </widget> |
98 |
| - </item> |
99 |
| - </layout> |
100 |
| - </item> |
101 | 17 | <item row="0" column="1">
|
102 | 18 | <widget class="QgsCollapsibleGroupBox" name="groupBox">
|
103 | 19 | <property name="title">
|
|
132 | 48 | </widget>
|
133 | 49 | </item>
|
134 | 50 | <item row="2" column="1">
|
135 |
| - <widget class="QgsFieldExpressionWidget" name="constraintExpressionWidget"> |
| 51 | + <widget class="QgsFieldExpressionWidget" name="constraintExpressionWidget" native="true"> |
136 | 52 | <property name="focusPolicy">
|
137 | 53 | <enum>Qt::StrongFocus</enum>
|
138 | 54 | </property>
|
|
172 | 88 | </property>
|
173 | 89 | </widget>
|
174 | 90 | </item>
|
175 |
| - <item row="4" column="1"> |
| 91 | + <item row="4" column="0" colspan="2"> |
176 | 92 | <widget class="QCheckBox" name="mCheckBoxEnforceExpression">
|
177 | 93 | <property name="toolTip">
|
178 | 94 | <string>Enforcing the expression constraint prevents committing features which do not meet the constraint. Unenforced constraints display a warning to users, but do not prevent committing the feature.</string>
|
|
185 | 101 | </layout>
|
186 | 102 | </widget>
|
187 | 103 | </item>
|
| 104 | + <item row="5" column="1"> |
| 105 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 106 | + <property name="orientation"> |
| 107 | + <enum>Qt::Horizontal</enum> |
| 108 | + </property> |
| 109 | + <property name="standardButtons"> |
| 110 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 111 | + </property> |
| 112 | + </widget> |
| 113 | + </item> |
| 114 | + <item row="0" column="0"> |
| 115 | + <layout class="QGridLayout" name="gridLayout_4"> |
| 116 | + <item row="0" column="0"> |
| 117 | + <widget class="QCheckBox" name="isFieldEditableCheckBox"> |
| 118 | + <property name="text"> |
| 119 | + <string>Editable</string> |
| 120 | + </property> |
| 121 | + <property name="checked"> |
| 122 | + <bool>true</bool> |
| 123 | + </property> |
| 124 | + </widget> |
| 125 | + </item> |
| 126 | + <item row="1" column="0"> |
| 127 | + <widget class="QCheckBox" name="labelOnTopCheckBox"> |
| 128 | + <property name="text"> |
| 129 | + <string>Label on top</string> |
| 130 | + </property> |
| 131 | + <property name="checked"> |
| 132 | + <bool>false</bool> |
| 133 | + </property> |
| 134 | + </widget> |
| 135 | + </item> |
| 136 | + <item row="2" column="0"> |
| 137 | + <widget class="QGroupBox" name="groupBox_2"> |
| 138 | + <property name="title"> |
| 139 | + <string>Defaults</string> |
| 140 | + </property> |
| 141 | + <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1"> |
| 142 | + <item row="1" column="0"> |
| 143 | + <widget class="QLabel" name="label_3"> |
| 144 | + <property name="text"> |
| 145 | + <string>Default value</string> |
| 146 | + </property> |
| 147 | + </widget> |
| 148 | + </item> |
| 149 | + <item row="2" column="0"> |
| 150 | + <widget class="QLabel" name="label_4"> |
| 151 | + <property name="text"> |
| 152 | + <string>Preview</string> |
| 153 | + </property> |
| 154 | + </widget> |
| 155 | + </item> |
| 156 | + <item row="1" column="1"> |
| 157 | + <widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true"> |
| 158 | + <property name="focusPolicy"> |
| 159 | + <enum>Qt::StrongFocus</enum> |
| 160 | + </property> |
| 161 | + </widget> |
| 162 | + </item> |
| 163 | + <item row="2" column="1"> |
| 164 | + <widget class="QLabel" name="mDefaultPreviewLabel"> |
| 165 | + <property name="text"> |
| 166 | + <string/> |
| 167 | + </property> |
| 168 | + </widget> |
| 169 | + </item> |
| 170 | + </layout> |
| 171 | + </widget> |
| 172 | + </item> |
| 173 | + </layout> |
| 174 | + </item> |
| 175 | + <item row="4" column="0" colspan="2"> |
| 176 | + <widget class="QGroupBox" name="groupBox_3"> |
| 177 | + <property name="title"> |
| 178 | + <string>Widget Type</string> |
| 179 | + </property> |
| 180 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 181 | + <item> |
| 182 | + <widget class="QListWidget" name="selectionListWidget"/> |
| 183 | + </item> |
| 184 | + <item> |
| 185 | + <widget class="QStackedWidget" name="stackedWidget"/> |
| 186 | + </item> |
| 187 | + </layout> |
| 188 | + </widget> |
| 189 | + </item> |
188 | 190 | </layout>
|
189 | 191 | </widget>
|
190 | 192 | <customwidgets>
|
|
219 | 221 | <tabstop>constraintExpressionWidget</tabstop>
|
220 | 222 | <tabstop>leConstraintExpressionDescription</tabstop>
|
221 | 223 | <tabstop>mCheckBoxEnforceExpression</tabstop>
|
222 |
| - <tabstop>selectionListWidget</tabstop> |
223 | 224 | <tabstop>buttonBox</tabstop>
|
224 | 225 | </tabstops>
|
225 | 226 | <resources/>
|
|
0 commit comments