Source code for sas.qtgui.Perspectives.Inversion.UI.DMaxExplorer

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '.\src\sas\qtgui\Perspectives\Inversion\UI\DMaxExplorer.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

[docs]class Ui_DmaxExplorer(object):
[docs] def setupUi(self, DmaxExplorer): DmaxExplorer.setObjectName("DmaxExplorer") DmaxExplorer.resize(586, 538) self.gridLayout_3 = QtWidgets.QGridLayout(DmaxExplorer) self.gridLayout_3.setObjectName("gridLayout_3") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") spacerItem = QtWidgets.QSpacerItem(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label = QtWidgets.QLabel(DmaxExplorer) self.label.setObjectName("label") self.horizontalLayout_3.addWidget(self.label) self.dependentVariable = QtWidgets.QComboBox(DmaxExplorer) self.dependentVariable.setObjectName("dependentVariable") self.dependentVariable.addItem("") self.dependentVariable.addItem("") self.dependentVariable.addItem("") self.dependentVariable.addItem("") self.dependentVariable.addItem("") self.dependentVariable.addItem("") self.dependentVariable.addItem("") self.horizontalLayout_3.addWidget(self.dependentVariable) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem1) self.gridLayout.addLayout(self.horizontalLayout_3, 0, 0, 1, 1) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_2 = QtWidgets.QLabel(DmaxExplorer) self.label_2.setObjectName("label_2") self.horizontalLayout_2.addWidget(self.label_2) self.Npts = QtWidgets.QLineEdit(DmaxExplorer) self.Npts.setObjectName("Npts") self.horizontalLayout_2.addWidget(self.Npts) self.label_3 = QtWidgets.QLabel(DmaxExplorer) self.label_3.setObjectName("label_3") self.horizontalLayout_2.addWidget(self.label_3) self.minDist = QtWidgets.QLineEdit(DmaxExplorer) self.minDist.setObjectName("minDist") self.horizontalLayout_2.addWidget(self.minDist) self.label_4 = QtWidgets.QLabel(DmaxExplorer) self.label_4.setObjectName("label_4") self.horizontalLayout_2.addWidget(self.label_4) self.maxDist = QtWidgets.QLineEdit(DmaxExplorer) self.maxDist.setObjectName("maxDist") self.horizontalLayout_2.addWidget(self.maxDist) self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.closeButton = QtWidgets.QPushButton(DmaxExplorer) self.closeButton.setObjectName("closeButton") self.horizontalLayout.addWidget(self.closeButton) self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1) self.retranslateUi(DmaxExplorer) QtCore.QMetaObject.connectSlotsByName(DmaxExplorer)
[docs] def retranslateUi(self, DmaxExplorer): _translate = QtCore.QCoreApplication.translate DmaxExplorer.setWindowTitle(_translate("DmaxExplorer", "Dialog")) self.label.setText(_translate("DmaxExplorer", "Dependent Variable:")) self.dependentVariable.setItemText(0, _translate("DmaxExplorer", "1-σ positive fraction")) self.dependentVariable.setItemText(1, _translate("DmaxExplorer", "χ²/dof")) self.dependentVariable.setItemText(2, _translate("DmaxExplorer", "I(Q=0)")) self.dependentVariable.setItemText(3, _translate("DmaxExplorer", "Rg")) self.dependentVariable.setItemText(4, _translate("DmaxExplorer", "Oscillation parameter")) self.dependentVariable.setItemText(5, _translate("DmaxExplorer", "Background")) self.dependentVariable.setItemText(6, _translate("DmaxExplorer", "Positive Fraction")) self.label_2.setText(_translate("DmaxExplorer", "Npts")) self.label_3.setText(_translate("DmaxExplorer", "Min Distance [Å]")) self.label_4.setText(_translate("DmaxExplorer", "Max Distance [Å]")) self.closeButton.setText(_translate("DmaxExplorer", "Close"))