Changeset 0580c77 in sasview
- Timestamp:
- Nov 21, 2017 7:31:47 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- c6fb57c
- Parents:
- f1ec901
- Location:
- src/sas/qtgui/Perspectives/Inversion
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
rf1ec901 r0580c77 596 596 QtGui.QStandardItem(str(pr.get_pos_err(out, cov)))) 597 597 598 # Display results tab599 #self.PrTabWidget.setCurrentIndex(1)600 598 # Save Pr invertor 601 599 self._calculator = pr -
src/sas/qtgui/Perspectives/Inversion/UI/TabbedInversionUI.ui
rf1ec901 r0580c77 7 7 <x>0</x> 8 8 <y>0</y> 9 <width>4 58</width>10 <height> 695</height>9 <width>473</width> 10 <height>540</height> 11 11 </rect> 12 12 </property> 13 13 <property name="sizePolicy"> 14 <sizepolicy hsizetype=" Expanding" vsizetype="Expanding">14 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 15 15 <horstretch>0</horstretch> 16 16 <verstretch>0</verstretch> … … 19 19 <property name="minimumSize"> 20 20 <size> 21 <width> 458</width>22 <height> 679</height>21 <width>0</width> 22 <height>0</height> 23 23 </size> 24 24 </property> … … 32 32 <string>P(r) Inversion</string> 33 33 </property> 34 <layout class="QGridLayout" name="gridLayout_ 6">34 <layout class="QGridLayout" name="gridLayout_10"> 35 35 <item row="0" column="0"> 36 36 <widget class="QTabWidget" name="PrTabWidget"> 37 37 <property name="sizePolicy"> 38 <sizepolicy hsizetype=" Expanding" vsizetype="Expanding">38 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 39 39 <horstretch>0</horstretch> 40 40 <verstretch>0</verstretch> … … 54 54 <string>P(r) Parameters</string> 55 55 </attribute> 56 <layout class="QGridLayout" name="gridLayout_ 5">57 <item row="0" column="0" >56 <layout class="QGridLayout" name="gridLayout_7"> 57 <item row="0" column="0" colspan="2"> 58 58 <widget class="QGroupBox" name="dataSourceGroupBox"> 59 59 <property name="title"> … … 82 82 <item> 83 83 <widget class="QPushButton" name="removeButton"> 84 <property name="enabled"> 85 <bool>false</bool> 86 </property> 84 87 <property name="sizePolicy"> 85 88 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 95 98 </layout> 96 99 </item> 97 <item row="1" column="0">98 <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="2,1,0,2,2">99 <item>100 <widget class="QLabel" name="label_5">101 <property name="text">102 <string>Background Level:</string>103 </property>104 </widget>105 </item>106 <item>107 <widget class="QLineEdit" name="backgroundInput">108 <property name="enabled">109 <bool>false</bool>110 </property>111 <property name="text">112 <string>0.0</string>113 </property>114 </widget>115 </item>116 <item>117 <widget class="QLabel" name="label_10">118 <property name="text">119 <string><html><head/><body><p>Ã120 <span style=" vertical-align:super;">-1</span></p></body></html></string>121 </property>122 </widget>123 </item>124 <item>125 <widget class="QRadioButton" name="estimateBgd">126 <property name="text">127 <string>Estimate</string>128 </property>129 </widget>130 </item>131 <item>132 <widget class="QRadioButton" name="manualBgd">133 <property name="text">134 <string>Manual Input</string>135 </property>136 </widget>137 </item>138 </layout>139 </item>140 100 </layout> 141 101 </widget> 142 102 </item> 143 <item row="1" column="0"> 144 <widget class="QGroupBox" name="qRangeGroupBox"> 145 <property name="title"> 146 <string>Total Q range</string> 147 </property> 148 <layout class="QGridLayout" name="gridLayout_3"> 149 <item row="0" column="0"> 150 <layout class="QHBoxLayout" name="horizontalLayout_4"> 151 <item> 152 <widget class="QLabel" name="label_7"> 153 <property name="text"> 154 <string>Min:</string> 155 </property> 156 </widget> 157 </item> 158 <item> 159 <widget class="QLineEdit" name="minQInput"> 160 <property name="enabled"> 161 <bool>true</bool> 162 </property> 163 </widget> 164 </item> 165 <item> 166 <widget class="QLabel" name="label_11"> 167 <property name="text"> 168 <string><html><head/><body><p>Ã 169 <span style=" vertical-align:super;">-1</span></p></body></html></string> 170 </property> 171 </widget> 172 </item> 173 <item> 174 <widget class="QLabel" name="label_8"> 175 <property name="text"> 176 <string>Max:</string> 177 </property> 178 </widget> 179 </item> 180 <item> 181 <widget class="QLineEdit" name="maxQInput"> 182 <property name="enabled"> 183 <bool>true</bool> 184 </property> 185 </widget> 186 </item> 187 <item> 188 <widget class="QLabel" name="label_9"> 189 <property name="text"> 190 <string><html><head/><body><p>Ã 191 <span style=" vertical-align:super;">-1</span></p></body></html></string> 192 </property> 193 </widget> 194 </item> 195 </layout> 196 </item> 197 </layout> 198 </widget> 199 </item> 200 <item row="2" column="0"> 201 <widget class="QGroupBox" name="slitParamsGroupBox"> 202 <property name="title"> 203 <string>Slit Parameters</string> 204 </property> 205 <layout class="QGridLayout" name="gridLayout"> 206 <item row="0" column="0"> 207 <layout class="QHBoxLayout" name="horizontalLayout"> 208 <item> 209 <widget class="QLabel" name="label_3"> 210 <property name="text"> 211 <string>Height</string> 212 </property> 213 </widget> 214 </item> 215 <item> 216 <widget class="QLineEdit" name="slitHeightInput"> 217 <property name="enabled"> 218 <bool>true</bool> 219 </property> 220 </widget> 221 </item> 222 <item> 223 <widget class="QLabel" name="label_6"> 224 <property name="text"> 225 <string><html><head/><body><p>Ã 226 <span style=" vertical-align:super;">-1</span></p></body></html></string> 227 </property> 228 </widget> 229 </item> 230 <item> 231 <widget class="QLabel" name="label_4"> 232 <property name="text"> 233 <string>Width</string> 234 </property> 235 </widget> 236 </item> 237 <item> 238 <widget class="QLineEdit" name="slitWidthInput"> 239 <property name="enabled"> 240 <bool>true</bool> 241 </property> 242 </widget> 243 </item> 244 <item> 245 <widget class="QLabel" name="label_2"> 246 <property name="text"> 247 <string><html><head/><body><p>Ã 248 <span style=" vertical-align:super;">-1</span></p></body></html></string> 249 </property> 250 </widget> 251 </item> 252 </layout> 253 </item> 254 </layout> 255 </widget> 256 </item> 257 <item row="3" column="0"> 258 <widget class="QGroupBox" name="paramGroupBox"> 259 <property name="sizePolicy"> 260 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 261 <horstretch>0</horstretch> 262 <verstretch>0</verstretch> 263 </sizepolicy> 264 </property> 265 <property name="toolTip"> 266 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 103 <item row="1" column="0" colspan="2"> 104 <layout class="QGridLayout" name="gridLayout_6"> 105 <item row="0" column="0"> 106 <widget class="QGroupBox" name="paramGroupBox"> 107 <property name="sizePolicy"> 108 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> 109 <horstretch>0</horstretch> 110 <verstretch>0</verstretch> 111 </sizepolicy> 112 </property> 113 <property name="toolTip"> 114 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 267 115 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 268 116 p, li { white-space: pre-wrap; } 269 117 </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;"> 270 118 <pre style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;><span style=" font-family:'Courier New'; font-size:9pt; color:#000000;">P(r) is found by fitting a set of base functions to I(Q). The minimization involves a regularization term to ensure a smooth P(r). The regularization constant gives the size of that term. The suggested value is the value above which the output P(r) will have only one peak.</span></pre></body></html></string> 271 </property> 272 <property name="title"> 273 <string>Parameters</string> 274 </property> 275 <layout class="QGridLayout" name="gridLayout_8"> 276 <item row="1" column="0"> 277 <widget class="QLabel" name="label_13"> 278 <property name="text"> 279 <string>Regularization constant</string> 280 </property> 281 </widget> 282 </item> 283 <item row="0" column="2"> 284 <widget class="QPushButton" name="noOfTermsSuggestionButton"> 285 <property name="enabled"> 286 <bool>false</bool> 287 </property> 288 <property name="text"> 289 <string/> 290 </property> 291 </widget> 292 </item> 293 <item row="2" column="2"> 294 <widget class="QPushButton" name="explorerButton"> 295 <property name="sizePolicy"> 296 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 297 <horstretch>0</horstretch> 298 <verstretch>0</verstretch> 299 </sizepolicy> 300 </property> 301 <property name="toolTip"> 302 <string><html><head/><body><p>Open the D<span style=" vertical-align:sub;">max</span> explorer window.</p></body></html></string> 303 </property> 304 <property name="layoutDirection"> 305 <enum>Qt::LeftToRight</enum> 306 </property> 307 <property name="text"> 308 <string>Explore</string> 309 </property> 310 </widget> 311 </item> 312 <item row="0" column="1"> 313 <widget class="QLineEdit" name="noOfTermsInput"/> 314 </item> 315 <item row="2" column="1"> 316 <widget class="QLineEdit" name="maxDistanceInput"/> 317 </item> 318 <item row="0" column="0"> 319 <widget class="QLabel" name="label_12"> 320 <property name="text"> 321 <string>Number of Terms</string> 322 </property> 323 </widget> 324 </item> 325 <item row="1" column="2"> 326 <widget class="QPushButton" name="regConstantSuggestionButton"> 327 <property name="enabled"> 328 <bool>false</bool> 329 </property> 330 <property name="text"> 331 <string/> 332 </property> 333 </widget> 334 </item> 335 <item row="2" column="0"> 336 <widget class="QLabel" name="label_14"> 337 <property name="text"> 338 <string>Max distance [Ã 119 </property> 120 <property name="title"> 121 <string>Parameters</string> 122 </property> 123 <layout class="QGridLayout" name="gridLayout"> 124 <item row="0" column="0"> 125 <widget class="QLabel" name="label_12"> 126 <property name="sizePolicy"> 127 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 128 <horstretch>0</horstretch> 129 <verstretch>0</verstretch> 130 </sizepolicy> 131 </property> 132 <property name="text"> 133 <string>Number of terms</string> 134 </property> 135 </widget> 136 </item> 137 <item row="0" column="1"> 138 <widget class="QLineEdit" name="noOfTermsInput"> 139 <property name="sizePolicy"> 140 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 141 <horstretch>0</horstretch> 142 <verstretch>0</verstretch> 143 </sizepolicy> 144 </property> 145 <property name="minimumSize"> 146 <size> 147 <width>40</width> 148 <height>0</height> 149 </size> 150 </property> 151 </widget> 152 </item> 153 <item row="0" column="2"> 154 <widget class="QPushButton" name="noOfTermsSuggestionButton"> 155 <property name="enabled"> 156 <bool>false</bool> 157 </property> 158 <property name="text"> 159 <string/> 160 </property> 161 </widget> 162 </item> 163 <item row="1" column="0"> 164 <widget class="QLabel" name="label_13"> 165 <property name="sizePolicy"> 166 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 167 <horstretch>0</horstretch> 168 <verstretch>0</verstretch> 169 </sizepolicy> 170 </property> 171 <property name="minimumSize"> 172 <size> 173 <width>80</width> 174 <height>0</height> 175 </size> 176 </property> 177 <property name="text"> 178 <string>Reg. constant</string> 179 </property> 180 </widget> 181 </item> 182 <item row="1" column="1"> 183 <widget class="QLineEdit" name="regularizationConstantInput"> 184 <property name="sizePolicy"> 185 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 186 <horstretch>0</horstretch> 187 <verstretch>0</verstretch> 188 </sizepolicy> 189 </property> 190 <property name="minimumSize"> 191 <size> 192 <width>40</width> 193 <height>0</height> 194 </size> 195 </property> 196 </widget> 197 </item> 198 <item row="1" column="2"> 199 <widget class="QPushButton" name="regConstantSuggestionButton"> 200 <property name="enabled"> 201 <bool>false</bool> 202 </property> 203 <property name="text"> 204 <string/> 205 </property> 206 </widget> 207 </item> 208 <item row="2" column="0"> 209 <widget class="QLabel" name="label_14"> 210 <property name="sizePolicy"> 211 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 212 <horstretch>0</horstretch> 213 <verstretch>0</verstretch> 214 </sizepolicy> 215 </property> 216 <property name="text"> 217 <string>Max distance [Ã 339 218 ]</string> 340 </property> 341 </widget> 342 </item> 343 <item row="1" column="1"> 344 <widget class="QLineEdit" name="regularizationConstantInput"/> 345 </item> 346 </layout> 347 </widget> 219 </property> 220 </widget> 221 </item> 222 <item row="2" column="1"> 223 <widget class="QLineEdit" name="maxDistanceInput"> 224 <property name="sizePolicy"> 225 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 226 <horstretch>0</horstretch> 227 <verstretch>0</verstretch> 228 </sizepolicy> 229 </property> 230 <property name="minimumSize"> 231 <size> 232 <width>40</width> 233 <height>0</height> 234 </size> 235 </property> 236 </widget> 237 </item> 238 <item row="2" column="2"> 239 <widget class="QPushButton" name="explorerButton"> 240 <property name="sizePolicy"> 241 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 242 <horstretch>0</horstretch> 243 <verstretch>0</verstretch> 244 </sizepolicy> 245 </property> 246 <property name="minimumSize"> 247 <size> 248 <width>50</width> 249 <height>0</height> 250 </size> 251 </property> 252 <property name="toolTip"> 253 <string><html><head/><body><p>Open the D<span style=" vertical-align:sub;">max</span> explorer window.</p></body></html></string> 254 </property> 255 <property name="layoutDirection"> 256 <enum>Qt::LeftToRight</enum> 257 </property> 258 <property name="text"> 259 <string>Explore</string> 260 </property> 261 </widget> 262 </item> 263 </layout> 264 <zorder>noOfTermsInput</zorder> 265 <zorder>noOfTermsSuggestionButton</zorder> 266 <zorder>regularizationConstantInput</zorder> 267 <zorder>regConstantSuggestionButton</zorder> 268 <zorder>maxDistanceInput</zorder> 269 <zorder>explorerButton</zorder> 270 <zorder>label_13</zorder> 271 <zorder>label_12</zorder> 272 <zorder>label_14</zorder> 273 </widget> 274 </item> 275 </layout> 348 276 </item> 349 <item row=" 4" column="0">277 <item row="2" column="0"> 350 278 <widget class="QGroupBox" name="outputsGroupBox"> 351 279 <property name="title"> … … 353 281 </property> 354 282 <layout class="QGridLayout" name="gridLayout_4"> 283 <item row="1" column="1"> 284 <widget class="QLineEdit" name="rgValue"> 285 <property name="enabled"> 286 <bool>true</bool> 287 </property> 288 <property name="sizePolicy"> 289 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 290 <horstretch>0</horstretch> 291 <verstretch>0</verstretch> 292 </sizepolicy> 293 </property> 294 <property name="readOnly"> 295 <bool>true</bool> 296 </property> 297 </widget> 298 </item> 299 <item row="5" column="1"> 300 <widget class="QLineEdit" name="chiDofValue"> 301 <property name="enabled"> 302 <bool>true</bool> 303 </property> 304 <property name="sizePolicy"> 305 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 306 <horstretch>0</horstretch> 307 <verstretch>0</verstretch> 308 </sizepolicy> 309 </property> 310 <property name="readOnly"> 311 <bool>true</bool> 312 </property> 313 </widget> 314 </item> 315 <item row="3" column="1"> 316 <widget class="QLineEdit" name="backgroundValue"> 317 <property name="enabled"> 318 <bool>true</bool> 319 </property> 320 <property name="sizePolicy"> 321 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 322 <horstretch>0</horstretch> 323 <verstretch>0</verstretch> 324 </sizepolicy> 325 </property> 326 <property name="readOnly"> 327 <bool>true</bool> 328 </property> 329 </widget> 330 </item> 331 <item row="0" column="0"> 332 <widget class="QLabel" name="label_22"> 333 <property name="text"> 334 <string>Parameter</string> 335 </property> 336 </widget> 337 </item> 355 338 <item row="0" column="1"> 356 339 <widget class="QLabel" name="label_23"> … … 363 346 </widget> 364 347 </item> 348 <item row="4" column="2"> 349 <widget class="QLabel" name="label_27"> 350 <property name="text"> 351 <string>secs</string> 352 </property> 353 </widget> 354 </item> 365 355 <item row="0" column="2"> 366 356 <widget class="QLabel" name="label_28"> 367 357 <property name="text"> 368 358 <string>Units</string> 359 </property> 360 </widget> 361 </item> 362 <item row="1" column="0"> 363 <widget class="QLabel" name="label_15"> 364 <property name="text"> 365 <string>Rg</string> 366 </property> 367 </widget> 368 </item> 369 <item row="2" column="2"> 370 <widget class="QLabel" name="label_25"> 371 <property name="text"> 372 <string>Ã 373 -1</string> 374 </property> 375 </widget> 376 </item> 377 <item row="7" column="0"> 378 <widget class="QLabel" name="label_21"> 379 <property name="text"> 380 <string>Positive Fraction</string> 381 </property> 382 </widget> 383 </item> 384 <item row="5" column="0"> 385 <widget class="QLabel" name="label_19"> 386 <property name="text"> 387 <string>Chi^2/dof</string> 388 </property> 389 </widget> 390 </item> 391 <item row="6" column="0"> 392 <widget class="QLabel" name="label_20"> 393 <property name="text"> 394 <string>Oscillations</string> 369 395 </property> 370 396 </widget> … … 375 401 <bool>true</bool> 376 402 </property> 403 <property name="sizePolicy"> 404 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 405 <horstretch>0</horstretch> 406 <verstretch>0</verstretch> 407 </sizepolicy> 408 </property> 377 409 <property name="readOnly"> 378 410 <bool>true</bool> … … 380 412 </widget> 381 413 </item> 382 <item row="3" column="0"> 383 <widget class="QLabel" name="label_17"> 384 <property name="text"> 385 <string>Background</string> 414 <item row="1" column="2"> 415 <widget class="QLabel" name="label_24"> 416 <property name="text"> 417 <string>Ã 418 </string> 419 </property> 420 </widget> 421 </item> 422 <item row="4" column="0"> 423 <widget class="QLabel" name="label_18"> 424 <property name="text"> 425 <string>Computation Time</string> 426 </property> 427 </widget> 428 </item> 429 <item row="8" column="0"> 430 <widget class="QLabel" name="label_29"> 431 <property name="text"> 432 <string>1-sigma positive fraction</string> 433 </property> 434 </widget> 435 </item> 436 <item row="8" column="1"> 437 <widget class="QLineEdit" name="sigmaPosFractionValue"> 438 <property name="enabled"> 439 <bool>true</bool> 440 </property> 441 <property name="sizePolicy"> 442 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 443 <horstretch>0</horstretch> 444 <verstretch>0</verstretch> 445 </sizepolicy> 446 </property> 447 <property name="readOnly"> 448 <bool>true</bool> 386 449 </property> 387 450 </widget> … … 392 455 <bool>true</bool> 393 456 </property> 457 <property name="sizePolicy"> 458 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 459 <horstretch>0</horstretch> 460 <verstretch>0</verstretch> 461 </sizepolicy> 462 </property> 394 463 <property name="readOnly"> 395 464 <bool>true</bool> … … 397 466 </widget> 398 467 </item> 399 <item row=" 2" column="2">400 <widget class="QLabel" name="label_2 5">468 <item row="3" column="2"> 469 <widget class="QLabel" name="label_26"> 401 470 <property name="text"> 402 471 <string>Ã … … 405 474 </widget> 406 475 </item> 407 <item row="3" column="1">408 <widget class="QLineEdit" name="backgroundValue">409 <property name="enabled">410 <bool>true</bool>411 </property>412 <property name="readOnly">413 <bool>true</bool>414 </property>415 </widget>416 </item>417 <item row="1" column="0">418 <widget class="QLabel" name="label_15">419 <property name="text">420 <string>Rg</string>421 </property>422 </widget>423 </item>424 <item row="1" column="2">425 <widget class="QLabel" name="label_24">426 <property name="text">427 <string>Ã428 </string>429 </property>430 </widget>431 </item>432 <item row="6" column="0">433 <widget class="QLabel" name="label_20">434 <property name="text">435 <string>Oscillations</string>436 </property>437 </widget>438 </item>439 <item row="4" column="0">440 <widget class="QLabel" name="label_18">441 <property name="text">442 <string>Computation Time</string>443 </property>444 </widget>445 </item>446 <item row="4" column="2">447 <widget class="QLabel" name="label_27">448 <property name="text">449 <string>secs</string>450 </property>451 </widget>452 </item>453 476 <item row="2" column="0"> 454 477 <widget class="QLabel" name="label_16"> … … 458 481 </widget> 459 482 </item> 460 <item row="3" column="2"> 461 <widget class="QLabel" name="label_26"> 462 <property name="text"> 463 <string>Ã 464 -1</string> 465 </property> 466 </widget> 467 </item> 468 <item row="0" column="0"> 469 <widget class="QLabel" name="label_22"> 470 <property name="text"> 471 <string>Parameter</string> 472 </property> 473 </widget> 474 </item> 475 <item row="8" column="0"> 476 <widget class="QLabel" name="label_29"> 477 <property name="text"> 478 <string>1-sigma positive fraction</string> 483 <item row="4" column="1"> 484 <widget class="QLineEdit" name="computationTimeValue"> 485 <property name="enabled"> 486 <bool>true</bool> 487 </property> 488 <property name="sizePolicy"> 489 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 490 <horstretch>0</horstretch> 491 <verstretch>0</verstretch> 492 </sizepolicy> 493 </property> 494 <property name="readOnly"> 495 <bool>true</bool> 496 </property> 497 </widget> 498 </item> 499 <item row="3" column="0"> 500 <widget class="QLabel" name="label_17"> 501 <property name="text"> 502 <string>Background</string> 479 503 </property> 480 504 </widget> … … 485 509 <bool>true</bool> 486 510 </property> 487 <property name="readOnly"> 488 <bool>true</bool> 489 </property> 490 </widget> 491 </item> 492 <item row="5" column="0"> 493 <widget class="QLabel" name="label_19"> 494 <property name="text"> 495 <string>Chi^2/dof</string> 496 </property> 497 </widget> 498 </item> 499 <item row="1" column="1"> 500 <widget class="QLineEdit" name="rgValue"> 501 <property name="enabled"> 502 <bool>true</bool> 503 </property> 504 <property name="readOnly"> 505 <bool>true</bool> 506 </property> 507 </widget> 508 </item> 509 <item row="5" column="1"> 510 <widget class="QLineEdit" name="chiDofValue"> 511 <property name="enabled"> 512 <bool>true</bool> 513 </property> 514 <property name="readOnly"> 515 <bool>true</bool> 516 </property> 517 </widget> 518 </item> 519 <item row="4" column="1"> 520 <widget class="QLineEdit" name="computationTimeValue"> 521 <property name="enabled"> 522 <bool>true</bool> 523 </property> 524 <property name="readOnly"> 525 <bool>true</bool> 526 </property> 527 </widget> 528 </item> 529 <item row="7" column="0"> 530 <widget class="QLabel" name="label_21"> 531 <property name="text"> 532 <string>Positive Fraction</string> 533 </property> 534 </widget> 535 </item> 536 <item row="8" column="1"> 537 <widget class="QLineEdit" name="sigmaPosFractionValue"> 538 <property name="enabled"> 539 <bool>true</bool> 511 <property name="sizePolicy"> 512 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 513 <horstretch>0</horstretch> 514 <verstretch>0</verstretch> 515 </sizepolicy> 540 516 </property> 541 517 <property name="readOnly"> … … 546 522 </layout> 547 523 </widget> 524 </item> 525 </layout> 526 </widget> 527 <widget class="QWidget" name="tabOptions"> 528 <attribute name="title"> 529 <string>Options</string> 530 </attribute> 531 <layout class="QGridLayout" name="gridLayout_9"> 532 <item row="0" column="0"> 533 <widget class="QGroupBox" name="groupBox"> 534 <property name="title"> 535 <string>Options</string> 536 </property> 537 <layout class="QGridLayout" name="gridLayout_8"> 538 <item row="0" column="0"> 539 <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="2,1,0,2,2"> 540 <item> 541 <widget class="QLabel" name="label_5"> 542 <property name="text"> 543 <string>Background Level:</string> 544 </property> 545 </widget> 546 </item> 547 <item> 548 <widget class="QLineEdit" name="backgroundInput"> 549 <property name="enabled"> 550 <bool>false</bool> 551 </property> 552 <property name="text"> 553 <string>0.0</string> 554 </property> 555 </widget> 556 </item> 557 <item> 558 <widget class="QLabel" name="label_10"> 559 <property name="text"> 560 <string><html><head/><body><p>Ã 561 <span style=" vertical-align:super;">-1</span></p></body></html></string> 562 </property> 563 </widget> 564 </item> 565 <item> 566 <widget class="QRadioButton" name="estimateBgd"> 567 <property name="text"> 568 <string>Estimate</string> 569 </property> 570 </widget> 571 </item> 572 <item> 573 <widget class="QRadioButton" name="manualBgd"> 574 <property name="text"> 575 <string>Manual Input</string> 576 </property> 577 </widget> 578 </item> 579 </layout> 580 </item> 581 <item row="1" column="0"> 582 <widget class="QGroupBox" name="qRangeGroupBox"> 583 <property name="title"> 584 <string>Total Q range</string> 585 </property> 586 <layout class="QGridLayout" name="gridLayout_3"> 587 <item row="0" column="0"> 588 <layout class="QHBoxLayout" name="horizontalLayout_4"> 589 <item> 590 <widget class="QLabel" name="label_7"> 591 <property name="text"> 592 <string>Min:</string> 593 </property> 594 </widget> 595 </item> 596 <item> 597 <widget class="QLineEdit" name="minQInput"> 598 <property name="enabled"> 599 <bool>true</bool> 600 </property> 601 <property name="sizePolicy"> 602 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 603 <horstretch>0</horstretch> 604 <verstretch>0</verstretch> 605 </sizepolicy> 606 </property> 607 </widget> 608 </item> 609 <item> 610 <widget class="QLabel" name="label_11"> 611 <property name="text"> 612 <string><html><head/><body><p>Ã 613 <span style=" vertical-align:super;">-1</span></p></body></html></string> 614 </property> 615 </widget> 616 </item> 617 <item> 618 <widget class="QLabel" name="label_8"> 619 <property name="text"> 620 <string>Max:</string> 621 </property> 622 </widget> 623 </item> 624 <item> 625 <widget class="QLineEdit" name="maxQInput"> 626 <property name="enabled"> 627 <bool>true</bool> 628 </property> 629 <property name="sizePolicy"> 630 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 631 <horstretch>0</horstretch> 632 <verstretch>0</verstretch> 633 </sizepolicy> 634 </property> 635 </widget> 636 </item> 637 <item> 638 <widget class="QLabel" name="label_9"> 639 <property name="text"> 640 <string><html><head/><body><p>Ã 641 <span style=" vertical-align:super;">-1</span></p></body></html></string> 642 </property> 643 </widget> 644 </item> 645 </layout> 646 </item> 647 </layout> 648 </widget> 649 </item> 650 <item row="2" column="0"> 651 <widget class="QGroupBox" name="slitParamsGroupBox"> 652 <property name="title"> 653 <string>Slit Parameters</string> 654 </property> 655 <layout class="QGridLayout" name="gridLayout_5"> 656 <item row="0" column="0"> 657 <layout class="QHBoxLayout" name="horizontalLayout"> 658 <item> 659 <widget class="QLabel" name="label_3"> 660 <property name="text"> 661 <string>Height</string> 662 </property> 663 </widget> 664 </item> 665 <item> 666 <widget class="QLineEdit" name="slitHeightInput"> 667 <property name="enabled"> 668 <bool>true</bool> 669 </property> 670 <property name="sizePolicy"> 671 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 672 <horstretch>0</horstretch> 673 <verstretch>0</verstretch> 674 </sizepolicy> 675 </property> 676 </widget> 677 </item> 678 <item> 679 <widget class="QLabel" name="label_6"> 680 <property name="text"> 681 <string><html><head/><body><p>Ã 682 <span style=" vertical-align:super;">-1</span></p></body></html></string> 683 </property> 684 </widget> 685 </item> 686 <item> 687 <widget class="QLabel" name="label_4"> 688 <property name="text"> 689 <string>Width</string> 690 </property> 691 </widget> 692 </item> 693 <item> 694 <widget class="QLineEdit" name="slitWidthInput"> 695 <property name="enabled"> 696 <bool>true</bool> 697 </property> 698 <property name="sizePolicy"> 699 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 700 <horstretch>0</horstretch> 701 <verstretch>0</verstretch> 702 </sizepolicy> 703 </property> 704 </widget> 705 </item> 706 <item> 707 <widget class="QLabel" name="label_2"> 708 <property name="text"> 709 <string><html><head/><body><p>Ã 710 <span style=" vertical-align:super;">-1</span></p></body></html></string> 711 </property> 712 </widget> 713 </item> 714 </layout> 715 </item> 716 </layout> 717 </widget> 718 </item> 719 </layout> 720 </widget> 721 </item> 722 <item row="1" column="0"> 723 <spacer name="verticalSpacer"> 724 <property name="orientation"> 725 <enum>Qt::Vertical</enum> 726 </property> 727 <property name="sizeHint" stdset="0"> 728 <size> 729 <width>20</width> 730 <height>255</height> 731 </size> 732 </property> 733 </spacer> 548 734 </item> 549 735 </layout> … … 552 738 </item> 553 739 <item row="1" column="0"> 554 <spacer name="verticalSpacer ">740 <spacer name="verticalSpacer_2"> 555 741 <property name="orientation"> 556 742 <enum>Qt::Vertical</enum> … … 559 745 <size> 560 746 <width>20</width> 561 <height> 2</height>747 <height>0</height> 562 748 </size> 563 749 </property> … … 565 751 </item> 566 752 <item row="2" column="0"> 567 <layout class="QHBoxLayout" name="horizontalLayout_5"> 753 <layout class="QHBoxLayout" name="horizontalLayout_8"> 754 <property name="sizeConstraint"> 755 <enum>QLayout::SetDefaultConstraint</enum> 756 </property> 568 757 <item> 569 758 <widget class="QPushButton" name="calculateThisButton"> 759 <property name="enabled"> 760 <bool>true</bool> 761 </property> 570 762 <property name="text"> 571 763 <string>Calculate</string> … … 575 767 <item> 576 768 <widget class="QPushButton" name="calculateAllButton"> 769 <property name="enabled"> 770 <bool>true</bool> 771 </property> 772 <property name="sizePolicy"> 773 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 774 <horstretch>0</horstretch> 775 <verstretch>0</verstretch> 776 </sizepolicy> 777 </property> 577 778 <property name="text"> 578 779 <string>Calculate All</string> … … 590 791 <property name="sizeHint" stdset="0"> 591 792 <size> 592 <width> 158</width>793 <width>40</width> 593 794 <height>20</height> 594 795 </size>
Note: See TracChangeset
for help on using the changeset viewer.