1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ui version="4.0"> |
---|
3 | <class>ComplexConstraintUI</class> |
---|
4 | <widget class="QDialog" name="ComplexConstraintUI"> |
---|
5 | <property name="geometry"> |
---|
6 | <rect> |
---|
7 | <x>0</x> |
---|
8 | <y>0</y> |
---|
9 | <width>367</width> |
---|
10 | <height>199</height> |
---|
11 | </rect> |
---|
12 | </property> |
---|
13 | <property name="windowTitle"> |
---|
14 | <string>Complex Constraint</string> |
---|
15 | </property> |
---|
16 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
17 | <item row="0" column="0"> |
---|
18 | <widget class="QGroupBox" name="groupBox"> |
---|
19 | <property name="title"> |
---|
20 | <string>2 parameter constraint</string> |
---|
21 | </property> |
---|
22 | <layout class="QGridLayout" name="gridLayout"> |
---|
23 | <item row="1" column="0"> |
---|
24 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
---|
25 | <item> |
---|
26 | <widget class="QLabel" name="txtParam"> |
---|
27 | <property name="sizePolicy"> |
---|
28 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
---|
29 | <horstretch>0</horstretch> |
---|
30 | <verstretch>0</verstretch> |
---|
31 | </sizepolicy> |
---|
32 | </property> |
---|
33 | <property name="text"> |
---|
34 | <string>param1</string> |
---|
35 | </property> |
---|
36 | </widget> |
---|
37 | </item> |
---|
38 | <item> |
---|
39 | <widget class="QLabel" name="txtOperator"> |
---|
40 | <property name="text"> |
---|
41 | <string>=</string> |
---|
42 | </property> |
---|
43 | </widget> |
---|
44 | </item> |
---|
45 | <item> |
---|
46 | <widget class="QLineEdit" name="txtConstraint"> |
---|
47 | <property name="text"> |
---|
48 | <string/> |
---|
49 | </property> |
---|
50 | </widget> |
---|
51 | </item> |
---|
52 | </layout> |
---|
53 | </item> |
---|
54 | <item row="0" column="0"> |
---|
55 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
56 | <item> |
---|
57 | <widget class="QLabel" name="txtName1"> |
---|
58 | <property name="text"> |
---|
59 | <string>name1</string> |
---|
60 | </property> |
---|
61 | </widget> |
---|
62 | </item> |
---|
63 | <item> |
---|
64 | <widget class="QComboBox" name="cbParam1"> |
---|
65 | <property name="sizePolicy"> |
---|
66 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
67 | <horstretch>0</horstretch> |
---|
68 | <verstretch>0</verstretch> |
---|
69 | </sizepolicy> |
---|
70 | </property> |
---|
71 | <item> |
---|
72 | <property name="text"> |
---|
73 | <string>sld</string> |
---|
74 | </property> |
---|
75 | </item> |
---|
76 | </widget> |
---|
77 | </item> |
---|
78 | <item> |
---|
79 | <widget class="QComboBox" name="cbOperator"> |
---|
80 | <item> |
---|
81 | <property name="text"> |
---|
82 | <string>></string> |
---|
83 | </property> |
---|
84 | </item> |
---|
85 | </widget> |
---|
86 | </item> |
---|
87 | <item> |
---|
88 | <widget class="QLabel" name="txtName2"> |
---|
89 | <property name="text"> |
---|
90 | <string>name2</string> |
---|
91 | </property> |
---|
92 | </widget> |
---|
93 | </item> |
---|
94 | <item> |
---|
95 | <widget class="QComboBox" name="cbParam2"> |
---|
96 | <property name="sizePolicy"> |
---|
97 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
98 | <horstretch>0</horstretch> |
---|
99 | <verstretch>0</verstretch> |
---|
100 | </sizepolicy> |
---|
101 | </property> |
---|
102 | <item> |
---|
103 | <property name="text"> |
---|
104 | <string>sld_a</string> |
---|
105 | </property> |
---|
106 | </item> |
---|
107 | </widget> |
---|
108 | </item> |
---|
109 | <item> |
---|
110 | <spacer name="horizontalSpacer"> |
---|
111 | <property name="orientation"> |
---|
112 | <enum>Qt::Horizontal</enum> |
---|
113 | </property> |
---|
114 | <property name="sizeHint" stdset="0"> |
---|
115 | <size> |
---|
116 | <width>40</width> |
---|
117 | <height>20</height> |
---|
118 | </size> |
---|
119 | </property> |
---|
120 | </spacer> |
---|
121 | </item> |
---|
122 | <item> |
---|
123 | <widget class="QPushButton" name="cmdRevert"> |
---|
124 | <property name="text"> |
---|
125 | <string>Swap</string> |
---|
126 | </property> |
---|
127 | </widget> |
---|
128 | </item> |
---|
129 | </layout> |
---|
130 | </item> |
---|
131 | </layout> |
---|
132 | </widget> |
---|
133 | </item> |
---|
134 | <item row="1" column="0"> |
---|
135 | <widget class="QLabel" name="lblWarning"> |
---|
136 | <property name="text"> |
---|
137 | <string><html><head/><body><p><span style=" color:#ff0000;">Warning! Polydisperse parameter selected.<br/></span>Constraints involving polydisperse parameters only apply to<br/>starting values and are not re-applied during size or angle polydispersity<br/>integrations. To do so requires creating a custom model.</p></body></html></string> |
---|
138 | </property> |
---|
139 | </widget> |
---|
140 | </item> |
---|
141 | <item row="2" column="0"> |
---|
142 | <spacer name="verticalSpacer_2"> |
---|
143 | <property name="orientation"> |
---|
144 | <enum>Qt::Vertical</enum> |
---|
145 | </property> |
---|
146 | <property name="sizeHint" stdset="0"> |
---|
147 | <size> |
---|
148 | <width>20</width> |
---|
149 | <height>9</height> |
---|
150 | </size> |
---|
151 | </property> |
---|
152 | </spacer> |
---|
153 | </item> |
---|
154 | <item row="3" column="0"> |
---|
155 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
---|
156 | <item> |
---|
157 | <spacer name="horizontalSpacer_2"> |
---|
158 | <property name="orientation"> |
---|
159 | <enum>Qt::Horizontal</enum> |
---|
160 | </property> |
---|
161 | <property name="sizeHint" stdset="0"> |
---|
162 | <size> |
---|
163 | <width>40</width> |
---|
164 | <height>20</height> |
---|
165 | </size> |
---|
166 | </property> |
---|
167 | </spacer> |
---|
168 | </item> |
---|
169 | <item> |
---|
170 | <widget class="QPushButton" name="cmdOK"> |
---|
171 | <property name="text"> |
---|
172 | <string>OK</string> |
---|
173 | </property> |
---|
174 | <property name="default"> |
---|
175 | <bool>false</bool> |
---|
176 | </property> |
---|
177 | </widget> |
---|
178 | </item> |
---|
179 | <item> |
---|
180 | <widget class="QPushButton" name="cmdCancel"> |
---|
181 | <property name="text"> |
---|
182 | <string>Cancel</string> |
---|
183 | </property> |
---|
184 | </widget> |
---|
185 | </item> |
---|
186 | <item> |
---|
187 | <widget class="QPushButton" name="cmdHelp"> |
---|
188 | <property name="text"> |
---|
189 | <string>Help</string> |
---|
190 | </property> |
---|
191 | </widget> |
---|
192 | </item> |
---|
193 | </layout> |
---|
194 | </item> |
---|
195 | </layout> |
---|
196 | </widget> |
---|
197 | <resources/> |
---|
198 | <connections> |
---|
199 | <connection> |
---|
200 | <sender>cmdOK</sender> |
---|
201 | <signal>clicked()</signal> |
---|
202 | <receiver>ComplexConstraintUI</receiver> |
---|
203 | <slot>accept()</slot> |
---|
204 | <hints> |
---|
205 | <hint type="sourcelabel"> |
---|
206 | <x>149</x> |
---|
207 | <y>144</y> |
---|
208 | </hint> |
---|
209 | <hint type="destinationlabel"> |
---|
210 | <x>179</x> |
---|
211 | <y>82</y> |
---|
212 | </hint> |
---|
213 | </hints> |
---|
214 | </connection> |
---|
215 | <connection> |
---|
216 | <sender>cmdCancel</sender> |
---|
217 | <signal>clicked()</signal> |
---|
218 | <receiver>ComplexConstraintUI</receiver> |
---|
219 | <slot>reject()</slot> |
---|
220 | <hints> |
---|
221 | <hint type="sourcelabel"> |
---|
222 | <x>230</x> |
---|
223 | <y>144</y> |
---|
224 | </hint> |
---|
225 | <hint type="destinationlabel"> |
---|
226 | <x>179</x> |
---|
227 | <y>82</y> |
---|
228 | </hint> |
---|
229 | </hints> |
---|
230 | </connection> |
---|
231 | </connections> |
---|
232 | </ui> |
---|