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