|
13 | 13 | <property name="windowTitle">
|
14 | 14 | <string>Edit Widget Properties</string>
|
15 | 15 | </property>
|
16 |
| - <layout class="QGridLayout" name="gridLayout"> |
17 |
| - <item row="5" column="1"> |
18 |
| - <widget class="QStackedWidget" name="stackedWidget"/> |
19 |
| - </item> |
20 |
| - <item row="4" column="1"> |
21 |
| - <widget class="QgsCollapsibleGroupBox" name="groupBox"> |
22 |
| - <property name="title"> |
23 |
| - <string>Constraints</string> |
| 16 | + <layout class="QGridLayout" name="gridLayout_3"> |
| 17 | + <property name="leftMargin"> |
| 18 | + <number>8</number> |
| 19 | + </property> |
| 20 | + <property name="topMargin"> |
| 21 | + <number>8</number> |
| 22 | + </property> |
| 23 | + <property name="rightMargin"> |
| 24 | + <number>8</number> |
| 25 | + </property> |
| 26 | + <property name="bottomMargin"> |
| 27 | + <number>8</number> |
| 28 | + </property> |
| 29 | + <item row="0" column="0"> |
| 30 | + <widget class="QListWidget" name="selectionListWidget"> |
| 31 | + <property name="resizeMode"> |
| 32 | + <enum>QListView::Fixed</enum> |
24 | 33 | </property>
|
25 |
| - <layout class="QVBoxLayout" name="verticalLayout"> |
26 |
| - <item> |
27 |
| - <widget class="QCheckBox" name="notNullCheckBox"> |
28 |
| - <property name="text"> |
29 |
| - <string>Not null</string> |
30 |
| - </property> |
31 |
| - </widget> |
32 |
| - </item> |
33 |
| - <item> |
34 |
| - <layout class="QHBoxLayout" name="horizontalLayout_2"> |
35 |
| - <property name="topMargin"> |
36 |
| - <number>0</number> |
37 |
| - </property> |
38 |
| - <item> |
39 |
| - <widget class="QLabel" name="label"> |
40 |
| - <property name="text"> |
41 |
| - <string>Constraint</string> |
42 |
| - </property> |
43 |
| - </widget> |
44 |
| - </item> |
45 |
| - <item> |
46 |
| - <widget class="QgsFieldExpressionWidget" name="constraintExpressionWidget" native="true"> |
47 |
| - <property name="focusPolicy"> |
48 |
| - <enum>Qt::StrongFocus</enum> |
49 |
| - </property> |
50 |
| - </widget> |
51 |
| - </item> |
52 |
| - </layout> |
53 |
| - </item> |
54 |
| - <item> |
55 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
56 |
| - <property name="bottomMargin"> |
57 |
| - <number>0</number> |
58 |
| - </property> |
59 |
| - <item> |
60 |
| - <widget class="QLabel" name="label_2"> |
61 |
| - <property name="text"> |
62 |
| - <string>Constraint description</string> |
63 |
| - </property> |
64 |
| - </widget> |
65 |
| - </item> |
66 |
| - <item> |
67 |
| - <widget class="QLineEdit" name="leConstraintExpressionDescription"/> |
68 |
| - </item> |
69 |
| - </layout> |
70 |
| - </item> |
71 |
| - </layout> |
72 | 34 | </widget>
|
73 | 35 | </item>
|
74 | 36 | <item row="0" column="1">
|
75 |
| - <widget class="QCheckBox" name="isFieldEditableCheckBox"> |
76 |
| - <property name="text"> |
77 |
| - <string>Editable</string> |
| 37 | + <widget class="QScrollArea" name="scrollArea"> |
| 38 | + <property name="frameShape"> |
| 39 | + <enum>QFrame::NoFrame</enum> |
78 | 40 | </property>
|
79 |
| - <property name="checked"> |
| 41 | + <property name="widgetResizable"> |
80 | 42 | <bool>true</bool>
|
81 | 43 | </property>
|
| 44 | + <widget class="QWidget" name="scrollAreaWidgetContents_3"> |
| 45 | + <property name="geometry"> |
| 46 | + <rect> |
| 47 | + <x>0</x> |
| 48 | + <y>0</y> |
| 49 | + <width>523</width> |
| 50 | + <height>431</height> |
| 51 | + </rect> |
| 52 | + </property> |
| 53 | + <layout class="QGridLayout" name="gridLayout"> |
| 54 | + <property name="leftMargin"> |
| 55 | + <number>0</number> |
| 56 | + </property> |
| 57 | + <property name="topMargin"> |
| 58 | + <number>0</number> |
| 59 | + </property> |
| 60 | + <property name="rightMargin"> |
| 61 | + <number>0</number> |
| 62 | + </property> |
| 63 | + <property name="bottomMargin"> |
| 64 | + <number>0</number> |
| 65 | + </property> |
| 66 | + <item row="0" column="2"> |
| 67 | + <widget class="QCheckBox" name="isFieldEditableCheckBox"> |
| 68 | + <property name="text"> |
| 69 | + <string>Editable</string> |
| 70 | + </property> |
| 71 | + <property name="checked"> |
| 72 | + <bool>true</bool> |
| 73 | + </property> |
| 74 | + </widget> |
| 75 | + </item> |
| 76 | + <item row="4" column="2"> |
| 77 | + <widget class="QStackedWidget" name="stackedWidget"/> |
| 78 | + </item> |
| 79 | + <item row="3" column="2"> |
| 80 | + <widget class="QgsCollapsibleGroupBox" name="groupBox"> |
| 81 | + <property name="title"> |
| 82 | + <string>Constraints</string> |
| 83 | + </property> |
| 84 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 85 | + <item> |
| 86 | + <widget class="QCheckBox" name="notNullCheckBox"> |
| 87 | + <property name="text"> |
| 88 | + <string>Not null</string> |
| 89 | + </property> |
| 90 | + </widget> |
| 91 | + </item> |
| 92 | + <item> |
| 93 | + <layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 94 | + <property name="topMargin"> |
| 95 | + <number>0</number> |
| 96 | + </property> |
| 97 | + <item> |
| 98 | + <widget class="QLabel" name="label"> |
| 99 | + <property name="text"> |
| 100 | + <string>Constraint</string> |
| 101 | + </property> |
| 102 | + </widget> |
| 103 | + </item> |
| 104 | + <item> |
| 105 | + <widget class="QgsFieldExpressionWidget" name="constraintExpressionWidget" native="true"> |
| 106 | + <property name="focusPolicy"> |
| 107 | + <enum>Qt::StrongFocus</enum> |
| 108 | + </property> |
| 109 | + </widget> |
| 110 | + </item> |
| 111 | + </layout> |
| 112 | + </item> |
| 113 | + <item> |
| 114 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 115 | + <property name="bottomMargin"> |
| 116 | + <number>0</number> |
| 117 | + </property> |
| 118 | + <item> |
| 119 | + <widget class="QLabel" name="label_2"> |
| 120 | + <property name="text"> |
| 121 | + <string>Constraint description</string> |
| 122 | + </property> |
| 123 | + </widget> |
| 124 | + </item> |
| 125 | + <item> |
| 126 | + <widget class="QLineEdit" name="leConstraintExpressionDescription"/> |
| 127 | + </item> |
| 128 | + </layout> |
| 129 | + </item> |
| 130 | + </layout> |
| 131 | + </widget> |
| 132 | + </item> |
| 133 | + <item row="2" column="2"> |
| 134 | + <widget class="QGroupBox" name="groupBox_2"> |
| 135 | + <property name="title"> |
| 136 | + <string>Defaults</string> |
| 137 | + </property> |
| 138 | + <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1"> |
| 139 | + <item row="0" column="0"> |
| 140 | + <widget class="QLabel" name="label_3"> |
| 141 | + <property name="text"> |
| 142 | + <string>Default value</string> |
| 143 | + </property> |
| 144 | + </widget> |
| 145 | + </item> |
| 146 | + <item row="1" column="0"> |
| 147 | + <widget class="QLabel" name="label_4"> |
| 148 | + <property name="text"> |
| 149 | + <string>Preview</string> |
| 150 | + </property> |
| 151 | + </widget> |
| 152 | + </item> |
| 153 | + <item row="0" column="1"> |
| 154 | + <widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true"> |
| 155 | + <property name="focusPolicy"> |
| 156 | + <enum>Qt::StrongFocus</enum> |
| 157 | + </property> |
| 158 | + </widget> |
| 159 | + </item> |
| 160 | + <item row="1" column="1"> |
| 161 | + <widget class="QLabel" name="mDefaultPreviewLabel"> |
| 162 | + <property name="text"> |
| 163 | + <string/> |
| 164 | + </property> |
| 165 | + </widget> |
| 166 | + </item> |
| 167 | + </layout> |
| 168 | + </widget> |
| 169 | + </item> |
| 170 | + <item row="1" column="2"> |
| 171 | + <widget class="QCheckBox" name="labelOnTopCheckBox"> |
| 172 | + <property name="text"> |
| 173 | + <string>Label on top</string> |
| 174 | + </property> |
| 175 | + <property name="checked"> |
| 176 | + <bool>false</bool> |
| 177 | + </property> |
| 178 | + </widget> |
| 179 | + </item> |
| 180 | + </layout> |
| 181 | + <zorder>groupBox_2</zorder> |
| 182 | + <zorder>labelOnTopCheckBox</zorder> |
| 183 | + <zorder>isFieldEditableCheckBox</zorder> |
| 184 | + <zorder>notNullCheckBox</zorder> |
| 185 | + <zorder>groupBox</zorder> |
| 186 | + <zorder>stackedWidget</zorder> |
| 187 | + </widget> |
82 | 188 | </widget>
|
83 | 189 | </item>
|
84 |
| - <item row="2" column="1"> |
85 |
| - <widget class="QGroupBox" name="groupBox_2"> |
86 |
| - <property name="title"> |
87 |
| - <string>Defaults</string> |
88 |
| - </property> |
89 |
| - <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1"> |
90 |
| - <item row="0" column="0"> |
91 |
| - <widget class="QLabel" name="label_3"> |
92 |
| - <property name="text"> |
93 |
| - <string>Default value</string> |
94 |
| - </property> |
95 |
| - </widget> |
96 |
| - </item> |
97 |
| - <item row="1" column="0"> |
98 |
| - <widget class="QLabel" name="label_4"> |
99 |
| - <property name="text"> |
100 |
| - <string>Preview</string> |
101 |
| - </property> |
102 |
| - </widget> |
103 |
| - </item> |
104 |
| - <item row="0" column="1"> |
105 |
| - <widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true"> |
106 |
| - <property name="focusPolicy"> |
107 |
| - <enum>Qt::StrongFocus</enum> |
108 |
| - </property> |
109 |
| - </widget> |
110 |
| - </item> |
111 |
| - <item row="1" column="1"> |
112 |
| - <widget class="QLabel" name="mDefaultPreviewLabel"> |
113 |
| - <property name="text"> |
114 |
| - <string/> |
115 |
| - </property> |
116 |
| - </widget> |
117 |
| - </item> |
118 |
| - </layout> |
119 |
| - </widget> |
120 |
| - </item> |
121 |
| - <item row="1" column="1"> |
122 |
| - <widget class="QCheckBox" name="labelOnTopCheckBox"> |
123 |
| - <property name="text"> |
124 |
| - <string>Label on top</string> |
125 |
| - </property> |
126 |
| - <property name="checked"> |
127 |
| - <bool>false</bool> |
128 |
| - </property> |
129 |
| - </widget> |
130 |
| - </item> |
131 |
| - <item row="0" column="0" rowspan="7"> |
132 |
| - <widget class="QListWidget" name="selectionListWidget"/> |
133 |
| - </item> |
134 |
| - <item row="6" column="1"> |
| 190 | + <item row="1" column="0" colspan="2"> |
135 | 191 | <widget class="QDialogButtonBox" name="buttonBox">
|
136 | 192 | <property name="orientation">
|
137 | 193 | <enum>Qt::Horizontal</enum>
|
|
164 | 220 | </customwidget>
|
165 | 221 | </customwidgets>
|
166 | 222 | <tabstops>
|
167 |
| - <tabstop>selectionListWidget</tabstop> |
168 | 223 | <tabstop>isFieldEditableCheckBox</tabstop>
|
169 | 224 | <tabstop>labelOnTopCheckBox</tabstop>
|
170 | 225 | <tabstop>mExpressionWidget</tabstop>
|
|
0 commit comments