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