[60af928] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>FittingWidgetUI</class> |
---|
| 4 | <widget class="QWidget" name="FittingWidgetUI"> |
---|
| 5 | <property name="geometry"> |
---|
| 6 | <rect> |
---|
| 7 | <x>0</x> |
---|
| 8 | <y>0</y> |
---|
[f7f5796] | 9 | <width>379</width> |
---|
[6c8fb2c] | 10 | <height>669</height> |
---|
[60af928] | 11 | </rect> |
---|
| 12 | </property> |
---|
[f7f5796] | 13 | <property name="sizePolicy"> |
---|
| 14 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
---|
| 15 | <horstretch>0</horstretch> |
---|
| 16 | <verstretch>0</verstretch> |
---|
| 17 | </sizepolicy> |
---|
| 18 | </property> |
---|
[60af928] | 19 | <property name="windowTitle"> |
---|
| 20 | <string>FittingWidget</string> |
---|
| 21 | </property> |
---|
[ee18d33] | 22 | <layout class="QGridLayout" name="gridLayout_4"> |
---|
| 23 | <item row="0" column="0" colspan="4"> |
---|
| 24 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
| 25 | <item> |
---|
| 26 | <widget class="QLabel" name="label"> |
---|
| 27 | <property name="text"> |
---|
| 28 | <string>File name:</string> |
---|
| 29 | </property> |
---|
| 30 | </widget> |
---|
| 31 | </item> |
---|
| 32 | <item> |
---|
| 33 | <layout class="QGridLayout" name="gridLayout_3"> |
---|
| 34 | <item row="0" column="0"> |
---|
| 35 | <widget class="QComboBox" name="cbFileNames"> |
---|
[38eb433] | 36 | <property name="toolTip"> |
---|
| 37 | <string><html><head/><body><p>Choose a file to set initial fit parameters.</p></body></html></string> |
---|
| 38 | </property> |
---|
[ee18d33] | 39 | <property name="sizeAdjustPolicy"> |
---|
| 40 | <enum>QComboBox::AdjustToContents</enum> |
---|
| 41 | </property> |
---|
| 42 | </widget> |
---|
| 43 | </item> |
---|
| 44 | <item row="0" column="1"> |
---|
| 45 | <widget class="QLabel" name="lblFilename"> |
---|
| 46 | <property name="text"> |
---|
| 47 | <string>None</string> |
---|
| 48 | </property> |
---|
| 49 | </widget> |
---|
| 50 | </item> |
---|
| 51 | </layout> |
---|
| 52 | </item> |
---|
| 53 | <item> |
---|
| 54 | <spacer name="horizontalSpacer_4"> |
---|
| 55 | <property name="orientation"> |
---|
| 56 | <enum>Qt::Horizontal</enum> |
---|
| 57 | </property> |
---|
| 58 | <property name="sizeHint" stdset="0"> |
---|
| 59 | <size> |
---|
| 60 | <width>459</width> |
---|
| 61 | <height>20</height> |
---|
| 62 | </size> |
---|
| 63 | </property> |
---|
| 64 | </spacer> |
---|
| 65 | </item> |
---|
| 66 | </layout> |
---|
[6c8fb2c] | 67 | </item> |
---|
[ee18d33] | 68 | <item row="1" column="0" colspan="4"> |
---|
[60af928] | 69 | <widget class="QTabWidget" name="tabFitting"> |
---|
| 70 | <property name="currentIndex"> |
---|
| 71 | <number>0</number> |
---|
| 72 | </property> |
---|
| 73 | <widget class="QWidget" name="tab_3"> |
---|
| 74 | <attribute name="title"> |
---|
| 75 | <string>Model</string> |
---|
| 76 | </attribute> |
---|
| 77 | <layout class="QGridLayout" name="gridLayout_19"> |
---|
| 78 | <item row="0" column="0" colspan="4"> |
---|
| 79 | <widget class="QGroupBox" name="groupBox_6"> |
---|
| 80 | <property name="sizePolicy"> |
---|
| 81 | <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
---|
| 82 | <horstretch>0</horstretch> |
---|
| 83 | <verstretch>0</verstretch> |
---|
| 84 | </sizepolicy> |
---|
| 85 | </property> |
---|
| 86 | <property name="title"> |
---|
| 87 | <string>Model </string> |
---|
| 88 | </property> |
---|
| 89 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
| 90 | <item row="0" column="0"> |
---|
| 91 | <layout class="QGridLayout" name="gridLayout"> |
---|
| 92 | <item row="0" column="0"> |
---|
| 93 | <widget class="QLabel" name="label_2"> |
---|
| 94 | <property name="text"> |
---|
| 95 | <string>Category</string> |
---|
| 96 | </property> |
---|
| 97 | </widget> |
---|
| 98 | </item> |
---|
| 99 | <item row="0" column="1"> |
---|
[b1e36a3] | 100 | <widget class="QLabel" name="lblModel"> |
---|
[60af928] | 101 | <property name="text"> |
---|
| 102 | <string>Model name</string> |
---|
| 103 | </property> |
---|
| 104 | </widget> |
---|
| 105 | </item> |
---|
| 106 | <item row="0" column="2"> |
---|
[b1e36a3] | 107 | <widget class="QLabel" name="lblStructure"> |
---|
[60af928] | 108 | <property name="text"> |
---|
| 109 | <string>Structure factor</string> |
---|
| 110 | </property> |
---|
| 111 | </widget> |
---|
| 112 | </item> |
---|
| 113 | <item row="1" column="0"> |
---|
[2add354] | 114 | <widget class="QComboBox" name="cbCategory"> |
---|
| 115 | <property name="toolTip"> |
---|
| 116 | <string>Select a category</string> |
---|
| 117 | </property> |
---|
| 118 | </widget> |
---|
[60af928] | 119 | </item> |
---|
| 120 | <item row="1" column="1"> |
---|
[2add354] | 121 | <widget class="QComboBox" name="cbModel"> |
---|
| 122 | <property name="toolTip"> |
---|
| 123 | <string>Select a model</string> |
---|
| 124 | </property> |
---|
| 125 | </widget> |
---|
[60af928] | 126 | </item> |
---|
| 127 | <item row="1" column="2"> |
---|
[2add354] | 128 | <widget class="QComboBox" name="cbStructureFactor"> |
---|
| 129 | <property name="toolTip"> |
---|
| 130 | <string>Select a structure factor</string> |
---|
| 131 | </property> |
---|
| 132 | </widget> |
---|
[60af928] | 133 | </item> |
---|
| 134 | </layout> |
---|
| 135 | </item> |
---|
| 136 | <item row="1" column="0"> |
---|
[86f88d1] | 137 | <widget class="QTreeView" name="lstParams"> |
---|
[60af928] | 138 | <property name="styleSheet"> |
---|
| 139 | <string notr="true"/> |
---|
| 140 | </property> |
---|
[2add354] | 141 | <property name="editTriggers"> |
---|
| 142 | <set>QAbstractItemView::CurrentChanged|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set> |
---|
| 143 | </property> |
---|
[60af928] | 144 | <property name="selectionMode"> |
---|
| 145 | <enum>QAbstractItemView::ExtendedSelection</enum> |
---|
| 146 | </property> |
---|
| 147 | </widget> |
---|
| 148 | </item> |
---|
| 149 | </layout> |
---|
| 150 | </widget> |
---|
| 151 | </item> |
---|
| 152 | <item row="1" column="0"> |
---|
| 153 | <widget class="QGroupBox" name="groupBox_7"> |
---|
| 154 | <property name="title"> |
---|
| 155 | <string>Options </string> |
---|
| 156 | </property> |
---|
| 157 | <layout class="QGridLayout" name="gridLayout_16"> |
---|
| 158 | <item row="0" column="0"> |
---|
| 159 | <widget class="QCheckBox" name="chkPolydispersity"> |
---|
| 160 | <property name="enabled"> |
---|
| 161 | <bool>true</bool> |
---|
| 162 | </property> |
---|
| 163 | <property name="toolTip"> |
---|
| 164 | <string><html><head/><body><p>Switch on orientational polydispersity.</p></body></html></string> |
---|
| 165 | </property> |
---|
| 166 | <property name="text"> |
---|
| 167 | <string>Polydispersity</string> |
---|
| 168 | </property> |
---|
| 169 | <property name="checkable"> |
---|
| 170 | <bool>true</bool> |
---|
| 171 | </property> |
---|
| 172 | </widget> |
---|
| 173 | </item> |
---|
| 174 | <item row="1" column="0"> |
---|
| 175 | <widget class="QCheckBox" name="chk2DView"> |
---|
| 176 | <property name="enabled"> |
---|
| 177 | <bool>true</bool> |
---|
| 178 | </property> |
---|
| 179 | <property name="toolTip"> |
---|
| 180 | <string><html><head/><body><p>Switch on 2D view of the model.</p></body></html></string> |
---|
| 181 | </property> |
---|
| 182 | <property name="text"> |
---|
| 183 | <string>2D view</string> |
---|
| 184 | </property> |
---|
| 185 | <property name="checkable"> |
---|
| 186 | <bool>true</bool> |
---|
| 187 | </property> |
---|
| 188 | </widget> |
---|
| 189 | </item> |
---|
| 190 | <item row="2" column="0"> |
---|
| 191 | <widget class="QCheckBox" name="chkMagnetism"> |
---|
| 192 | <property name="enabled"> |
---|
| 193 | <bool>true</bool> |
---|
| 194 | </property> |
---|
| 195 | <property name="toolTip"> |
---|
| 196 | <string><html><head/><body><p>Switch on magnetic scattering parameters.</p><p>This option is available only for 2D models.</p></body></html></string> |
---|
| 197 | </property> |
---|
| 198 | <property name="text"> |
---|
| 199 | <string>Magnetism</string> |
---|
| 200 | </property> |
---|
| 201 | <property name="checkable"> |
---|
| 202 | <bool>true</bool> |
---|
| 203 | </property> |
---|
| 204 | </widget> |
---|
| 205 | </item> |
---|
| 206 | </layout> |
---|
| 207 | </widget> |
---|
| 208 | </item> |
---|
| 209 | <item row="1" column="1"> |
---|
| 210 | <widget class="QGroupBox" name="groupBox_8"> |
---|
| 211 | <property name="title"> |
---|
| 212 | <string>Fitting details </string> |
---|
| 213 | </property> |
---|
| 214 | <layout class="QGridLayout" name="gridLayout_17"> |
---|
| 215 | <item row="0" column="0" colspan="2"> |
---|
| 216 | <layout class="QGridLayout" name="gridLayout_8"> |
---|
| 217 | <item row="0" column="0"> |
---|
| 218 | <widget class="QLabel" name="label_16"> |
---|
| 219 | <property name="text"> |
---|
| 220 | <string>Min range</string> |
---|
| 221 | </property> |
---|
| 222 | </widget> |
---|
| 223 | </item> |
---|
| 224 | <item row="0" column="1"> |
---|
| 225 | <widget class="QLabel" name="lblMinRangeDef"> |
---|
| 226 | <property name="text"> |
---|
| 227 | <string>0.005</string> |
---|
| 228 | </property> |
---|
| 229 | </widget> |
---|
| 230 | </item> |
---|
| 231 | <item row="0" column="2"> |
---|
| 232 | <widget class="QLabel" name="label_17"> |
---|
| 233 | <property name="text"> |
---|
| 234 | <string><html><head/><body><p>Ã
<span style=" vertical-align:super;">-1</span></p></body></html></string> |
---|
| 235 | </property> |
---|
| 236 | </widget> |
---|
| 237 | </item> |
---|
| 238 | <item row="1" column="0"> |
---|
| 239 | <widget class="QLabel" name="label_18"> |
---|
| 240 | <property name="text"> |
---|
| 241 | <string>Max range</string> |
---|
| 242 | </property> |
---|
| 243 | </widget> |
---|
| 244 | </item> |
---|
| 245 | <item row="1" column="1"> |
---|
| 246 | <widget class="QLabel" name="lblMaxRangeDef"> |
---|
| 247 | <property name="text"> |
---|
| 248 | <string>0.1</string> |
---|
| 249 | </property> |
---|
| 250 | </widget> |
---|
| 251 | </item> |
---|
| 252 | <item row="1" column="2"> |
---|
| 253 | <widget class="QLabel" name="label_19"> |
---|
| 254 | <property name="text"> |
---|
| 255 | <string><html><head/><body><p>Ã
<span style=" vertical-align:super;">-1</span></p></body></html></string> |
---|
| 256 | </property> |
---|
| 257 | </widget> |
---|
| 258 | </item> |
---|
| 259 | </layout> |
---|
| 260 | </item> |
---|
| 261 | <item row="1" column="0"> |
---|
| 262 | <widget class="QLabel" name="label_20"> |
---|
| 263 | <property name="text"> |
---|
| 264 | <string>Smearing:</string> |
---|
| 265 | </property> |
---|
| 266 | </widget> |
---|
| 267 | </item> |
---|
| 268 | <item row="1" column="1"> |
---|
| 269 | <widget class="QLabel" name="lblCurrentSmearing"> |
---|
| 270 | <property name="text"> |
---|
| 271 | <string>None</string> |
---|
| 272 | </property> |
---|
| 273 | </widget> |
---|
| 274 | </item> |
---|
| 275 | </layout> |
---|
| 276 | </widget> |
---|
| 277 | </item> |
---|
| 278 | <item row="1" column="2"> |
---|
| 279 | <spacer name="horizontalSpacer_3"> |
---|
| 280 | <property name="orientation"> |
---|
| 281 | <enum>Qt::Horizontal</enum> |
---|
| 282 | </property> |
---|
| 283 | <property name="sizeHint" stdset="0"> |
---|
| 284 | <size> |
---|
| 285 | <width>207</width> |
---|
| 286 | <height>20</height> |
---|
| 287 | </size> |
---|
| 288 | </property> |
---|
| 289 | </spacer> |
---|
| 290 | </item> |
---|
| 291 | <item row="1" column="3"> |
---|
| 292 | <widget class="QGroupBox" name="groupBox_9"> |
---|
| 293 | <property name="title"> |
---|
| 294 | <string>Fitting error</string> |
---|
| 295 | </property> |
---|
| 296 | <layout class="QGridLayout" name="gridLayout_18"> |
---|
| 297 | <item row="0" column="0"> |
---|
| 298 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
---|
| 299 | <item> |
---|
| 300 | <widget class="QLabel" name="label_23"> |
---|
| 301 | <property name="text"> |
---|
| 302 | <string><html><head/><body><p><span style=" font-weight:600;">Ï</span><span style=" font-weight:600; vertical-align:super;">2</span></p></body></html></string> |
---|
| 303 | </property> |
---|
| 304 | </widget> |
---|
| 305 | </item> |
---|
| 306 | <item> |
---|
| 307 | <widget class="QLabel" name="lblChi2Value"> |
---|
| 308 | <property name="text"> |
---|
| 309 | <string><html><head/><body><p><span style=" font-weight:600;">0.01625</span></p></body></html></string> |
---|
| 310 | </property> |
---|
| 311 | </widget> |
---|
| 312 | </item> |
---|
| 313 | </layout> |
---|
| 314 | </item> |
---|
| 315 | </layout> |
---|
| 316 | </widget> |
---|
| 317 | </item> |
---|
| 318 | </layout> |
---|
| 319 | </widget> |
---|
[180bd54] | 320 | <widget class="QWidget" name="tabOptions"> |
---|
[60af928] | 321 | <attribute name="title"> |
---|
| 322 | <string>Fit Options</string> |
---|
| 323 | </attribute> |
---|
[180bd54] | 324 | </widget> |
---|
| 325 | <widget class="QWidget" name="tabResolution"> |
---|
| 326 | <attribute name="title"> |
---|
| 327 | <string>Resolution</string> |
---|
| 328 | </attribute> |
---|
[60af928] | 329 | </widget> |
---|
| 330 | <widget class="QWidget" name="tab_4"> |
---|
| 331 | <attribute name="title"> |
---|
| 332 | <string>Polydispersity</string> |
---|
| 333 | </attribute> |
---|
| 334 | <layout class="QGridLayout" name="gridLayout_10"> |
---|
| 335 | <item row="0" column="0"> |
---|
| 336 | <widget class="QGroupBox" name="groupBox_3"> |
---|
| 337 | <property name="title"> |
---|
| 338 | <string>Polydispersity and Orientational Distribution</string> |
---|
| 339 | </property> |
---|
| 340 | <layout class="QGridLayout" name="gridLayout_9"> |
---|
| 341 | <item row="0" column="0"> |
---|
[00b3b40] | 342 | <widget class="QTableView" name="lstPoly"> |
---|
| 343 | <property name="editTriggers"> |
---|
| 344 | <set>QAbstractItemView::AllEditTriggers</set> |
---|
| 345 | </property> |
---|
| 346 | <property name="alternatingRowColors"> |
---|
| 347 | <bool>true</bool> |
---|
| 348 | </property> |
---|
| 349 | <property name="selectionMode"> |
---|
[aca8418] | 350 | <enum>QAbstractItemView::ExtendedSelection</enum> |
---|
[00b3b40] | 351 | </property> |
---|
| 352 | <property name="selectionBehavior"> |
---|
| 353 | <enum>QAbstractItemView::SelectRows</enum> |
---|
| 354 | </property> |
---|
| 355 | </widget> |
---|
[60af928] | 356 | </item> |
---|
| 357 | </layout> |
---|
| 358 | </widget> |
---|
| 359 | </item> |
---|
| 360 | </layout> |
---|
| 361 | </widget> |
---|
| 362 | <widget class="QWidget" name="tab_6"> |
---|
| 363 | <attribute name="title"> |
---|
| 364 | <string>Magnetism</string> |
---|
| 365 | </attribute> |
---|
| 366 | <layout class="QGridLayout" name="gridLayout_22"> |
---|
| 367 | <item row="0" column="0"> |
---|
| 368 | <widget class="QGroupBox" name="groupBox_10"> |
---|
| 369 | <property name="title"> |
---|
| 370 | <string>Polarisation/Magnetic Scattering </string> |
---|
| 371 | </property> |
---|
| 372 | <layout class="QGridLayout" name="gridLayout_21"> |
---|
| 373 | <item row="1" column="1"> |
---|
| 374 | <spacer name="horizontalSpacer_6"> |
---|
| 375 | <property name="orientation"> |
---|
| 376 | <enum>Qt::Horizontal</enum> |
---|
| 377 | </property> |
---|
| 378 | <property name="sizeHint" stdset="0"> |
---|
| 379 | <size> |
---|
| 380 | <width>498</width> |
---|
| 381 | <height>20</height> |
---|
| 382 | </size> |
---|
| 383 | </property> |
---|
| 384 | </spacer> |
---|
| 385 | </item> |
---|
| 386 | <item row="0" column="0" colspan="3"> |
---|
| 387 | <widget class="QTableView" name="lstMagnetic"/> |
---|
| 388 | </item> |
---|
| 389 | <item row="1" column="2"> |
---|
| 390 | <widget class="QPushButton" name="cmdMagneticDisplay"> |
---|
| 391 | <property name="text"> |
---|
| 392 | <string>Display |
---|
| 393 | magnetic |
---|
| 394 | angles</string> |
---|
| 395 | </property> |
---|
| 396 | </widget> |
---|
| 397 | </item> |
---|
| 398 | </layout> |
---|
| 399 | </widget> |
---|
| 400 | </item> |
---|
| 401 | </layout> |
---|
| 402 | </widget> |
---|
| 403 | </widget> |
---|
| 404 | </item> |
---|
[ee18d33] | 405 | <item row="2" column="0"> |
---|
| 406 | <spacer name="horizontalSpacer"> |
---|
| 407 | <property name="orientation"> |
---|
| 408 | <enum>Qt::Horizontal</enum> |
---|
| 409 | </property> |
---|
| 410 | <property name="sizeHint" stdset="0"> |
---|
| 411 | <size> |
---|
| 412 | <width>273</width> |
---|
| 413 | <height>20</height> |
---|
| 414 | </size> |
---|
| 415 | </property> |
---|
| 416 | </spacer> |
---|
| 417 | </item> |
---|
| 418 | <item row="2" column="1"> |
---|
| 419 | <widget class="QPushButton" name="cmdPlot"> |
---|
| 420 | <property name="sizePolicy"> |
---|
| 421 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
---|
| 422 | <horstretch>0</horstretch> |
---|
| 423 | <verstretch>0</verstretch> |
---|
| 424 | </sizepolicy> |
---|
| 425 | </property> |
---|
| 426 | <property name="minimumSize"> |
---|
| 427 | <size> |
---|
| 428 | <width>75</width> |
---|
| 429 | <height>23</height> |
---|
| 430 | </size> |
---|
| 431 | </property> |
---|
| 432 | <property name="text"> |
---|
| 433 | <string>Show Plot</string> |
---|
| 434 | </property> |
---|
| 435 | </widget> |
---|
| 436 | </item> |
---|
| 437 | <item row="2" column="2"> |
---|
| 438 | <widget class="QPushButton" name="cmdFit"> |
---|
| 439 | <property name="sizePolicy"> |
---|
| 440 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
---|
| 441 | <horstretch>0</horstretch> |
---|
| 442 | <verstretch>0</verstretch> |
---|
| 443 | </sizepolicy> |
---|
| 444 | </property> |
---|
| 445 | <property name="minimumSize"> |
---|
| 446 | <size> |
---|
| 447 | <width>75</width> |
---|
| 448 | <height>23</height> |
---|
| 449 | </size> |
---|
| 450 | </property> |
---|
| 451 | <property name="text"> |
---|
| 452 | <string>Fit</string> |
---|
| 453 | </property> |
---|
| 454 | </widget> |
---|
| 455 | </item> |
---|
| 456 | <item row="2" column="3"> |
---|
| 457 | <widget class="QPushButton" name="cmdHelp"> |
---|
| 458 | <property name="sizePolicy"> |
---|
| 459 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
---|
| 460 | <horstretch>0</horstretch> |
---|
| 461 | <verstretch>0</verstretch> |
---|
| 462 | </sizepolicy> |
---|
| 463 | </property> |
---|
| 464 | <property name="minimumSize"> |
---|
| 465 | <size> |
---|
| 466 | <width>75</width> |
---|
| 467 | <height>23</height> |
---|
| 468 | </size> |
---|
| 469 | </property> |
---|
| 470 | <property name="text"> |
---|
| 471 | <string>Help</string> |
---|
| 472 | </property> |
---|
| 473 | </widget> |
---|
| 474 | </item> |
---|
[60af928] | 475 | </layout> |
---|
| 476 | </widget> |
---|
| 477 | <resources/> |
---|
| 478 | <connections/> |
---|
| 479 | </ui> |
---|