# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/autohome/dominik/nmreval-gitea/src/resources/_ui/fitresult.ui' # # Created by: PyQt5 UI code generator 5.15.7 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(864, 649) self.gridLayout = QtWidgets.QGridLayout(Dialog) self.gridLayout.setObjectName("gridLayout") self.sets_comboBox = ElideComboBox(Dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.sets_comboBox.sizePolicy().hasHeightForWidth()) self.sets_comboBox.setSizePolicy(sizePolicy) self.sets_comboBox.setMaximumSize(QtCore.QSize(400, 16777215)) self.sets_comboBox.setBaseSize(QtCore.QSize(200, 0)) self.sets_comboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength) self.sets_comboBox.setObjectName("sets_comboBox") self.gridLayout.addWidget(self.sets_comboBox, 0, 0, 1, 1) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Retry) self.buttonBox.setObjectName("buttonBox") self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 2) self.param_tableWidget = QtWidgets.QTableWidget(Dialog) self.param_tableWidget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded) self.param_tableWidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored) self.param_tableWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) self.param_tableWidget.setAlternatingRowColors(True) self.param_tableWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection) self.param_tableWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectColumns) self.param_tableWidget.setShowGrid(False) self.param_tableWidget.setColumnCount(0) self.param_tableWidget.setObjectName("param_tableWidget") self.param_tableWidget.setRowCount(0) self.param_tableWidget.horizontalHeader().setStretchLastSection(False) self.gridLayout.addWidget(self.param_tableWidget, 1, 0, 1, 1) self.groupBox = QtWidgets.QGroupBox(Dialog) self.groupBox.setObjectName("groupBox") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_2.setContentsMargins(3, 3, 3, 3) self.gridLayout_2.setSpacing(3) self.gridLayout_2.setObjectName("gridLayout_2") self.extrapolate_box = QtWidgets.QCheckBox(self.groupBox) self.extrapolate_box.setObjectName("extrapolate_box") self.gridLayout_2.addWidget(self.extrapolate_box, 1, 0, 1, 1) self.parameter_checkbox = QtWidgets.QCheckBox(self.groupBox) self.parameter_checkbox.setObjectName("parameter_checkbox") self.gridLayout_2.addWidget(self.parameter_checkbox, 0, 5, 1, 1) self.graph_comboBox = QtWidgets.QComboBox(self.groupBox) self.graph_comboBox.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.graph_comboBox.sizePolicy().hasHeightForWidth()) self.graph_comboBox.setSizePolicy(sizePolicy) self.graph_comboBox.setObjectName("graph_comboBox") self.gridLayout_2.addWidget(self.graph_comboBox, 1, 6, 1, 1) self.graph_checkBox = QtWidgets.QCheckBox(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.graph_checkBox.sizePolicy().hasHeightForWidth()) self.graph_checkBox.setSizePolicy(sizePolicy) self.graph_checkBox.setChecked(True) self.graph_checkBox.setObjectName("graph_checkBox") self.gridLayout_2.addWidget(self.graph_checkBox, 1, 5, 1, 1) self.minx_line = QtWidgets.QLineEdit(self.groupBox) self.minx_line.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.minx_line.sizePolicy().hasHeightForWidth()) self.minx_line.setSizePolicy(sizePolicy) self.minx_line.setObjectName("minx_line") self.gridLayout_2.addWidget(self.minx_line, 1, 1, 1, 1) self.line_2 = QtWidgets.QFrame(self.groupBox) self.line_2.setFrameShape(QtWidgets.QFrame.VLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.gridLayout_2.addWidget(self.line_2, 0, 4, 2, 1) self.maxx_line = QtWidgets.QLineEdit(self.groupBox) self.maxx_line.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.maxx_line.sizePolicy().hasHeightForWidth()) self.maxx_line.setSizePolicy(sizePolicy) self.maxx_line.setObjectName("maxx_line") self.gridLayout_2.addWidget(self.maxx_line, 1, 2, 1, 1) self.numx_line = QtWidgets.QLineEdit(self.groupBox) self.numx_line.setEnabled(False) self.numx_line.setObjectName("numx_line") self.gridLayout_2.addWidget(self.numx_line, 1, 3, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.curve_checkbox = QtWidgets.QCheckBox(self.groupBox) self.curve_checkbox.setChecked(True) self.curve_checkbox.setObjectName("curve_checkbox") self.horizontalLayout.addWidget(self.curve_checkbox) self.partial_checkBox = QtWidgets.QCheckBox(self.groupBox) self.partial_checkBox.setObjectName("partial_checkBox") self.horizontalLayout.addWidget(self.partial_checkBox) self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 4) self.gridLayout.addWidget(self.groupBox, 5, 0, 1, 2) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setSpacing(3) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.reject_fit_checkBox = QtWidgets.QCheckBox(Dialog) self.reject_fit_checkBox.setObjectName("reject_fit_checkBox") self.horizontalLayout_2.addWidget(self.reject_fit_checkBox) self.del_prev_checkBox = QtWidgets.QCheckBox(Dialog) self.del_prev_checkBox.setObjectName("del_prev_checkBox") self.horizontalLayout_2.addWidget(self.del_prev_checkBox) self.gridLayout.addLayout(self.horizontalLayout_2, 2, 0, 1, 1) self.line = QtWidgets.QFrame(Dialog) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout.addWidget(self.line, 3, 0, 1, 2) self.stack = QtWidgets.QTabWidget(Dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.stack.sizePolicy().hasHeightForWidth()) self.stack.setSizePolicy(sizePolicy) self.stack.setObjectName("stack") self.stackPage1 = QtWidgets.QWidget() self.stackPage1.setObjectName("stackPage1") self.gridLayout_3 = QtWidgets.QGridLayout(self.stackPage1) self.gridLayout_3.setContentsMargins(3, 3, 3, 3) self.gridLayout_3.setSpacing(3) self.gridLayout_3.setObjectName("gridLayout_3") self.logy_box = QtWidgets.QCheckBox(self.stackPage1) self.logy_box.setLayoutDirection(QtCore.Qt.RightToLeft) self.logy_box.setObjectName("logy_box") self.gridLayout_3.addWidget(self.logy_box, 2, 1, 1, 1) self.logx_box = QtWidgets.QCheckBox(self.stackPage1) self.logx_box.setLayoutDirection(QtCore.Qt.RightToLeft) self.logx_box.setObjectName("logx_box") self.gridLayout_3.addWidget(self.logx_box, 2, 0, 1, 1) self.graphicsView = GraphicsLayoutWidget(self.stackPage1) self.graphicsView.setObjectName("graphicsView") self.gridLayout_3.addWidget(self.graphicsView, 0, 0, 1, 2) self.stack.addTab(self.stackPage1, "") self.stackPage2 = QtWidgets.QWidget() self.stackPage2.setObjectName("stackPage2") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.stackPage2) self.verticalLayout_2.setContentsMargins(3, 3, 3, 3) self.verticalLayout_2.setSpacing(3) self.verticalLayout_2.setObjectName("verticalLayout_2") self.stats_tableWidget = QtWidgets.QTableWidget(self.stackPage2) self.stats_tableWidget.setFrameShape(QtWidgets.QFrame.Box) self.stats_tableWidget.setGridStyle(QtCore.Qt.NoPen) self.stats_tableWidget.setColumnCount(1) self.stats_tableWidget.setObjectName("stats_tableWidget") self.stats_tableWidget.setRowCount(0) self.stats_tableWidget.horizontalHeader().setVisible(False) self.stats_tableWidget.horizontalHeader().setSortIndicatorShown(True) self.verticalLayout_2.addWidget(self.stats_tableWidget) self.stack.addTab(self.stackPage2, "") self.stackPage3 = QtWidgets.QWidget() self.stackPage3.setObjectName("stackPage3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.stackPage3) self.verticalLayout_3.setContentsMargins(3, 3, 3, 3) self.verticalLayout_3.setSpacing(3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.corr_tableWidget = QtWidgets.QTableWidget(self.stackPage3) self.corr_tableWidget.setFrameShape(QtWidgets.QFrame.Box) self.corr_tableWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) self.corr_tableWidget.setGridStyle(QtCore.Qt.NoPen) self.corr_tableWidget.setObjectName("corr_tableWidget") self.corr_tableWidget.setColumnCount(4) self.corr_tableWidget.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.corr_tableWidget.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.corr_tableWidget.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.corr_tableWidget.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.corr_tableWidget.setHorizontalHeaderItem(3, item) self.corr_tableWidget.horizontalHeader().setStretchLastSection(True) self.corr_tableWidget.verticalHeader().setVisible(False) self.verticalLayout_3.addWidget(self.corr_tableWidget) self.stack.addTab(self.stackPage3, "") self.gridLayout.addWidget(self.stack, 0, 1, 3, 1) self.retranslateUi(Dialog) self.stack.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "Fit results")) self.groupBox.setTitle(_translate("Dialog", "Output")) self.extrapolate_box.setToolTip(_translate("Dialog", "Extrapolates only main function")) self.extrapolate_box.setText(_translate("Dialog", "Extrapolate curves")) self.parameter_checkbox.setText(_translate("Dialog", "Plot parameter")) self.graph_checkBox.setText(_translate("Dialog", "New graph for parameter")) self.minx_line.setToolTip(_translate("Dialog", "Leave empty to start at lowest point")) self.minx_line.setPlaceholderText(_translate("Dialog", "min x")) self.maxx_line.setToolTip(_translate("Dialog", "Leave empty to start at highest point")) self.maxx_line.setPlaceholderText(_translate("Dialog", "max x")) self.numx_line.setPlaceholderText(_translate("Dialog", "# pts")) self.curve_checkbox.setText(_translate("Dialog", "Plot fit curve")) self.partial_checkBox.setText(_translate("Dialog", "Plot partial functions")) self.reject_fit_checkBox.setText(_translate("Dialog", "Reject this fit")) self.del_prev_checkBox.setText(_translate("Dialog", "Delete previous fits")) self.logy_box.setText(_translate("Dialog", "logarithmic y axis")) self.logx_box.setText(_translate("Dialog", "logarithmic x axis")) self.stack.setTabText(self.stack.indexOf(self.stackPage1), _translate("Dialog", "Plot")) self.stack.setTabText(self.stack.indexOf(self.stackPage2), _translate("Dialog", "Statistics")) item = self.corr_tableWidget.horizontalHeaderItem(0) item.setText(_translate("Dialog", "Parameter 1")) item = self.corr_tableWidget.horizontalHeaderItem(1) item.setText(_translate("Dialog", "Parameter 2")) item = self.corr_tableWidget.horizontalHeaderItem(2) item.setText(_translate("Dialog", "Corr.")) item = self.corr_tableWidget.horizontalHeaderItem(3) item.setText(_translate("Dialog", "Partial Corr.")) self.stack.setTabText(self.stack.indexOf(self.stackPage3), _translate("Dialog", "Correlations")) from ..lib.forms import ElideComboBox from pyqtgraph import GraphicsLayoutWidget