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

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since a90c9c5 was a90c9c5, checked in by Piotr Rozyczko <rozyczko@…>, 6 years ago

Minor corrections to GUI and unit tests

  • Property mode set to 100755
File size: 6.0 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>406</width>
10    <height>167</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="0" column="0">
24       <layout class="QHBoxLayout" name="horizontalLayout">
25        <item>
26         <widget class="QLabel" name="txtName1">
27          <property name="text">
28           <string>name1</string>
29          </property>
30         </widget>
31        </item>
32        <item>
33         <widget class="QComboBox" name="cbParam1">
34          <property name="sizePolicy">
35           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
36            <horstretch>0</horstretch>
37            <verstretch>0</verstretch>
38           </sizepolicy>
39          </property>
40          <item>
41           <property name="text">
42            <string>sld</string>
43           </property>
44          </item>
45         </widget>
46        </item>
47        <item>
48         <widget class="QComboBox" name="cbOperator">
49          <item>
50           <property name="text">
51            <string>&gt;</string>
52           </property>
53          </item>
54         </widget>
55        </item>
56        <item>
57         <widget class="QLabel" name="txtName2">
58          <property name="text">
59           <string>name2</string>
60          </property>
61         </widget>
62        </item>
63        <item>
64         <widget class="QComboBox" name="cbParam2">
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_a</string>
74           </property>
75          </item>
76         </widget>
77        </item>
78        <item>
79         <spacer name="horizontalSpacer">
80          <property name="orientation">
81           <enum>Qt::Horizontal</enum>
82          </property>
83          <property name="sizeHint" stdset="0">
84           <size>
85            <width>40</width>
86            <height>20</height>
87           </size>
88          </property>
89         </spacer>
90        </item>
91        <item>
92         <widget class="QPushButton" name="cmdRevert">
93          <property name="text">
94           <string>Swap</string>
95          </property>
96         </widget>
97        </item>
98       </layout>
99      </item>
100      <item row="1" column="0">
101       <spacer name="verticalSpacer">
102        <property name="orientation">
103         <enum>Qt::Vertical</enum>
104        </property>
105        <property name="sizeHint" stdset="0">
106         <size>
107          <width>20</width>
108          <height>25</height>
109         </size>
110        </property>
111       </spacer>
112      </item>
113      <item row="2" column="0">
114       <layout class="QHBoxLayout" name="horizontalLayout_2">
115        <item>
116         <widget class="QLabel" name="txtParam">
117          <property name="sizePolicy">
118           <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
119            <horstretch>0</horstretch>
120            <verstretch>0</verstretch>
121           </sizepolicy>
122          </property>
123          <property name="text">
124           <string>param1</string>
125          </property>
126         </widget>
127        </item>
128        <item>
129         <widget class="QLabel" name="txtOperator">
130          <property name="text">
131           <string>=</string>
132          </property>
133         </widget>
134        </item>
135        <item>
136         <widget class="QLineEdit" name="txtConstraint">
137          <property name="text">
138           <string/>
139          </property>
140         </widget>
141        </item>
142       </layout>
143      </item>
144     </layout>
145    </widget>
146   </item>
147   <item row="1" column="0">
148    <layout class="QHBoxLayout" name="horizontalLayout_3">
149     <item>
150      <spacer name="horizontalSpacer_2">
151       <property name="orientation">
152        <enum>Qt::Horizontal</enum>
153       </property>
154       <property name="sizeHint" stdset="0">
155        <size>
156         <width>40</width>
157         <height>20</height>
158        </size>
159       </property>
160      </spacer>
161     </item>
162     <item>
163      <widget class="QPushButton" name="cmdOK">
164       <property name="text">
165        <string>OK</string>
166       </property>
167       <property name="default">
168        <bool>false</bool>
169       </property>
170      </widget>
171     </item>
172     <item>
173      <widget class="QPushButton" name="cmdCancel">
174       <property name="text">
175        <string>Cancel</string>
176       </property>
177      </widget>
178     </item>
179     <item>
180      <widget class="QPushButton" name="cmdHelp">
181       <property name="text">
182        <string>Help</string>
183       </property>
184      </widget>
185     </item>
186    </layout>
187   </item>
188  </layout>
189 </widget>
190 <resources/>
191 <connections>
192  <connection>
193   <sender>cmdOK</sender>
194   <signal>clicked()</signal>
195   <receiver>ComplexConstraintUI</receiver>
196   <slot>accept()</slot>
197   <hints>
198    <hint type="sourcelabel">
199     <x>149</x>
200     <y>144</y>
201    </hint>
202    <hint type="destinationlabel">
203     <x>179</x>
204     <y>82</y>
205    </hint>
206   </hints>
207  </connection>
208  <connection>
209   <sender>cmdCancel</sender>
210   <signal>clicked()</signal>
211   <receiver>ComplexConstraintUI</receiver>
212   <slot>reject()</slot>
213   <hints>
214    <hint type="sourcelabel">
215     <x>230</x>
216     <y>144</y>
217    </hint>
218    <hint type="destinationlabel">
219     <x>179</x>
220     <y>82</y>
221    </hint>
222   </hints>
223  </connection>
224 </connections>
225</ui>
Note: See TracBrowser for help on using the repository browser.