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

# Form implementation generated from reading ui file 'src/resources/_ui/save_fit_parameter.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_fitparameter_save_dialog(object):
    def setupUi(self, fitparameter_save_dialog):
        fitparameter_save_dialog.setObjectName("fitparameter_save_dialog")
        fitparameter_save_dialog.resize(578, 537)
        self.gridLayout = QtWidgets.QGridLayout(fitparameter_save_dialog)
        self.gridLayout.setObjectName("gridLayout")
        self.save_path_line = QtWidgets.QLineEdit(fitparameter_save_dialog)
        self.save_path_line.setObjectName("save_path_line")
        self.gridLayout.addWidget(self.save_path_line, 0, 1, 1, 6)
        self.save_path_button = QtWidgets.QToolButton(fitparameter_save_dialog)
        self.save_path_button.setObjectName("save_path_button")
        self.gridLayout.addWidget(self.save_path_button, 0, 0, 1, 1)
        self.comment_line = QtWidgets.QLineEdit(fitparameter_save_dialog)
        self.comment_line.setObjectName("comment_line")
        self.gridLayout.addWidget(self.comment_line, 6, 6, 1, 1)
        self.prec_spinbox = QtWidgets.QSpinBox(fitparameter_save_dialog)
        self.prec_spinbox.setProperty("value", 8)
        self.prec_spinbox.setObjectName("prec_spinbox")
        self.gridLayout.addWidget(self.prec_spinbox, 6, 3, 1, 1)
        self.line_2 = QtWidgets.QFrame(fitparameter_save_dialog)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 4, 0, 1, 7)
        self.label_5 = QtWidgets.QLabel(fitparameter_save_dialog)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.col_line = QtWidgets.QLineEdit(fitparameter_save_dialog)
        self.col_line.setObjectName("col_line")
        self.horizontalLayout.addWidget(self.col_line)
        self.usage_button = QtWidgets.QToolButton(fitparameter_save_dialog)
        self.usage_button.setObjectName("usage_button")
        self.horizontalLayout.addWidget(self.usage_button)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 1, 1, 6)
        self.header_edit = QtWidgets.QTextEdit(fitparameter_save_dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.header_edit.sizePolicy().hasHeightForWidth())
        self.header_edit.setSizePolicy(sizePolicy)
        self.header_edit.setObjectName("header_edit")
        self.gridLayout.addWidget(self.header_edit, 5, 1, 1, 6)
        self.label_4 = QtWidgets.QLabel(fitparameter_save_dialog)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 6, 2, 1, 1)
        self.line = QtWidgets.QFrame(fitparameter_save_dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line.sizePolicy().hasHeightForWidth())
        self.line.setSizePolicy(sizePolicy)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 1, 0, 1, 7)
        self.missing_value_line = QtWidgets.QLineEdit(fitparameter_save_dialog)
        self.missing_value_line.setObjectName("missing_value_line")
        self.gridLayout.addWidget(self.missing_value_line, 6, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(fitparameter_save_dialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 6, 4, 1, 1)
        self.tableWidget = QtWidgets.QTableWidget(fitparameter_save_dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tableWidget.sizePolicy().hasHeightForWidth())
        self.tableWidget.setSizePolicy(sizePolicy)
        self.tableWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tableWidget.setDragDropMode(QtWidgets.QAbstractItemView.DragOnly)
        self.tableWidget.setAlternatingRowColors(True)
        self.tableWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.tableWidget.setColumnCount(2)
        self.tableWidget.setObjectName("tableWidget")
        self.tableWidget.setRowCount(0)
        self.tableWidget.horizontalHeader().setVisible(False)
        self.tableWidget.horizontalHeader().setStretchLastSection(True)
        self.gridLayout.addWidget(self.tableWidget, 2, 0, 1, 7)
        self.buttonBox = QtWidgets.QDialogButtonBox(fitparameter_save_dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 7, 0, 1, 7)
        self.label = QtWidgets.QLabel(fitparameter_save_dialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 6, 0, 1, 1)
        self.header_checkBox = QtWidgets.QCheckBox(fitparameter_save_dialog)
        self.header_checkBox.setObjectName("header_checkBox")
        self.gridLayout.addWidget(self.header_checkBox, 5, 0, 1, 1)
        self.label_5.setBuddy(self.col_line)
        self.label_2.setBuddy(self.comment_line)
        self.label.setBuddy(self.missing_value_line)

        self.retranslateUi(fitparameter_save_dialog)
        self.buttonBox.accepted.connect(fitparameter_save_dialog.accept) # type: ignore
        self.buttonBox.rejected.connect(fitparameter_save_dialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(fitparameter_save_dialog)
        fitparameter_save_dialog.setTabOrder(self.save_path_button, self.save_path_line)
        fitparameter_save_dialog.setTabOrder(self.save_path_line, self.tableWidget)
        fitparameter_save_dialog.setTabOrder(self.tableWidget, self.header_edit)
        fitparameter_save_dialog.setTabOrder(self.header_edit, self.missing_value_line)
        fitparameter_save_dialog.setTabOrder(self.missing_value_line, self.comment_line)

    def retranslateUi(self, fitparameter_save_dialog):
        _translate = QtCore.QCoreApplication.translate
        fitparameter_save_dialog.setWindowTitle(_translate("fitparameter_save_dialog", "Save parameter"))
        self.save_path_button.setText(_translate("fitparameter_save_dialog", "Save path..."))
        self.comment_line.setText(_translate("fitparameter_save_dialog", "#"))
        self.label_5.setText(_translate("fitparameter_save_dialog", "Columns"))
        self.col_line.setPlaceholderText(_translate("fitparameter_save_dialog", "e.g. x; 1000/x; mean(T_1,beta); {beta/beta_1}; M_0*x"))
        self.usage_button.setText(_translate("fitparameter_save_dialog", "Usage?"))
        self.header_edit.setPlaceholderText(_translate("fitparameter_save_dialog", "Header ends always with column description. Additional header lines are commented automatically"))
        self.label_4.setText(_translate("fitparameter_save_dialog", "Precision"))
        self.missing_value_line.setText(_translate("fitparameter_save_dialog", "1e308"))
        self.label_2.setText(_translate("fitparameter_save_dialog", "Comment"))
        self.buttonBox.setToolTip(_translate("fitparameter_save_dialog", "Number of significant digits."))
        self.label.setText(_translate("fitparameter_save_dialog", "Missing values"))
        self.header_checkBox.setText(_translate("fitparameter_save_dialog", "Header"))
