[7fd20fc] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>MultiConstraintUI</class> |
---|
| 4 | <widget class="QDialog" name="MultiConstraintUI"> |
---|
| 5 | <property name="windowModality"> |
---|
[d3c0b95] | 6 | <enum>Qt::ApplicationModal</enum> |
---|
[7fd20fc] | 7 | </property> |
---|
| 8 | <property name="geometry"> |
---|
| 9 | <rect> |
---|
| 10 | <x>0</x> |
---|
| 11 | <y>0</y> |
---|
[1738173] | 12 | <width>369</width> |
---|
| 13 | <height>201</height> |
---|
[7fd20fc] | 14 | </rect> |
---|
| 15 | </property> |
---|
| 16 | <property name="sizePolicy"> |
---|
[305114c] | 17 | <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding"> |
---|
[7fd20fc] | 18 | <horstretch>0</horstretch> |
---|
| 19 | <verstretch>0</verstretch> |
---|
| 20 | </sizepolicy> |
---|
| 21 | </property> |
---|
| 22 | <property name="windowTitle"> |
---|
| 23 | <string>2 parameter constraint</string> |
---|
| 24 | </property> |
---|
| 25 | <property name="modal"> |
---|
| 26 | <bool>true</bool> |
---|
| 27 | </property> |
---|
| 28 | <layout class="QGridLayout" name="gridLayout"> |
---|
| 29 | <item row="0" column="0"> |
---|
| 30 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
| 31 | <item> |
---|
| 32 | <widget class="QLabel" name="txtParam1"> |
---|
| 33 | <property name="sizePolicy"> |
---|
| 34 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
---|
| 35 | <horstretch>0</horstretch> |
---|
| 36 | <verstretch>0</verstretch> |
---|
| 37 | </sizepolicy> |
---|
| 38 | </property> |
---|
| 39 | <property name="text"> |
---|
| 40 | <string><html><head/><body><p><span style=" font-weight:600;">parameter1</span></p></body></html></string> |
---|
| 41 | </property> |
---|
| 42 | </widget> |
---|
| 43 | </item> |
---|
| 44 | <item> |
---|
| 45 | <widget class="QLabel" name="label"> |
---|
| 46 | <property name="text"> |
---|
| 47 | <string><html><head/><body><p><span style=" font-weight:600;">= function(</span></p></body></html></string> |
---|
| 48 | </property> |
---|
| 49 | </widget> |
---|
| 50 | </item> |
---|
| 51 | <item> |
---|
| 52 | <widget class="QLabel" name="txtParam2"> |
---|
| 53 | <property name="sizePolicy"> |
---|
| 54 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
---|
| 55 | <horstretch>0</horstretch> |
---|
| 56 | <verstretch>0</verstretch> |
---|
| 57 | </sizepolicy> |
---|
| 58 | </property> |
---|
| 59 | <property name="text"> |
---|
| 60 | <string><html><head/><body><p><span style=" font-weight:600;">parameter2</span></p></body></html></string> |
---|
| 61 | </property> |
---|
| 62 | </widget> |
---|
| 63 | </item> |
---|
| 64 | <item> |
---|
| 65 | <widget class="QLabel" name="label_3"> |
---|
| 66 | <property name="text"> |
---|
| 67 | <string><html><head/><body><p><span style=" font-weight:600;">)</span></p></body></html></string> |
---|
| 68 | </property> |
---|
| 69 | </widget> |
---|
| 70 | </item> |
---|
| 71 | <item> |
---|
| 72 | <spacer name="horizontalSpacer_2"> |
---|
| 73 | <property name="orientation"> |
---|
| 74 | <enum>Qt::Horizontal</enum> |
---|
| 75 | </property> |
---|
| 76 | <property name="sizeHint" stdset="0"> |
---|
| 77 | <size> |
---|
| 78 | <width>40</width> |
---|
| 79 | <height>20</height> |
---|
| 80 | </size> |
---|
| 81 | </property> |
---|
| 82 | </spacer> |
---|
| 83 | </item> |
---|
| 84 | <item> |
---|
| 85 | <widget class="QPushButton" name="cmdRevert"> |
---|
| 86 | <property name="text"> |
---|
[14ec91c5] | 87 | <string>Swap</string> |
---|
[7fd20fc] | 88 | </property> |
---|
| 89 | </widget> |
---|
| 90 | </item> |
---|
| 91 | </layout> |
---|
| 92 | </item> |
---|
| 93 | <item row="1" column="0"> |
---|
| 94 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
---|
| 95 | <item> |
---|
| 96 | <widget class="QLabel" name="txtParam1_2"> |
---|
| 97 | <property name="sizePolicy"> |
---|
| 98 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
---|
| 99 | <horstretch>0</horstretch> |
---|
| 100 | <verstretch>0</verstretch> |
---|
| 101 | </sizepolicy> |
---|
| 102 | </property> |
---|
| 103 | <property name="text"> |
---|
| 104 | <string>parameter1</string> |
---|
| 105 | </property> |
---|
| 106 | </widget> |
---|
| 107 | </item> |
---|
| 108 | <item> |
---|
| 109 | <widget class="QLabel" name="label_2"> |
---|
| 110 | <property name="text"> |
---|
| 111 | <string>=</string> |
---|
| 112 | </property> |
---|
| 113 | </widget> |
---|
| 114 | </item> |
---|
| 115 | <item> |
---|
| 116 | <widget class="QLineEdit" name="txtConstraint"/> |
---|
| 117 | </item> |
---|
| 118 | </layout> |
---|
| 119 | </item> |
---|
| 120 | <item row="2" column="0"> |
---|
[305114c] | 121 | <widget class="QLabel" name="lblWarning"> |
---|
| 122 | <property name="text"> |
---|
[1738173] | 123 | <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> |
---|
[305114c] | 124 | </property> |
---|
| 125 | </widget> |
---|
| 126 | </item> |
---|
| 127 | <item row="3" column="0"> |
---|
[7fd20fc] | 128 | <spacer name="verticalSpacer"> |
---|
| 129 | <property name="orientation"> |
---|
| 130 | <enum>Qt::Vertical</enum> |
---|
| 131 | </property> |
---|
| 132 | <property name="sizeHint" stdset="0"> |
---|
| 133 | <size> |
---|
| 134 | <width>20</width> |
---|
| 135 | <height>35</height> |
---|
| 136 | </size> |
---|
| 137 | </property> |
---|
| 138 | </spacer> |
---|
| 139 | </item> |
---|
[305114c] | 140 | <item row="4" column="0"> |
---|
[7fd20fc] | 141 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
---|
| 142 | <item> |
---|
| 143 | <spacer name="horizontalSpacer"> |
---|
| 144 | <property name="orientation"> |
---|
| 145 | <enum>Qt::Horizontal</enum> |
---|
| 146 | </property> |
---|
| 147 | <property name="sizeHint" stdset="0"> |
---|
| 148 | <size> |
---|
| 149 | <width>40</width> |
---|
| 150 | <height>20</height> |
---|
| 151 | </size> |
---|
| 152 | </property> |
---|
| 153 | </spacer> |
---|
| 154 | </item> |
---|
| 155 | <item> |
---|
| 156 | <widget class="QPushButton" name="cmdOK"> |
---|
| 157 | <property name="text"> |
---|
| 158 | <string>OK</string> |
---|
| 159 | </property> |
---|
[14ec91c5] | 160 | <property name="default"> |
---|
[a90c9c5] | 161 | <bool>false</bool> |
---|
[14ec91c5] | 162 | </property> |
---|
[7fd20fc] | 163 | </widget> |
---|
| 164 | </item> |
---|
[d3c0b95] | 165 | <item> |
---|
| 166 | <widget class="QPushButton" name="cmdCancel"> |
---|
| 167 | <property name="text"> |
---|
| 168 | <string>Cancel</string> |
---|
| 169 | </property> |
---|
| 170 | </widget> |
---|
| 171 | </item> |
---|
| 172 | <item> |
---|
| 173 | <widget class="QPushButton" name="cmdHelp"> |
---|
| 174 | <property name="text"> |
---|
| 175 | <string>Help</string> |
---|
| 176 | </property> |
---|
| 177 | </widget> |
---|
| 178 | </item> |
---|
[7fd20fc] | 179 | </layout> |
---|
| 180 | </item> |
---|
| 181 | </layout> |
---|
| 182 | </widget> |
---|
| 183 | <resources/> |
---|
[eae226b] | 184 | <connections> |
---|
| 185 | <connection> |
---|
| 186 | <sender>cmdOK</sender> |
---|
| 187 | <signal>clicked()</signal> |
---|
| 188 | <receiver>MultiConstraintUI</receiver> |
---|
| 189 | <slot>accept()</slot> |
---|
| 190 | <hints> |
---|
| 191 | <hint type="sourcelabel"> |
---|
| 192 | <x>321</x> |
---|
| 193 | <y>121</y> |
---|
| 194 | </hint> |
---|
| 195 | <hint type="destinationlabel"> |
---|
| 196 | <x>184</x> |
---|
| 197 | <y>71</y> |
---|
| 198 | </hint> |
---|
| 199 | </hints> |
---|
| 200 | </connection> |
---|
[d3c0b95] | 201 | <connection> |
---|
| 202 | <sender>cmdCancel</sender> |
---|
| 203 | <signal>clicked()</signal> |
---|
| 204 | <receiver>MultiConstraintUI</receiver> |
---|
| 205 | <slot>reject()</slot> |
---|
| 206 | <hints> |
---|
| 207 | <hint type="sourcelabel"> |
---|
| 208 | <x>187</x> |
---|
| 209 | <y>121</y> |
---|
| 210 | </hint> |
---|
| 211 | <hint type="destinationlabel"> |
---|
| 212 | <x>184</x> |
---|
| 213 | <y>71</y> |
---|
| 214 | </hint> |
---|
| 215 | </hints> |
---|
| 216 | </connection> |
---|
[eae226b] | 217 | </connections> |
---|
[7fd20fc] | 218 | </ui> |
---|