[ef36eb2] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>SldPanel</class> |
---|
| 4 | <widget class="QDialog" name="SldPanel"> |
---|
| 5 | <property name="geometry"> |
---|
| 6 | <rect> |
---|
| 7 | <x>0</x> |
---|
| 8 | <y>0</y> |
---|
[1d85b5e] | 9 | <width>447</width> |
---|
| 10 | <height>403</height> |
---|
[ef36eb2] | 11 | </rect> |
---|
| 12 | </property> |
---|
[1d85b5e] | 13 | <property name="sizePolicy"> |
---|
| 14 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
---|
| 15 | <horstretch>0</horstretch> |
---|
| 16 | <verstretch>0</verstretch> |
---|
| 17 | </sizepolicy> |
---|
| 18 | </property> |
---|
[ef36eb2] | 19 | <property name="windowTitle"> |
---|
| 20 | <string>SLD Calculator</string> |
---|
| 21 | </property> |
---|
[1d85b5e] | 22 | <property name="windowIcon"> |
---|
[cd2cc745] | 23 | <iconset> |
---|
[1d85b5e] | 24 | <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset> |
---|
| 25 | </property> |
---|
[ef36eb2] | 26 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
| 27 | <item row="0" column="0"> |
---|
| 28 | <widget class="QGroupBox" name="groupBoxInput"> |
---|
| 29 | <property name="title"> |
---|
| 30 | <string>Input</string> |
---|
| 31 | </property> |
---|
| 32 | <layout class="QGridLayout" name="gridLayoutInput"> |
---|
| 33 | <item row="1" column="0"> |
---|
| 34 | <widget class="QLabel" name="label_8"> |
---|
| 35 | <property name="text"> |
---|
| 36 | <string>Mass Density</string> |
---|
| 37 | </property> |
---|
| 38 | </widget> |
---|
| 39 | </item> |
---|
| 40 | <item row="1" column="2"> |
---|
| 41 | <widget class="QLabel" name="label_16"> |
---|
| 42 | <property name="text"> |
---|
| 43 | <string>g/cm³</string> |
---|
| 44 | </property> |
---|
| 45 | </widget> |
---|
| 46 | </item> |
---|
| 47 | <item row="0" column="2"> |
---|
| 48 | <widget class="QLabel" name="label_10"> |
---|
| 49 | <property name="text"> |
---|
| 50 | <string>e.g. H2O</string> |
---|
| 51 | </property> |
---|
| 52 | </widget> |
---|
| 53 | </item> |
---|
| 54 | <item row="0" column="1"> |
---|
| 55 | <widget class="QLineEdit" name="editMolecularFormula"/> |
---|
| 56 | </item> |
---|
| 57 | <item row="1" column="1"> |
---|
| 58 | <widget class="QLineEdit" name="editMassDensity"/> |
---|
| 59 | </item> |
---|
| 60 | <item row="2" column="1"> |
---|
| 61 | <widget class="QLineEdit" name="editWavelength"> |
---|
| 62 | <property name="styleSheet"> |
---|
| 63 | <string notr="true"/> |
---|
| 64 | </property> |
---|
| 65 | <property name="readOnly"> |
---|
| 66 | <bool>false</bool> |
---|
| 67 | </property> |
---|
| 68 | </widget> |
---|
| 69 | </item> |
---|
| 70 | <item row="2" column="2"> |
---|
| 71 | <widget class="QLabel" name="label_12"> |
---|
| 72 | <property name="text"> |
---|
| 73 | <string>Ã
</string> |
---|
| 74 | </property> |
---|
| 75 | </widget> |
---|
| 76 | </item> |
---|
| 77 | <item row="0" column="0"> |
---|
| 78 | <widget class="QLabel" name="label_9"> |
---|
| 79 | <property name="text"> |
---|
| 80 | <string>Molecular Formula</string> |
---|
| 81 | </property> |
---|
| 82 | </widget> |
---|
| 83 | </item> |
---|
| 84 | <item row="2" column="0"> |
---|
| 85 | <widget class="QLabel" name="label_11"> |
---|
| 86 | <property name="text"> |
---|
| 87 | <string>Wavelength</string> |
---|
| 88 | </property> |
---|
| 89 | </widget> |
---|
| 90 | </item> |
---|
| 91 | </layout> |
---|
| 92 | </widget> |
---|
| 93 | </item> |
---|
| 94 | <item row="1" column="0"> |
---|
| 95 | <widget class="QGroupBox" name="groupBoxOutput"> |
---|
| 96 | <property name="title"> |
---|
| 97 | <string>Output</string> |
---|
| 98 | </property> |
---|
| 99 | <layout class="QGridLayout" name="gridLayoutOutput"> |
---|
| 100 | <item row="0" column="0"> |
---|
| 101 | <widget class="QLabel" name="label_17"> |
---|
| 102 | <property name="text"> |
---|
| 103 | <string>Neutron SLD</string> |
---|
| 104 | </property> |
---|
| 105 | </widget> |
---|
| 106 | </item> |
---|
| 107 | <item row="0" column="1"> |
---|
| 108 | <widget class="QLineEdit" name="editNeutronSldReal"> |
---|
| 109 | <property name="readOnly"> |
---|
| 110 | <bool>true</bool> |
---|
| 111 | </property> |
---|
| 112 | </widget> |
---|
| 113 | </item> |
---|
| 114 | <item row="0" column="2"> |
---|
| 115 | <widget class="QLabel" name="label_18"> |
---|
| 116 | <property name="text"> |
---|
| 117 | <string>-i</string> |
---|
| 118 | </property> |
---|
| 119 | </widget> |
---|
| 120 | </item> |
---|
| 121 | <item row="0" column="3"> |
---|
| 122 | <widget class="QLineEdit" name="editNeutronSldImag"> |
---|
| 123 | <property name="readOnly"> |
---|
| 124 | <bool>true</bool> |
---|
| 125 | </property> |
---|
| 126 | </widget> |
---|
| 127 | </item> |
---|
| 128 | <item row="0" column="4"> |
---|
| 129 | <widget class="QLabel" name="label_5"> |
---|
| 130 | <property name="text"> |
---|
| 131 | <string>1/Ã
²</string> |
---|
| 132 | </property> |
---|
| 133 | </widget> |
---|
| 134 | </item> |
---|
| 135 | <item row="1" column="0"> |
---|
| 136 | <widget class="QLabel" name="label_19"> |
---|
| 137 | <property name="text"> |
---|
| 138 | <string>Cu Ka SLD</string> |
---|
| 139 | </property> |
---|
| 140 | </widget> |
---|
| 141 | </item> |
---|
| 142 | <item row="1" column="1"> |
---|
| 143 | <widget class="QLineEdit" name="editCuKaSldReal"> |
---|
| 144 | <property name="styleSheet"> |
---|
| 145 | <string notr="true"/> |
---|
| 146 | </property> |
---|
| 147 | <property name="readOnly"> |
---|
| 148 | <bool>true</bool> |
---|
| 149 | </property> |
---|
| 150 | </widget> |
---|
| 151 | </item> |
---|
| 152 | <item row="1" column="2"> |
---|
| 153 | <widget class="QLabel" name="label_20"> |
---|
| 154 | <property name="text"> |
---|
| 155 | <string>-i</string> |
---|
| 156 | </property> |
---|
| 157 | </widget> |
---|
| 158 | </item> |
---|
| 159 | <item row="1" column="3"> |
---|
| 160 | <widget class="QLineEdit" name="editCuKaSldImag"> |
---|
| 161 | <property name="readOnly"> |
---|
| 162 | <bool>true</bool> |
---|
| 163 | </property> |
---|
| 164 | </widget> |
---|
| 165 | </item> |
---|
| 166 | <item row="1" column="4"> |
---|
| 167 | <widget class="QLabel" name="label_6"> |
---|
| 168 | <property name="text"> |
---|
| 169 | <string>1/Ã
²</string> |
---|
| 170 | </property> |
---|
| 171 | </widget> |
---|
| 172 | </item> |
---|
| 173 | <item row="2" column="0"> |
---|
| 174 | <widget class="QLabel" name="label"> |
---|
| 175 | <property name="text"> |
---|
| 176 | <string>Mo Ka SLD</string> |
---|
| 177 | </property> |
---|
| 178 | </widget> |
---|
| 179 | </item> |
---|
| 180 | <item row="2" column="1"> |
---|
| 181 | <widget class="QLineEdit" name="editMoKaSldReal"> |
---|
| 182 | <property name="readOnly"> |
---|
| 183 | <bool>true</bool> |
---|
| 184 | </property> |
---|
| 185 | </widget> |
---|
| 186 | </item> |
---|
| 187 | <item row="2" column="2"> |
---|
| 188 | <widget class="QLabel" name="label_2"> |
---|
| 189 | <property name="text"> |
---|
| 190 | <string>-i</string> |
---|
| 191 | </property> |
---|
| 192 | </widget> |
---|
| 193 | </item> |
---|
| 194 | <item row="2" column="3"> |
---|
| 195 | <widget class="QLineEdit" name="editMoKaSldImag"> |
---|
| 196 | <property name="readOnly"> |
---|
| 197 | <bool>true</bool> |
---|
| 198 | </property> |
---|
| 199 | </widget> |
---|
| 200 | </item> |
---|
| 201 | <item row="2" column="4"> |
---|
| 202 | <widget class="QLabel" name="label_7"> |
---|
| 203 | <property name="text"> |
---|
| 204 | <string>1/Ã
²</string> |
---|
| 205 | </property> |
---|
| 206 | </widget> |
---|
| 207 | </item> |
---|
| 208 | <item row="3" column="0" colspan="5"> |
---|
| 209 | <widget class="QFrame" name="frame"> |
---|
| 210 | <property name="minimumSize"> |
---|
| 211 | <size> |
---|
| 212 | <width>0</width> |
---|
| 213 | <height>5</height> |
---|
| 214 | </size> |
---|
| 215 | </property> |
---|
| 216 | <property name="frameShape"> |
---|
| 217 | <enum>QFrame::HLine</enum> |
---|
| 218 | </property> |
---|
| 219 | <property name="frameShadow"> |
---|
| 220 | <enum>QFrame::Raised</enum> |
---|
| 221 | </property> |
---|
| 222 | <property name="lineWidth"> |
---|
| 223 | <number>1</number> |
---|
| 224 | </property> |
---|
| 225 | <property name="midLineWidth"> |
---|
| 226 | <number>0</number> |
---|
| 227 | </property> |
---|
| 228 | </widget> |
---|
| 229 | </item> |
---|
| 230 | <item row="4" column="0"> |
---|
| 231 | <widget class="QLabel" name="label_21"> |
---|
| 232 | <property name="text"> |
---|
| 233 | <string>Neutron Inc. Xs</string> |
---|
| 234 | </property> |
---|
| 235 | </widget> |
---|
| 236 | </item> |
---|
| 237 | <item row="4" column="1"> |
---|
| 238 | <widget class="QLineEdit" name="editNeutronIncXs"> |
---|
| 239 | <property name="readOnly"> |
---|
| 240 | <bool>true</bool> |
---|
| 241 | </property> |
---|
| 242 | </widget> |
---|
| 243 | </item> |
---|
| 244 | <item row="4" column="2" colspan="2"> |
---|
| 245 | <widget class="QLabel" name="label_22"> |
---|
| 246 | <property name="text"> |
---|
| 247 | <string>1/cm</string> |
---|
| 248 | </property> |
---|
| 249 | </widget> |
---|
| 250 | </item> |
---|
| 251 | <item row="5" column="0"> |
---|
| 252 | <widget class="QLabel" name="label_23"> |
---|
| 253 | <property name="text"> |
---|
| 254 | <string>Neutron Abs. Xs</string> |
---|
| 255 | </property> |
---|
| 256 | </widget> |
---|
| 257 | </item> |
---|
| 258 | <item row="5" column="1"> |
---|
| 259 | <widget class="QLineEdit" name="editNeutronAbsXs"> |
---|
| 260 | <property name="readOnly"> |
---|
| 261 | <bool>true</bool> |
---|
| 262 | </property> |
---|
| 263 | </widget> |
---|
| 264 | </item> |
---|
| 265 | <item row="5" column="2" colspan="2"> |
---|
| 266 | <widget class="QLabel" name="label_24"> |
---|
| 267 | <property name="text"> |
---|
| 268 | <string>1/cm</string> |
---|
| 269 | </property> |
---|
| 270 | </widget> |
---|
| 271 | </item> |
---|
| 272 | <item row="6" column="0"> |
---|
| 273 | <widget class="QLabel" name="label_3"> |
---|
| 274 | <property name="text"> |
---|
| 275 | <string>Neutron 1/e length</string> |
---|
| 276 | </property> |
---|
| 277 | </widget> |
---|
| 278 | </item> |
---|
| 279 | <item row="6" column="1"> |
---|
| 280 | <widget class="QLineEdit" name="editNeutronLength"> |
---|
| 281 | <property name="readOnly"> |
---|
| 282 | <bool>true</bool> |
---|
| 283 | </property> |
---|
| 284 | </widget> |
---|
| 285 | </item> |
---|
| 286 | <item row="6" column="2" colspan="2"> |
---|
| 287 | <widget class="QLabel" name="label_4"> |
---|
| 288 | <property name="text"> |
---|
| 289 | <string>cm</string> |
---|
| 290 | </property> |
---|
| 291 | </widget> |
---|
| 292 | </item> |
---|
| 293 | </layout> |
---|
| 294 | </widget> |
---|
| 295 | </item> |
---|
| 296 | <item row="2" column="0"> |
---|
| 297 | <spacer name="verticalSpacer"> |
---|
| 298 | <property name="orientation"> |
---|
| 299 | <enum>Qt::Vertical</enum> |
---|
| 300 | </property> |
---|
| 301 | <property name="sizeHint" stdset="0"> |
---|
| 302 | <size> |
---|
| 303 | <width>20</width> |
---|
| 304 | <height>40</height> |
---|
| 305 | </size> |
---|
| 306 | </property> |
---|
| 307 | </spacer> |
---|
| 308 | </item> |
---|
| 309 | <item row="3" column="0"> |
---|
| 310 | <widget class="QDialogButtonBox" name="buttonBox"> |
---|
| 311 | <property name="orientation"> |
---|
| 312 | <enum>Qt::Horizontal</enum> |
---|
| 313 | </property> |
---|
| 314 | <property name="standardButtons"> |
---|
[1d85b5e] | 315 | <set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Reset</set> |
---|
[ef36eb2] | 316 | </property> |
---|
| 317 | <property name="centerButtons"> |
---|
| 318 | <bool>true</bool> |
---|
| 319 | </property> |
---|
| 320 | </widget> |
---|
| 321 | </item> |
---|
| 322 | </layout> |
---|
| 323 | </widget> |
---|
| 324 | <tabstops> |
---|
| 325 | <tabstop>editMolecularFormula</tabstop> |
---|
| 326 | <tabstop>editMassDensity</tabstop> |
---|
| 327 | <tabstop>editWavelength</tabstop> |
---|
| 328 | <tabstop>editNeutronSldReal</tabstop> |
---|
| 329 | <tabstop>editNeutronSldImag</tabstop> |
---|
| 330 | <tabstop>editCuKaSldReal</tabstop> |
---|
| 331 | <tabstop>editCuKaSldImag</tabstop> |
---|
| 332 | <tabstop>editMoKaSldReal</tabstop> |
---|
| 333 | <tabstop>editMoKaSldImag</tabstop> |
---|
| 334 | <tabstop>editNeutronIncXs</tabstop> |
---|
| 335 | <tabstop>editNeutronAbsXs</tabstop> |
---|
| 336 | <tabstop>editNeutronLength</tabstop> |
---|
| 337 | <tabstop>buttonBox</tabstop> |
---|
| 338 | </tabstops> |
---|
[cd2cc745] | 339 | <resources/> |
---|
[ef36eb2] | 340 | <connections> |
---|
| 341 | <connection> |
---|
| 342 | <sender>buttonBox</sender> |
---|
| 343 | <signal>accepted()</signal> |
---|
| 344 | <receiver>SldPanel</receiver> |
---|
| 345 | <slot>accept()</slot> |
---|
| 346 | <hints> |
---|
| 347 | <hint type="sourcelabel"> |
---|
| 348 | <x>248</x> |
---|
| 349 | <y>254</y> |
---|
| 350 | </hint> |
---|
| 351 | <hint type="destinationlabel"> |
---|
| 352 | <x>157</x> |
---|
| 353 | <y>274</y> |
---|
| 354 | </hint> |
---|
| 355 | </hints> |
---|
| 356 | </connection> |
---|
| 357 | <connection> |
---|
| 358 | <sender>buttonBox</sender> |
---|
| 359 | <signal>rejected()</signal> |
---|
| 360 | <receiver>SldPanel</receiver> |
---|
| 361 | <slot>reject()</slot> |
---|
| 362 | <hints> |
---|
| 363 | <hint type="sourcelabel"> |
---|
| 364 | <x>316</x> |
---|
| 365 | <y>260</y> |
---|
| 366 | </hint> |
---|
| 367 | <hint type="destinationlabel"> |
---|
| 368 | <x>286</x> |
---|
| 369 | <y>274</y> |
---|
| 370 | </hint> |
---|
| 371 | </hints> |
---|
| 372 | </connection> |
---|
| 373 | </connections> |
---|
| 374 | </ui> |
---|