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

ESS_GUI
Last change on this file was 33c0561, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 5 years ago

Replace Apply button menu driven functionality with additional button.
Removed Cancel.
Removed the window system context help button from all affected widgets.
SASVIEW-1239

  • Property mode set to 100755
File size: 7.1 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>496</width>
10    <height>260</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="QComboBox" name="cbModel1"/>
27        </item>
28        <item>
29         <widget class="QComboBox" name="cbParam1">
30          <property name="sizePolicy">
31           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
32            <horstretch>0</horstretch>
33            <verstretch>0</verstretch>
34           </sizepolicy>
35          </property>
36          <property name="sizeAdjustPolicy">
37           <enum>QComboBox::AdjustToContents</enum>
38          </property>
39          <item>
40           <property name="text">
41            <string>sld</string>
42           </property>
43          </item>
44         </widget>
45        </item>
46        <item>
47         <widget class="QComboBox" name="cbOperator">
48          <item>
49           <property name="text">
50            <string>&gt;</string>
51           </property>
52          </item>
53         </widget>
54        </item>
55        <item>
56         <widget class="QComboBox" name="cbModel2"/>
57        </item>
58        <item>
59         <widget class="QComboBox" name="cbParam2">
60          <property name="sizePolicy">
61           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
62            <horstretch>0</horstretch>
63            <verstretch>0</verstretch>
64           </sizepolicy>
65          </property>
66          <property name="sizeAdjustPolicy">
67           <enum>QComboBox::AdjustToContents</enum>
68          </property>
69          <item>
70           <property name="text">
71            <string>sld_a</string>
72           </property>
73          </item>
74         </widget>
75        </item>
76       </layout>
77      </item>
78      <item row="1" column="0">
79       <layout class="QHBoxLayout" name="horizontalLayout_2">
80        <item>
81         <widget class="QLabel" name="txtParam">
82          <property name="sizePolicy">
83           <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
84            <horstretch>0</horstretch>
85            <verstretch>0</verstretch>
86           </sizepolicy>
87          </property>
88          <property name="text">
89           <string>param1</string>
90          </property>
91         </widget>
92        </item>
93        <item>
94         <widget class="QLabel" name="txtOperator">
95          <property name="text">
96           <string>=</string>
97          </property>
98         </widget>
99        </item>
100        <item>
101         <widget class="QLineEdit" name="txtConstraint">
102          <property name="text">
103           <string/>
104          </property>
105         </widget>
106        </item>
107       </layout>
108      </item>
109     </layout>
110    </widget>
111   </item>
112   <item row="1" column="0">
113    <widget class="QLabel" name="lblWarning">
114     <property name="text">
115      <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>
116     </property>
117    </widget>
118   </item>
119   <item row="2" column="0">
120    <spacer name="verticalSpacer_2">
121     <property name="orientation">
122      <enum>Qt::Vertical</enum>
123     </property>
124     <property name="sizeHint" stdset="0">
125      <size>
126       <width>20</width>
127       <height>9</height>
128      </size>
129     </property>
130    </spacer>
131   </item>
132   <item row="3" column="0">
133    <layout class="QHBoxLayout" name="horizontalLayout_3">
134     <item>
135      <spacer name="horizontalSpacer_2">
136       <property name="orientation">
137        <enum>Qt::Horizontal</enum>
138       </property>
139       <property name="sizeHint" stdset="0">
140        <size>
141         <width>58</width>
142         <height>20</height>
143        </size>
144       </property>
145      </spacer>
146     </item>
147     <item>
148      <widget class="QToolButton" name="cmdAddAll">
149       <property name="sizePolicy">
150        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
151         <horstretch>0</horstretch>
152         <verstretch>0</verstretch>
153        </sizepolicy>
154       </property>
155       <property name="minimumSize">
156        <size>
157         <width>93</width>
158         <height>28</height>
159        </size>
160       </property>
161       <property name="toolTip">
162        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Add constraints between all identically named parameters in both fitpages&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
163       </property>
164       <property name="text">
165        <string>Add All</string>
166       </property>
167       <property name="popupMode">
168        <enum>QToolButton::InstantPopup</enum>
169       </property>
170       <property name="toolButtonStyle">
171        <enum>Qt::ToolButtonTextOnly</enum>
172       </property>
173       <property name="autoRaise">
174        <bool>false</bool>
175       </property>
176       <property name="arrowType">
177        <enum>Qt::DownArrow</enum>
178       </property>
179      </widget>
180     </item>
181     <item>
182      <widget class="QToolButton" name="cmdOK">
183       <property name="sizePolicy">
184        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
185         <horstretch>0</horstretch>
186         <verstretch>0</verstretch>
187        </sizepolicy>
188       </property>
189       <property name="minimumSize">
190        <size>
191         <width>93</width>
192         <height>28</height>
193        </size>
194       </property>
195       <property name="toolTip">
196        <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>
197       </property>
198       <property name="text">
199        <string>Add</string>
200       </property>
201       <property name="popupMode">
202        <enum>QToolButton::InstantPopup</enum>
203       </property>
204       <property name="toolButtonStyle">
205        <enum>Qt::ToolButtonTextOnly</enum>
206       </property>
207       <property name="autoRaise">
208        <bool>false</bool>
209       </property>
210       <property name="arrowType">
211        <enum>Qt::DownArrow</enum>
212       </property>
213      </widget>
214     </item>
215     <item>
216      <widget class="QPushButton" name="cmdHelp">
217       <property name="text">
218        <string>Help</string>
219       </property>
220      </widget>
221     </item>
222    </layout>
223   </item>
224  </layout>
225 </widget>
226 <resources/>
227 <connections/>
228</ui>
Note: See TracBrowser for help on using the repository browser.