source: sasview/src/sas/qtgui/Perspectives/Fitting/UI/ComplexConstraintUI.ui @ ecc5d043

ESS_GUIESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since ecc5d043 was ecc5d043, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 5 years ago

Reworked the complex constraint functionality SASVIEW-1019

  • Property mode set to 100755
File size: 7.3 KB
Line 
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>478</width>
10    <height>257</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          <property name="sizeAdjustPolicy">
72           <enum>QComboBox::AdjustToContents</enum>
73          </property>
74          <item>
75           <property name="text">
76            <string>sld</string>
77           </property>
78          </item>
79         </widget>
80        </item>
81        <item>
82         <widget class="QComboBox" name="cbOperator">
83          <item>
84           <property name="text">
85            <string>&gt;</string>
86           </property>
87          </item>
88         </widget>
89        </item>
90        <item>
91         <widget class="QLabel" name="txtName2">
92          <property name="text">
93           <string>name2</string>
94          </property>
95         </widget>
96        </item>
97        <item>
98         <widget class="QComboBox" name="cbParam2">
99          <property name="sizePolicy">
100           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
101            <horstretch>0</horstretch>
102            <verstretch>0</verstretch>
103           </sizepolicy>
104          </property>
105          <property name="sizeAdjustPolicy">
106           <enum>QComboBox::AdjustToContents</enum>
107          </property>
108          <item>
109           <property name="text">
110            <string>sld_a</string>
111           </property>
112          </item>
113         </widget>
114        </item>
115        <item>
116         <spacer name="horizontalSpacer">
117          <property name="orientation">
118           <enum>Qt::Horizontal</enum>
119          </property>
120          <property name="sizeHint" stdset="0">
121           <size>
122            <width>40</width>
123            <height>20</height>
124           </size>
125          </property>
126         </spacer>
127        </item>
128        <item>
129         <widget class="QPushButton" name="cmdRevert">
130          <property name="text">
131           <string>Swap</string>
132          </property>
133         </widget>
134        </item>
135       </layout>
136      </item>
137     </layout>
138    </widget>
139   </item>
140   <item row="1" column="0">
141    <widget class="QLabel" name="lblWarning">
142     <property name="text">
143      <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;Warning! Polydisperse parameter selected.&lt;br/&gt;&lt;/span&gt;Constraints involving polydisperse parameters only apply to&lt;br/&gt;starting values and are not re-applied during size or angle polydispersity&lt;br/&gt;integrations. To do so requires creating a custom model.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
144     </property>
145    </widget>
146   </item>
147   <item row="2" column="0">
148    <spacer name="verticalSpacer_2">
149     <property name="orientation">
150      <enum>Qt::Vertical</enum>
151     </property>
152     <property name="sizeHint" stdset="0">
153      <size>
154       <width>20</width>
155       <height>9</height>
156      </size>
157     </property>
158    </spacer>
159   </item>
160   <item row="3" column="0">
161    <layout class="QHBoxLayout" name="horizontalLayout_3">
162     <item>
163      <spacer name="horizontalSpacer_2">
164       <property name="orientation">
165        <enum>Qt::Horizontal</enum>
166       </property>
167       <property name="sizeHint" stdset="0">
168        <size>
169         <width>88</width>
170         <height>20</height>
171        </size>
172       </property>
173      </spacer>
174     </item>
175     <item>
176      <widget class="QToolButton" name="cmdOK">
177       <property name="minimumSize">
178        <size>
179         <width>93</width>
180         <height>28</height>
181        </size>
182       </property>
183       <property name="toolTip">
184        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Add the constraint as defined by the above expression.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
185       </property>
186       <property name="text">
187        <string>Add</string>
188       </property>
189       <property name="popupMode">
190        <enum>QToolButton::MenuButtonPopup</enum>
191       </property>
192       <property name="toolButtonStyle">
193        <enum>Qt::ToolButtonTextOnly</enum>
194       </property>
195       <property name="autoRaise">
196        <bool>false</bool>
197       </property>
198       <property name="arrowType">
199        <enum>Qt::DownArrow</enum>
200       </property>
201      </widget>
202     </item>
203     <item>
204      <widget class="QPushButton" name="cmdCancel">
205       <property name="toolTip">
206        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Close the window.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
207       </property>
208       <property name="text">
209        <string>Close</string>
210       </property>
211      </widget>
212     </item>
213     <item>
214      <widget class="QPushButton" name="cmdHelp">
215       <property name="text">
216        <string>Help</string>
217       </property>
218      </widget>
219     </item>
220    </layout>
221   </item>
222  </layout>
223 </widget>
224 <resources/>
225 <connections>
226  <connection>
227   <sender>cmdCancel</sender>
228   <signal>clicked()</signal>
229   <receiver>ComplexConstraintUI</receiver>
230   <slot>reject()</slot>
231   <hints>
232    <hint type="sourcelabel">
233     <x>230</x>
234     <y>144</y>
235    </hint>
236    <hint type="destinationlabel">
237     <x>179</x>
238     <y>82</y>
239    </hint>
240   </hints>
241  </connection>
242 </connections>
243</ui>
Note: See TracBrowser for help on using the repository browser.