[c00a28ff] | 1 | # -*- coding: utf-8 -*- |
---|
| 2 | |
---|
| 3 | # Form implementation generated from reading ui file '.\Perspectives\Inversion\UI\TabbedInversionUI.ui' |
---|
| 4 | # |
---|
| 5 | # Created by: PyQt4 UI code generator 4.11.4 |
---|
| 6 | # |
---|
| 7 | # WARNING! All changes made in this file will be lost! |
---|
| 8 | |
---|
| 9 | from PyQt4 import QtCore, QtGui |
---|
| 10 | |
---|
| 11 | try: |
---|
| 12 | _fromUtf8 = QtCore.QString.fromUtf8 |
---|
| 13 | except AttributeError: |
---|
| 14 | def _fromUtf8(s): |
---|
| 15 | return s |
---|
| 16 | |
---|
| 17 | try: |
---|
| 18 | _encoding = QtGui.QApplication.UnicodeUTF8 |
---|
| 19 | def _translate(context, text, disambig): |
---|
| 20 | return QtGui.QApplication.translate(context, text, disambig, _encoding) |
---|
| 21 | except AttributeError: |
---|
| 22 | def _translate(context, text, disambig): |
---|
| 23 | return QtGui.QApplication.translate(context, text, disambig) |
---|
| 24 | |
---|
| 25 | class Ui_PrInversion(object): |
---|
| 26 | def setupUi(self, PrInversion): |
---|
| 27 | PrInversion.setObjectName(_fromUtf8("PrInversion")) |
---|
| 28 | PrInversion.resize(458, 500) |
---|
| 29 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) |
---|
| 30 | sizePolicy.setHorizontalStretch(0) |
---|
| 31 | sizePolicy.setVerticalStretch(0) |
---|
| 32 | sizePolicy.setHeightForWidth(PrInversion.sizePolicy().hasHeightForWidth()) |
---|
| 33 | PrInversion.setSizePolicy(sizePolicy) |
---|
| 34 | PrInversion.setMinimumSize(QtCore.QSize(458, 500)) |
---|
| 35 | PrInversion.setMaximumSize(QtCore.QSize(458, 500)) |
---|
| 36 | self.gridLayout_7 = QtGui.QGridLayout(PrInversion) |
---|
| 37 | self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) |
---|
| 38 | self.horizontalLayout_8 = QtGui.QHBoxLayout() |
---|
| 39 | self.horizontalLayout_8.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
---|
| 40 | self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) |
---|
| 41 | self.calculateThisButton = QtGui.QPushButton(PrInversion) |
---|
| 42 | self.calculateThisButton.setObjectName(_fromUtf8("calculateThisButton")) |
---|
| 43 | self.horizontalLayout_8.addWidget(self.calculateThisButton) |
---|
| 44 | self.calculateAllButton = QtGui.QPushButton(PrInversion) |
---|
| 45 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) |
---|
| 46 | sizePolicy.setHorizontalStretch(0) |
---|
| 47 | sizePolicy.setVerticalStretch(0) |
---|
| 48 | sizePolicy.setHeightForWidth(self.calculateAllButton.sizePolicy().hasHeightForWidth()) |
---|
| 49 | self.calculateAllButton.setSizePolicy(sizePolicy) |
---|
| 50 | self.calculateAllButton.setObjectName(_fromUtf8("calculateAllButton")) |
---|
| 51 | self.horizontalLayout_8.addWidget(self.calculateAllButton) |
---|
| 52 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
| 53 | self.horizontalLayout_8.addItem(spacerItem) |
---|
| 54 | self.helpButton = QtGui.QPushButton(PrInversion) |
---|
| 55 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) |
---|
| 56 | sizePolicy.setHorizontalStretch(0) |
---|
| 57 | sizePolicy.setVerticalStretch(0) |
---|
| 58 | sizePolicy.setHeightForWidth(self.helpButton.sizePolicy().hasHeightForWidth()) |
---|
| 59 | self.helpButton.setSizePolicy(sizePolicy) |
---|
| 60 | self.helpButton.setObjectName(_fromUtf8("helpButton")) |
---|
| 61 | self.horizontalLayout_8.addWidget(self.helpButton) |
---|
| 62 | self.gridLayout_7.addLayout(self.horizontalLayout_8, 3, 0, 1, 1) |
---|
| 63 | spacerItem1 = QtGui.QSpacerItem(20, 2, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
---|
| 64 | self.gridLayout_7.addItem(spacerItem1, 2, 0, 1, 1) |
---|
| 65 | self.PrTabWidget = QtGui.QTabWidget(PrInversion) |
---|
| 66 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) |
---|
| 67 | sizePolicy.setHorizontalStretch(0) |
---|
| 68 | sizePolicy.setVerticalStretch(0) |
---|
| 69 | sizePolicy.setHeightForWidth(self.PrTabWidget.sizePolicy().hasHeightForWidth()) |
---|
| 70 | self.PrTabWidget.setSizePolicy(sizePolicy) |
---|
| 71 | self.PrTabWidget.setMinimumSize(QtCore.QSize(0, 0)) |
---|
| 72 | self.PrTabWidget.setObjectName(_fromUtf8("PrTabWidget")) |
---|
| 73 | self.tabMain = QtGui.QWidget() |
---|
| 74 | self.tabMain.setObjectName(_fromUtf8("tabMain")) |
---|
| 75 | self.verticalLayout_6 = QtGui.QVBoxLayout(self.tabMain) |
---|
| 76 | self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6")) |
---|
| 77 | self.dataSourceGroupBox = QtGui.QGroupBox(self.tabMain) |
---|
| 78 | self.dataSourceGroupBox.setObjectName(_fromUtf8("dataSourceGroupBox")) |
---|
| 79 | self.gridLayout_2 = QtGui.QGridLayout(self.dataSourceGroupBox) |
---|
| 80 | self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) |
---|
| 81 | self.horizontalLayout_3 = QtGui.QHBoxLayout() |
---|
| 82 | self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) |
---|
| 83 | self.label_5 = QtGui.QLabel(self.dataSourceGroupBox) |
---|
| 84 | self.label_5.setObjectName(_fromUtf8("label_5")) |
---|
| 85 | self.horizontalLayout_3.addWidget(self.label_5) |
---|
| 86 | self.backgroundInput = QtGui.QLineEdit(self.dataSourceGroupBox) |
---|
| 87 | self.backgroundInput.setEnabled(False) |
---|
| 88 | self.backgroundInput.setObjectName(_fromUtf8("backgroundInput")) |
---|
| 89 | self.horizontalLayout_3.addWidget(self.backgroundInput) |
---|
| 90 | self.label_10 = QtGui.QLabel(self.dataSourceGroupBox) |
---|
| 91 | self.label_10.setObjectName(_fromUtf8("label_10")) |
---|
| 92 | self.horizontalLayout_3.addWidget(self.label_10) |
---|
| 93 | self.estimateBgd = QtGui.QRadioButton(self.dataSourceGroupBox) |
---|
| 94 | self.estimateBgd.setObjectName(_fromUtf8("estimateBgd")) |
---|
| 95 | self.horizontalLayout_3.addWidget(self.estimateBgd) |
---|
| 96 | self.manualBgd = QtGui.QRadioButton(self.dataSourceGroupBox) |
---|
| 97 | self.manualBgd.setObjectName(_fromUtf8("manualBgd")) |
---|
| 98 | self.horizontalLayout_3.addWidget(self.manualBgd) |
---|
| 99 | self.horizontalLayout_3.setStretch(0, 2) |
---|
| 100 | self.horizontalLayout_3.setStretch(1, 1) |
---|
| 101 | self.horizontalLayout_3.setStretch(3, 2) |
---|
| 102 | self.horizontalLayout_3.setStretch(4, 2) |
---|
| 103 | self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1) |
---|
| 104 | self.horizontalLayout_2 = QtGui.QHBoxLayout() |
---|
| 105 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) |
---|
| 106 | self.label = QtGui.QLabel(self.dataSourceGroupBox) |
---|
| 107 | self.label.setObjectName(_fromUtf8("label")) |
---|
| 108 | self.horizontalLayout_2.addWidget(self.label) |
---|
| 109 | self.dataList = QtGui.QComboBox(self.dataSourceGroupBox) |
---|
| 110 | self.dataList.setObjectName(_fromUtf8("dataList")) |
---|
| 111 | self.horizontalLayout_2.addWidget(self.dataList) |
---|
| 112 | self.horizontalLayout_2.setStretch(0, 1) |
---|
| 113 | self.horizontalLayout_2.setStretch(1, 3) |
---|
| 114 | self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1) |
---|
| 115 | self.verticalLayout_6.addWidget(self.dataSourceGroupBox) |
---|
| 116 | self.qRangeGroupBox = QtGui.QGroupBox(self.tabMain) |
---|
| 117 | self.qRangeGroupBox.setObjectName(_fromUtf8("qRangeGroupBox")) |
---|
| 118 | self.gridLayout_3 = QtGui.QGridLayout(self.qRangeGroupBox) |
---|
| 119 | self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) |
---|
| 120 | self.horizontalLayout_4 = QtGui.QHBoxLayout() |
---|
| 121 | self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) |
---|
| 122 | self.label_7 = QtGui.QLabel(self.qRangeGroupBox) |
---|
| 123 | self.label_7.setObjectName(_fromUtf8("label_7")) |
---|
| 124 | self.horizontalLayout_4.addWidget(self.label_7) |
---|
| 125 | self.minQInput = QtGui.QLineEdit(self.qRangeGroupBox) |
---|
| 126 | self.minQInput.setEnabled(True) |
---|
| 127 | self.minQInput.setObjectName(_fromUtf8("minQInput")) |
---|
| 128 | self.horizontalLayout_4.addWidget(self.minQInput) |
---|
| 129 | self.label_11 = QtGui.QLabel(self.qRangeGroupBox) |
---|
| 130 | self.label_11.setObjectName(_fromUtf8("label_11")) |
---|
| 131 | self.horizontalLayout_4.addWidget(self.label_11) |
---|
| 132 | self.label_8 = QtGui.QLabel(self.qRangeGroupBox) |
---|
| 133 | self.label_8.setObjectName(_fromUtf8("label_8")) |
---|
| 134 | self.horizontalLayout_4.addWidget(self.label_8) |
---|
| 135 | self.maxQInput = QtGui.QLineEdit(self.qRangeGroupBox) |
---|
| 136 | self.maxQInput.setEnabled(True) |
---|
| 137 | self.maxQInput.setObjectName(_fromUtf8("maxQInput")) |
---|
| 138 | self.horizontalLayout_4.addWidget(self.maxQInput) |
---|
| 139 | self.label_9 = QtGui.QLabel(self.qRangeGroupBox) |
---|
| 140 | self.label_9.setObjectName(_fromUtf8("label_9")) |
---|
| 141 | self.horizontalLayout_4.addWidget(self.label_9) |
---|
| 142 | self.gridLayout_3.addLayout(self.horizontalLayout_4, 0, 0, 1, 1) |
---|
| 143 | self.verticalLayout_6.addWidget(self.qRangeGroupBox) |
---|
| 144 | self.slitParamsGroupBox = QtGui.QGroupBox(self.tabMain) |
---|
| 145 | self.slitParamsGroupBox.setObjectName(_fromUtf8("slitParamsGroupBox")) |
---|
| 146 | self.gridLayout = QtGui.QGridLayout(self.slitParamsGroupBox) |
---|
| 147 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
---|
| 148 | self.horizontalLayout = QtGui.QHBoxLayout() |
---|
| 149 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
---|
| 150 | self.label_3 = QtGui.QLabel(self.slitParamsGroupBox) |
---|
| 151 | self.label_3.setObjectName(_fromUtf8("label_3")) |
---|
| 152 | self.horizontalLayout.addWidget(self.label_3) |
---|
| 153 | self.slitHeightInput = QtGui.QLineEdit(self.slitParamsGroupBox) |
---|
| 154 | self.slitHeightInput.setEnabled(True) |
---|
| 155 | self.slitHeightInput.setObjectName(_fromUtf8("slitHeightInput")) |
---|
| 156 | self.horizontalLayout.addWidget(self.slitHeightInput) |
---|
| 157 | self.label_6 = QtGui.QLabel(self.slitParamsGroupBox) |
---|
| 158 | self.label_6.setObjectName(_fromUtf8("label_6")) |
---|
| 159 | self.horizontalLayout.addWidget(self.label_6) |
---|
| 160 | self.label_4 = QtGui.QLabel(self.slitParamsGroupBox) |
---|
| 161 | self.label_4.setObjectName(_fromUtf8("label_4")) |
---|
| 162 | self.horizontalLayout.addWidget(self.label_4) |
---|
| 163 | self.slitWidthInput = QtGui.QLineEdit(self.slitParamsGroupBox) |
---|
| 164 | self.slitWidthInput.setEnabled(True) |
---|
| 165 | self.slitWidthInput.setObjectName(_fromUtf8("slitWidthInput")) |
---|
| 166 | self.horizontalLayout.addWidget(self.slitWidthInput) |
---|
| 167 | self.label_2 = QtGui.QLabel(self.slitParamsGroupBox) |
---|
| 168 | self.label_2.setObjectName(_fromUtf8("label_2")) |
---|
| 169 | self.horizontalLayout.addWidget(self.label_2) |
---|
| 170 | self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1) |
---|
| 171 | self.verticalLayout_6.addWidget(self.slitParamsGroupBox) |
---|
| 172 | self.paramGroupBox = QtGui.QGroupBox(self.tabMain) |
---|
| 173 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) |
---|
| 174 | sizePolicy.setHorizontalStretch(0) |
---|
| 175 | sizePolicy.setVerticalStretch(0) |
---|
| 176 | sizePolicy.setHeightForWidth(self.paramGroupBox.sizePolicy().hasHeightForWidth()) |
---|
| 177 | self.paramGroupBox.setSizePolicy(sizePolicy) |
---|
| 178 | self.paramGroupBox.setObjectName(_fromUtf8("paramGroupBox")) |
---|
| 179 | self.gridLayout_8 = QtGui.QGridLayout(self.paramGroupBox) |
---|
| 180 | self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) |
---|
| 181 | self.label_13 = QtGui.QLabel(self.paramGroupBox) |
---|
| 182 | self.label_13.setObjectName(_fromUtf8("label_13")) |
---|
| 183 | self.gridLayout_8.addWidget(self.label_13, 1, 0, 1, 1) |
---|
| 184 | self.noOfTermsSuggestionButton = QtGui.QPushButton(self.paramGroupBox) |
---|
| 185 | self.noOfTermsSuggestionButton.setEnabled(False) |
---|
| 186 | self.noOfTermsSuggestionButton.setText(_fromUtf8("")) |
---|
| 187 | self.noOfTermsSuggestionButton.setObjectName(_fromUtf8("noOfTermsSuggestionButton")) |
---|
| 188 | self.gridLayout_8.addWidget(self.noOfTermsSuggestionButton, 0, 2, 1, 1) |
---|
| 189 | self.explorerButton = QtGui.QPushButton(self.paramGroupBox) |
---|
| 190 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) |
---|
| 191 | sizePolicy.setHorizontalStretch(0) |
---|
| 192 | sizePolicy.setVerticalStretch(0) |
---|
| 193 | sizePolicy.setHeightForWidth(self.explorerButton.sizePolicy().hasHeightForWidth()) |
---|
| 194 | self.explorerButton.setSizePolicy(sizePolicy) |
---|
| 195 | self.explorerButton.setLayoutDirection(QtCore.Qt.LeftToRight) |
---|
| 196 | self.explorerButton.setObjectName(_fromUtf8("explorerButton")) |
---|
| 197 | self.gridLayout_8.addWidget(self.explorerButton, 2, 2, 1, 1) |
---|
| 198 | self.noOfTermsInput = QtGui.QLineEdit(self.paramGroupBox) |
---|
| 199 | self.noOfTermsInput.setObjectName(_fromUtf8("noOfTermsInput")) |
---|
| 200 | self.gridLayout_8.addWidget(self.noOfTermsInput, 0, 1, 1, 1) |
---|
| 201 | self.maxDistanceInput = QtGui.QLineEdit(self.paramGroupBox) |
---|
| 202 | self.maxDistanceInput.setObjectName(_fromUtf8("maxDistanceInput")) |
---|
| 203 | self.gridLayout_8.addWidget(self.maxDistanceInput, 2, 1, 1, 1) |
---|
| 204 | self.label_12 = QtGui.QLabel(self.paramGroupBox) |
---|
| 205 | self.label_12.setObjectName(_fromUtf8("label_12")) |
---|
| 206 | self.gridLayout_8.addWidget(self.label_12, 0, 0, 1, 1) |
---|
| 207 | self.regConstantSuggestionButton = QtGui.QPushButton(self.paramGroupBox) |
---|
| 208 | self.regConstantSuggestionButton.setEnabled(False) |
---|
| 209 | self.regConstantSuggestionButton.setText(_fromUtf8("")) |
---|
| 210 | self.regConstantSuggestionButton.setObjectName(_fromUtf8("regConstantSuggestionButton")) |
---|
| 211 | self.gridLayout_8.addWidget(self.regConstantSuggestionButton, 1, 2, 1, 1) |
---|
| 212 | self.label_14 = QtGui.QLabel(self.paramGroupBox) |
---|
| 213 | self.label_14.setObjectName(_fromUtf8("label_14")) |
---|
| 214 | self.gridLayout_8.addWidget(self.label_14, 2, 0, 1, 1) |
---|
| 215 | self.regularizationConstantInput = QtGui.QLineEdit(self.paramGroupBox) |
---|
| 216 | self.regularizationConstantInput.setObjectName(_fromUtf8("regularizationConstantInput")) |
---|
| 217 | self.gridLayout_8.addWidget(self.regularizationConstantInput, 1, 1, 1, 1) |
---|
| 218 | self.verticalLayout_6.addWidget(self.paramGroupBox) |
---|
| 219 | self.verticalLayout_6.setStretch(1, 1) |
---|
| 220 | self.verticalLayout_6.setStretch(2, 1) |
---|
| 221 | self.PrTabWidget.addTab(self.tabMain, _fromUtf8("")) |
---|
| 222 | self.tabOptions = QtGui.QWidget() |
---|
| 223 | self.tabOptions.setObjectName(_fromUtf8("tabOptions")) |
---|
| 224 | self.gridLayout_6 = QtGui.QGridLayout(self.tabOptions) |
---|
| 225 | self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) |
---|
| 226 | self.outputsGroupBox = QtGui.QGroupBox(self.tabOptions) |
---|
| 227 | self.outputsGroupBox.setObjectName(_fromUtf8("outputsGroupBox")) |
---|
| 228 | self.gridLayout_4 = QtGui.QGridLayout(self.outputsGroupBox) |
---|
| 229 | self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) |
---|
| 230 | self.label_23 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 231 | self.label_23.setAlignment(QtCore.Qt.AlignCenter) |
---|
| 232 | self.label_23.setObjectName(_fromUtf8("label_23")) |
---|
| 233 | self.gridLayout_4.addWidget(self.label_23, 0, 1, 1, 1) |
---|
| 234 | self.label_28 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 235 | self.label_28.setObjectName(_fromUtf8("label_28")) |
---|
| 236 | self.gridLayout_4.addWidget(self.label_28, 0, 2, 1, 1) |
---|
| 237 | self.oscillationValue = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 238 | self.oscillationValue.setEnabled(False) |
---|
| 239 | self.oscillationValue.setObjectName(_fromUtf8("oscillationValue")) |
---|
| 240 | self.gridLayout_4.addWidget(self.oscillationValue, 6, 1, 1, 1) |
---|
| 241 | self.label_17 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 242 | self.label_17.setObjectName(_fromUtf8("label_17")) |
---|
| 243 | self.gridLayout_4.addWidget(self.label_17, 3, 0, 1, 1) |
---|
| 244 | self.posFractionValue = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 245 | self.posFractionValue.setEnabled(False) |
---|
| 246 | self.posFractionValue.setObjectName(_fromUtf8("posFractionValue")) |
---|
| 247 | self.gridLayout_4.addWidget(self.posFractionValue, 7, 1, 1, 1) |
---|
| 248 | self.label_25 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 249 | self.label_25.setObjectName(_fromUtf8("label_25")) |
---|
| 250 | self.gridLayout_4.addWidget(self.label_25, 2, 2, 1, 1) |
---|
| 251 | self.backgroundValue = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 252 | self.backgroundValue.setEnabled(False) |
---|
| 253 | self.backgroundValue.setObjectName(_fromUtf8("backgroundValue")) |
---|
| 254 | self.gridLayout_4.addWidget(self.backgroundValue, 3, 1, 1, 1) |
---|
| 255 | self.label_15 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 256 | self.label_15.setObjectName(_fromUtf8("label_15")) |
---|
| 257 | self.gridLayout_4.addWidget(self.label_15, 1, 0, 1, 1) |
---|
| 258 | self.label_24 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 259 | self.label_24.setObjectName(_fromUtf8("label_24")) |
---|
| 260 | self.gridLayout_4.addWidget(self.label_24, 1, 2, 1, 1) |
---|
| 261 | self.label_20 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 262 | self.label_20.setObjectName(_fromUtf8("label_20")) |
---|
| 263 | self.gridLayout_4.addWidget(self.label_20, 6, 0, 1, 1) |
---|
| 264 | self.label_18 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 265 | self.label_18.setObjectName(_fromUtf8("label_18")) |
---|
| 266 | self.gridLayout_4.addWidget(self.label_18, 4, 0, 1, 1) |
---|
| 267 | self.label_27 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 268 | self.label_27.setObjectName(_fromUtf8("label_27")) |
---|
| 269 | self.gridLayout_4.addWidget(self.label_27, 4, 2, 1, 1) |
---|
| 270 | self.label_16 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 271 | self.label_16.setObjectName(_fromUtf8("label_16")) |
---|
| 272 | self.gridLayout_4.addWidget(self.label_16, 2, 0, 1, 1) |
---|
| 273 | self.label_26 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 274 | self.label_26.setObjectName(_fromUtf8("label_26")) |
---|
| 275 | self.gridLayout_4.addWidget(self.label_26, 3, 2, 1, 1) |
---|
| 276 | self.label_22 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 277 | self.label_22.setObjectName(_fromUtf8("label_22")) |
---|
| 278 | self.gridLayout_4.addWidget(self.label_22, 0, 0, 1, 1) |
---|
| 279 | self.label_29 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 280 | self.label_29.setObjectName(_fromUtf8("label_29")) |
---|
| 281 | self.gridLayout_4.addWidget(self.label_29, 8, 0, 1, 1) |
---|
| 282 | self.iQ0Value = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 283 | self.iQ0Value.setEnabled(False) |
---|
| 284 | self.iQ0Value.setObjectName(_fromUtf8("iQ0Value")) |
---|
| 285 | self.gridLayout_4.addWidget(self.iQ0Value, 2, 1, 1, 1) |
---|
| 286 | self.label_19 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 287 | self.label_19.setObjectName(_fromUtf8("label_19")) |
---|
| 288 | self.gridLayout_4.addWidget(self.label_19, 5, 0, 1, 1) |
---|
| 289 | self.rgValue = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 290 | self.rgValue.setEnabled(False) |
---|
| 291 | self.rgValue.setObjectName(_fromUtf8("rgValue")) |
---|
| 292 | self.gridLayout_4.addWidget(self.rgValue, 1, 1, 1, 1) |
---|
| 293 | self.chiDofValue = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 294 | self.chiDofValue.setEnabled(False) |
---|
| 295 | self.chiDofValue.setObjectName(_fromUtf8("chiDofValue")) |
---|
| 296 | self.gridLayout_4.addWidget(self.chiDofValue, 5, 1, 1, 1) |
---|
| 297 | self.computationTimeValue = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 298 | self.computationTimeValue.setEnabled(False) |
---|
| 299 | self.computationTimeValue.setObjectName(_fromUtf8("computationTimeValue")) |
---|
| 300 | self.gridLayout_4.addWidget(self.computationTimeValue, 4, 1, 1, 1) |
---|
| 301 | self.label_21 = QtGui.QLabel(self.outputsGroupBox) |
---|
| 302 | self.label_21.setObjectName(_fromUtf8("label_21")) |
---|
| 303 | self.gridLayout_4.addWidget(self.label_21, 7, 0, 1, 1) |
---|
| 304 | self.sigmaPosFractionValue = QtGui.QLineEdit(self.outputsGroupBox) |
---|
| 305 | self.sigmaPosFractionValue.setEnabled(False) |
---|
| 306 | self.sigmaPosFractionValue.setObjectName(_fromUtf8("sigmaPosFractionValue")) |
---|
| 307 | self.gridLayout_4.addWidget(self.sigmaPosFractionValue, 8, 1, 1, 1) |
---|
| 308 | self.gridLayout_6.addWidget(self.outputsGroupBox, 0, 0, 1, 1) |
---|
| 309 | spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
---|
| 310 | self.gridLayout_6.addItem(spacerItem2, 1, 0, 1, 1) |
---|
| 311 | self.PrTabWidget.addTab(self.tabOptions, _fromUtf8("")) |
---|
| 312 | self.gridLayout_7.addWidget(self.PrTabWidget, 1, 0, 1, 1) |
---|
| 313 | |
---|
| 314 | self.retranslateUi(PrInversion) |
---|
| 315 | self.PrTabWidget.setCurrentIndex(0) |
---|
| 316 | QtCore.QMetaObject.connectSlotsByName(PrInversion) |
---|
| 317 | |
---|
| 318 | def retranslateUi(self, PrInversion): |
---|
| 319 | PrInversion.setWindowTitle(_translate("PrInversion", "P(r) Inversion", None)) |
---|
| 320 | self.calculateThisButton.setText(_translate("PrInversion", "Calculate", None)) |
---|
| 321 | self.calculateAllButton.setText(_translate("PrInversion", "Calculate All", None)) |
---|
| 322 | self.helpButton.setText(_translate("PrInversion", "Help", None)) |
---|
| 323 | self.dataSourceGroupBox.setTitle(_translate("PrInversion", "I(q) data source", None)) |
---|
| 324 | self.label_5.setText(_translate("PrInversion", "Background Level:", None)) |
---|
| 325 | self.backgroundInput.setText(_translate("PrInversion", "0.0", None)) |
---|
| 326 | self.label_10.setText(_translate("PrInversion", "<html><head/><body><p>Ã
<span style=\" vertical-align:super;\">-1</span></p></body></html>", None)) |
---|
| 327 | self.estimateBgd.setText(_translate("PrInversion", "Estimate", None)) |
---|
| 328 | self.manualBgd.setText(_translate("PrInversion", "Manual Input", None)) |
---|
| 329 | self.label.setText(_translate("PrInversion", "Data File Name:", None)) |
---|
| 330 | self.qRangeGroupBox.setTitle(_translate("PrInversion", "Total Q range", None)) |
---|
| 331 | self.label_7.setText(_translate("PrInversion", "Min:", None)) |
---|
| 332 | self.label_11.setText(_translate("PrInversion", "<html><head/><body><p>Ã
<span style=\" vertical-align:super;\">-1</span></p></body></html>", None)) |
---|
| 333 | self.label_8.setText(_translate("PrInversion", "Max:", None)) |
---|
| 334 | self.label_9.setText(_translate("PrInversion", "<html><head/><body><p>Ã
<span style=\" vertical-align:super;\">-1</span></p></body></html>", None)) |
---|
| 335 | self.slitParamsGroupBox.setTitle(_translate("PrInversion", "Slit Parameters", None)) |
---|
| 336 | self.label_3.setText(_translate("PrInversion", "Height", None)) |
---|
| 337 | self.label_6.setText(_translate("PrInversion", "<html><head/><body><p>Ã
<span style=\" vertical-align:super;\">-1</span></p></body></html>", None)) |
---|
| 338 | self.label_4.setText(_translate("PrInversion", "Width", None)) |
---|
| 339 | self.label_2.setText(_translate("PrInversion", "<html><head/><body><p>Ã
<span style=\" vertical-align:super;\">-1</span></p></body></html>", None)) |
---|
| 340 | self.paramGroupBox.setToolTip(_translate("PrInversion", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" |
---|
| 341 | "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
---|
| 342 | "p, li { white-space: pre-wrap; }\n" |
---|
| 343 | "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt; font-weight:400; font-style:normal;\">\n" |
---|
| 344 | "<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>", None)) |
---|
| 345 | self.paramGroupBox.setTitle(_translate("PrInversion", "Parameters", None)) |
---|
| 346 | self.label_13.setText(_translate("PrInversion", "Regularization constant", None)) |
---|
| 347 | self.explorerButton.setToolTip(_translate("PrInversion", "<html><head/><body><p>Open the D<span style=\" vertical-align:sub;\">max</span> explorer window.</p></body></html>", None)) |
---|
| 348 | self.explorerButton.setText(_translate("PrInversion", "Explore", None)) |
---|
| 349 | self.label_12.setText(_translate("PrInversion", "Number of Terms", None)) |
---|
| 350 | self.label_14.setText(_translate("PrInversion", "Max distance [Ã
]", None)) |
---|
| 351 | self.PrTabWidget.setTabText(self.PrTabWidget.indexOf(self.tabMain), _translate("PrInversion", "P(r) Parameters", None)) |
---|
| 352 | self.outputsGroupBox.setTitle(_translate("PrInversion", "Outputs", None)) |
---|
| 353 | self.label_23.setText(_translate("PrInversion", "Calculated Value", None)) |
---|
| 354 | self.label_28.setText(_translate("PrInversion", "Units", None)) |
---|
| 355 | self.label_17.setText(_translate("PrInversion", "Background", None)) |
---|
| 356 | self.label_25.setText(_translate("PrInversion", "Ã
-1", None)) |
---|
| 357 | self.label_15.setText(_translate("PrInversion", "Rg", None)) |
---|
| 358 | self.label_24.setText(_translate("PrInversion", "Ã
", None)) |
---|
| 359 | self.label_20.setText(_translate("PrInversion", "Oscillations", None)) |
---|
| 360 | self.label_18.setText(_translate("PrInversion", "Computation Time", None)) |
---|
| 361 | self.label_27.setText(_translate("PrInversion", "secs", None)) |
---|
| 362 | self.label_16.setText(_translate("PrInversion", "I(Q=0)", None)) |
---|
| 363 | self.label_26.setText(_translate("PrInversion", "Ã
-1", None)) |
---|
| 364 | self.label_22.setText(_translate("PrInversion", "Parameter", None)) |
---|
| 365 | self.label_29.setText(_translate("PrInversion", "1-sigma positive fraction", None)) |
---|
| 366 | self.label_19.setText(_translate("PrInversion", "Chi^2/dof", None)) |
---|
| 367 | self.label_21.setText(_translate("PrInversion", "Positive Fraction", None)) |
---|
| 368 | self.PrTabWidget.setTabText(self.PrTabWidget.indexOf(self.tabOptions), _translate("PrInversion", "Outputs", None)) |
---|
| 369 | |
---|