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

# Form implementation generated from reading ui file 'src/resources/_ui/fitresult.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# 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(969, 974)
        self.gridLayout = QtWidgets.QGridLayout(Dialog)
        self.gridLayout.setObjectName("gridLayout")
        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(6, 3, 6, 3)
        self.gridLayout_3.setSpacing(3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 2, 3, 1, 1)
        self.autoscale_box = QtWidgets.QToolButton(self.stackPage1)
        self.autoscale_box.setObjectName("autoscale_box")
        self.gridLayout_3.addWidget(self.autoscale_box, 2, 4, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem1, 2, 1, 1, 1)
        self.verticalGroupBox_2 = QtWidgets.QGroupBox(self.stackPage1)
        self.verticalGroupBox_2.setObjectName("verticalGroupBox_2")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.verticalGroupBox_2)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.logx_box = QtWidgets.QCheckBox(self.verticalGroupBox_2)
        self.logx_box.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.logx_box.setObjectName("logx_box")
        self.verticalLayout_4.addWidget(self.logx_box)
        self.logy_box = QtWidgets.QCheckBox(self.verticalGroupBox_2)
        self.logy_box.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.logy_box.setObjectName("logy_box")
        self.verticalLayout_4.addWidget(self.logy_box)
        self.gridLayout_3.addWidget(self.verticalGroupBox_2, 2, 2, 1, 1)
        self.verticalGroupBox = QtWidgets.QGroupBox(self.stackPage1)
        self.verticalGroupBox.setObjectName("verticalGroupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalGroupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.rel_dev_button = QtWidgets.QRadioButton(self.verticalGroupBox)
        self.rel_dev_button.setObjectName("rel_dev_button")
        self.buttonGroup = QtWidgets.QButtonGroup(Dialog)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.rel_dev_button)
        self.verticalLayout.addWidget(self.rel_dev_button)
        self.abs_dev_button = QtWidgets.QRadioButton(self.verticalGroupBox)
        self.abs_dev_button.setChecked(True)
        self.abs_dev_button.setObjectName("abs_dev_button")
        self.buttonGroup.addButton(self.abs_dev_button)
        self.verticalLayout.addWidget(self.abs_dev_button)
        self.gridLayout_3.addWidget(self.verticalGroupBox, 2, 0, 1, 1)
        self.graphicsView = GraphicsLayoutWidget(self.stackPage1)
        self.graphicsView.setObjectName("graphicsView")
        self.gridLayout_3.addWidget(self.graphicsView, 0, 0, 1, 5)
        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, 5, 1)
        self.param_tableWidget = QtWidgets.QTableWidget(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.param_tableWidget.sizePolicy().hasHeightForWidth())
        self.param_tableWidget.setSizePolicy(sizePolicy)
        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.NoSelection)
        self.param_tableWidget.setColumnCount(1)
        self.param_tableWidget.setObjectName("param_tableWidget")
        self.param_tableWidget.setRowCount(0)
        self.param_tableWidget.horizontalHeader().setVisible(False)
        self.param_tableWidget.horizontalHeader().setStretchLastSection(True)
        self.gridLayout.addWidget(self.param_tableWidget, 1, 0, 1, 1)
        self.del_prev_checkBox = QtWidgets.QCheckBox(Dialog)
        self.del_prev_checkBox.setObjectName("del_prev_checkBox")
        self.gridLayout.addWidget(self.del_prev_checkBox, 3, 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, 5, 0, 1, 2)
        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.reject_fit_checkBox = QtWidgets.QCheckBox(Dialog)
        self.reject_fit_checkBox.setObjectName("reject_fit_checkBox")
        self.gridLayout.addWidget(self.reject_fit_checkBox, 2, 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.graph_comboBox = QtWidgets.QComboBox(self.groupBox)
        self.graph_comboBox.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, 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, 7, 1, 1)
        self.minx_line = QtWidgets.QLineEdit(self.groupBox)
        self.minx_line.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, 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.extrapolate_box = QtWidgets.QCheckBox(self.groupBox)
        self.extrapolate_box.setObjectName("extrapolate_box")
        self.gridLayout_2.addWidget(self.extrapolate_box, 1, 0, 1, 1)
        self.numx_line = QtWidgets.QLineEdit(self.groupBox)
        self.numx_line.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.numx_line.sizePolicy().hasHeightForWidth())
        self.numx_line.setSizePolicy(sizePolicy)
        self.numx_line.setObjectName("numx_line")
        self.gridLayout_2.addWidget(self.numx_line, 1, 3, 1, 1)
        self.graph_checkBox = QtWidgets.QCheckBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, 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, 6, 1, 1)
        self.maxx_line = QtWidgets.QLineEdit(self.groupBox)
        self.maxx_line.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, 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.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, 5, 2, 1)
        self.newx_log_checkbox = QtWidgets.QCheckBox(self.groupBox)
        self.newx_log_checkbox.setEnabled(False)
        self.newx_log_checkbox.setObjectName("newx_log_checkbox")
        self.gridLayout_2.addWidget(self.newx_log_checkbox, 1, 4, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.curve_checkbox = QtWidgets.QCheckBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.curve_checkbox.sizePolicy().hasHeightForWidth())
        self.curve_checkbox.setSizePolicy(sizePolicy)
        self.curve_checkbox.setChecked(True)
        self.curve_checkbox.setObjectName("curve_checkbox")
        self.horizontalLayout.addWidget(self.curve_checkbox)
        self.partial_checkBox = QtWidgets.QCheckBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.partial_checkBox.sizePolicy().hasHeightForWidth())
        self.partial_checkBox.setSizePolicy(sizePolicy)
        self.partial_checkBox.setObjectName("partial_checkBox")
        self.horizontalLayout.addWidget(self.partial_checkBox)
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 5)
        self.parameter_checkbox = QtWidgets.QCheckBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.parameter_checkbox.sizePolicy().hasHeightForWidth())
        self.parameter_checkbox.setSizePolicy(sizePolicy)
        self.parameter_checkbox.setObjectName("parameter_checkbox")
        self.gridLayout_2.addWidget(self.parameter_checkbox, 0, 6, 1, 2)
        self.gridLayout.addWidget(self.groupBox, 7, 0, 1, 2)
        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, 8, 0, 1, 2)

        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.autoscale_box.setToolTip(_translate("Dialog", "Auto-scale graph for all sets"))
        self.autoscale_box.setText(_translate("Dialog", "Autoscale all sets"))
        self.verticalGroupBox_2.setTitle(_translate("Dialog", "Logarithmic axes"))
        self.logx_box.setText(_translate("Dialog", "x axis"))
        self.logy_box.setText(_translate("Dialog", "y axis"))
        self.verticalGroupBox.setTitle(_translate("Dialog", "Residuals"))
        self.rel_dev_button.setText(_translate("Dialog", "relative deviation"))
        self.abs_dev_button.setText(_translate("Dialog", "absolute deviation"))
        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"))
        self.del_prev_checkBox.setText(_translate("Dialog", "Delete previous fits of this set"))
        self.reject_fit_checkBox.setText(_translate("Dialog", "Reject this fit"))
        self.groupBox.setTitle(_translate("Dialog", "Output"))
        self.minx_line.setToolTip(_translate("Dialog", "Leave empty to start at lowest point"))
        self.minx_line.setPlaceholderText(_translate("Dialog", "min x"))
        self.extrapolate_box.setToolTip(_translate("Dialog", "Extrapolates only main function"))
        self.extrapolate_box.setText(_translate("Dialog", "Extrapolate curves"))
        self.numx_line.setPlaceholderText(_translate("Dialog", "# pts"))
        self.graph_checkBox.setText(_translate("Dialog", "New graph for parameter"))
        self.maxx_line.setToolTip(_translate("Dialog", "Leave empty to start at highest point"))
        self.maxx_line.setPlaceholderText(_translate("Dialog", "max x"))
        self.newx_log_checkbox.setText(_translate("Dialog", "log-spaced?"))
        self.curve_checkbox.setText(_translate("Dialog", "Plot fit curve"))
        self.partial_checkBox.setText(_translate("Dialog", "Plot partial functions"))
        self.parameter_checkbox.setText(_translate("Dialog", "Plot parameter"))
from ..lib.forms import ElideComboBox
from pyqtgraph import GraphicsLayoutWidget
