Debian Codegraph @

src/Gui/Dialogs/DlgExpressionInput.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>DlgExpressionInput</class>
4 <widget class="QDialog" name="DlgExpressionInput">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>414</width>
10 <height>298</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="minimumSize">
20 <size>
21 <width>350</width>
22 <height>0</height>
23 </size>
24 </property>
25 <property name="windowTitle">
26 <string>Expression Editor</string>
27 </property>
28 <layout class="QVBoxLayout" name="verticalLayout">
29 <property name="spacing">
30 <number>3</number>
31 </property>
32 <property name="sizeConstraint">
33 <enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
34 </property>
35 <property name="margin" stdset="0">
36 <number>0</number>
37 </property>
38 <item>
39 <layout class="QHBoxLayout" name="horizontalLayout_2">
40 <item>
41 <layout class="QVBoxLayout" name="verticalLayout_2">
42 <property name="spacing">
43 <number>0</number>
44 </property>
45 <property name="margin" stdset="0">
46 <number>0</number>
47 </property>
48 <item>
49 <layout class="QHBoxLayout" name="horizontalLayout_5">
50 <item>
51 <widget class="Gui::ExpressionTextEdit" name="expression">
52 <property name="sizePolicy">
53 <sizepolicy hsizetype="Ignored" vsizetype="MinimumExpanding">
54 <horstretch>0</horstretch>
55 <verstretch>0</verstretch>
56 </sizepolicy>
57 </property>
58 <property name="minimumSize">
59 <size>
60 <width>10</width>
61 <height>10</height>
62 </size>
63 </property>
64 </widget>
65 </item>
66 </layout>
67 </item>
68 <item>
69 <widget class="QFrame" name="ctrlArea">
70 <property name="sizePolicy">
71 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
72 <horstretch>0</horstretch>
73 <verstretch>0</verstretch>
74 </sizepolicy>
75 </property>
76 <property name="autoFillBackground">
77 <bool>true</bool>
78 </property>
79 <property name="frameShape">
80 <enum>QFrame::Shape::StyledPanel</enum>
81 </property>
82 <property name="frameShadow">
83 <enum>QFrame::Shadow::Raised</enum>
84 </property>
85 <layout class="QHBoxLayout" name="horizontalLayout_4">
86 <property name="spacing">
87 <number>4</number>
88 </property>
89 <property name="margin" stdset="0">
90 <number>2</number>
91 </property>
92 <item>
93 <widget class="QLabel" name="label">
94 <property name="sizePolicy">
95 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
96 <horstretch>0</horstretch>
97 <verstretch>0</verstretch>
98 </sizepolicy>
99 </property>
100 <property name="text">
101 <string>Result</string>
102 </property>
103 </widget>
104 </item>
105 <item>
106 <widget class="QLabel" name="msg">
107 <property name="sizePolicy">
108 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
109 <horstretch>0</horstretch>
110 <verstretch>0</verstretch>
111 </sizepolicy>
112 </property>
113 <property name="palette">
114 <palette>
115 <active>
116 <colorrole role="Text">
117 <brush brushstyle="SolidPattern">
118 <color alpha="255">
119 <red>255</red>
120 <green>0</green>
121 <blue>0</blue>
122 </color>
123 </brush>
124 </colorrole>
125 </active>
126 <inactive>
127 <colorrole role="Text">
128 <brush brushstyle="SolidPattern">
129 <color alpha="255">
130 <red>255</red>
131 <green>0</green>
132 <blue>0</blue>
133 </color>
134 </brush>
135 </colorrole>
136 </inactive>
137 <disabled>
138 <colorrole role="Text">
139 <brush brushstyle="SolidPattern">
140 <color alpha="255">
141 <red>190</red>
142 <green>190</green>
143 <blue>190</blue>
144 </color>
145 </brush>
146 </colorrole>
147 </disabled>
148 </palette>
149 </property>
150 <property name="text">
151 <string/>
152 </property>
153 </widget>
154 </item>
155 </layout>
156 </widget>
157 </item>
158 </layout>
159 </item>
160 <item>
161 <spacer name="horizontalSpacer">
162 <property name="orientation">
163 <enum>Qt::Orientation::Horizontal</enum>
164 </property>
165 <property name="sizeType">
166 <enum>QSizePolicy::Policy::Fixed</enum>
167 </property>
168 <property name="sizeHint" stdset="0">
169 <size>
170 <width>0</width>
171 <height>20</height>
172 </size>
173 </property>
174 </spacer>
175 </item>
176 </layout>
177 </item>
178 <item>
179 <layout class="QHBoxLayout" name="horizontalLayout_3">
180 <item>
181 <widget class="QCheckBox" name="checkBoxVarSets">
182 <property name="toolTip">
183 <string>Store the expression in a newly created property in the selected Variable Set.
184 The property of this object will refer to the property of the Variable Set.</string>
185 </property>
186 <property name="text">
187 <string>Store in Variable Set...</string>
188 </property>
189 </widget>
190 </item>
191 </layout>
192 </item>
193 <item>
194 <widget class="QGroupBox" name="groupBoxVarSets">
195 <property name="title">
196 <string/>
197 </property>
198 <layout class="QVBoxLayout" name="verticalLayout_3">
199 <item>
200 <widget class="QFrame" name="errorFrame">
201 <property name="enabled">
202 <bool>true</bool>
203 </property>
204 <property name="sizePolicy">
205 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
206 <horstretch>0</horstretch>
207 <verstretch>0</verstretch>
208 </sizepolicy>
209 </property>
210 <property name="minimumSize">
211 <size>
212 <width>0</width>
213 <height>0</height>
214 </size>
215 </property>
216 <property name="styleSheet">
217 <string notr="true">#errorFrame { border: 1px solid red; border-radius: 5px; background-color: #f8d7da; color: #721c24; } #errorTextLabel { color: #721c24; }</string>
218 </property>
219 <property name="frameShape">
220 <enum>QFrame::Shape::StyledPanel</enum>
221 </property>
222 <property name="frameShadow">
223 <enum>QFrame::Shadow::Raised</enum>
224 </property>
225 <layout class="QHBoxLayout" name="horizontalLayout">
226 <property name="leftMargin">
227 <number>5</number>
228 </property>
229 <property name="topMargin">
230 <number>5</number>
231 </property>
232 <property name="rightMargin">
233 <number>5</number>
234 </property>
235 <property name="bottomMargin">
236 <number>5</number>
237 </property>
238 <item>
239 <widget class="QLabel" name="errorIconLabel">
240 <property name="sizePolicy">
241 <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
242 <horstretch>0</horstretch>
243 <verstretch>0</verstretch>
244 </sizepolicy>
245 </property>
246 <property name="text">
247 <string/>
248 </property>
249 </widget>
250 </item>
251 <item>
252 <widget class="QLabel" name="errorTextLabel">
253 <property name="sizePolicy">
254 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
255 <horstretch>0</horstretch>
256 <verstretch>0</verstretch>
257 </sizepolicy>
258 </property>
259 <property name="text">
260 <string>Error</string>
261 </property>
262 <property name="textFormat">
263 <enum>Qt::TextFormat::PlainText</enum>
264 </property>
265 <property name="alignment">
266 <set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter</set>
267 </property>
268 <property name="wordWrap">
269 <bool>true</bool>
270 </property>
271 <property name="margin">
272 <number>0</number>
273 </property>
274 </widget>
275 </item>
276 </layout>
277 </widget>
278 </item>
279 <item>
280 <layout class="QFormLayout" name="formLayout">
281 <item row="0" column="0">
282 <widget class="QLabel" name="labelVarSet">
283 <property name="text">
284 <string>Variable Set</string>
285 </property>
286 </widget>
287 </item>
288 <item row="0" column="1">
289 <widget class="QComboBox" name="comboBoxVarSet"/>
290 </item>
291 <item row="1" column="0">
292 <widget class="QLabel" name="labelGroup">
293 <property name="text">
294 <string>Group</string>
295 </property>
296 </widget>
297 </item>
298 <item row="2" column="0">
299 <widget class="QLabel" name="LabelPropNew">
300 <property name="text">
301 <string>Name</string>
302 </property>
303 </widget>
304 </item>
305 <item row="2" column="1">
306 <widget class="QLineEdit" name="lineEditPropNew">
307 <property name="sizePolicy">
308 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
309 <horstretch>0</horstretch>
310 <verstretch>0</verstretch>
311 </sizepolicy>
312 </property>
313 </widget>
314 </item>
315 </layout>
316 </item>
317 </layout>
318 </widget>
319 </item>
320 <item>
321 <layout class="QHBoxLayout" name="horizontalLayout_6">
322 <item>
323 <spacer name="horizontalSpacer_2">
324 <property name="orientation">
325 <enum>Qt::Horizontal</enum>
326 </property>
327 <property name="sizeHint" stdset="0">
328 <size>
329 <width>0</width>
330 <height>20</height>
331 </size>
332 </property>
333 </spacer>
334 </item>
335 <item>
336 <widget class="QDialogButtonBox" name="buttonBox">
337 <property name="sizePolicy">
338 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
339 <horstretch>0</horstretch>
340 <verstretch>0</verstretch>
341 </sizepolicy>
342 </property>
343 <property name="standardButtons">
344 <set>QDialogButtonBox::StandardButton::Ok|QDialogButtonBox::StandardButton::Reset</set>
345 </property>
346 </widget>
347 </item>
348 </layout>
349 </item>
350 </layout>
351 </widget>
352 <customwidgets>
353 <customwidget>
354 <class>Gui::ExpressionTextEdit</class>
355 <extends>QTextEdit</extends>
356 <header>ExpressionCompleter.h</header>
357 </customwidget>
358 </customwidgets>
359 <tabstops>
360 <tabstop>expression</tabstop>
361 </tabstops>
362 <resources/>
363 <connections>
364 <connection>
365 <sender>buttonBox</sender>
366 <signal>accepted()</signal>
367 <receiver>DlgExpressionInput</receiver>
368 <slot>accept()</slot>
369 <hints>
370 <hint type="sourcelabel">
371 <x>275</x>
372 <y>94</y>
373 </hint>
374 <hint type="destinationlabel">
375 <x>310</x>
376 <y>63</y>
377 </hint>
378 </hints>
379 </connection>
380 </connections>
381 </ui>