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

# Form implementation generated from reading ui file '/autohome/dominik/nmreval/src/resources/_ui/asciidialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_ascii_reader(object):
    def setupUi(self, ascii_reader):
        ascii_reader.setObjectName("ascii_reader")
        ascii_reader.resize(667, 509)
        self.verticalLayout = QtWidgets.QVBoxLayout(ascii_reader)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget = QtWidgets.QTabWidget(ascii_reader)
        self.tabWidget.setObjectName("tabWidget")
        self.tabWidgetPage1 = QtWidgets.QWidget()
        self.tabWidgetPage1.setObjectName("tabWidgetPage1")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tabWidgetPage1)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.comment_textfield = QtWidgets.QPlainTextEdit(self.tabWidgetPage1)
        self.comment_textfield.setEnabled(False)
        self.comment_textfield.setMaximumSize(QtCore.QSize(16777215, 180))
        self.comment_textfield.setObjectName("comment_textfield")
        self.verticalLayout_3.addWidget(self.comment_textfield)
        self.ascii_table = QtWidgets.QTableWidget(self.tabWidgetPage1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ascii_table.sizePolicy().hasHeightForWidth())
        self.ascii_table.setSizePolicy(sizePolicy)
        self.ascii_table.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.ascii_table.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.ascii_table.setAlternatingRowColors(True)
        self.ascii_table.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.ascii_table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectColumns)
        self.ascii_table.setObjectName("ascii_table")
        self.ascii_table.setColumnCount(0)
        self.ascii_table.setRowCount(0)
        self.ascii_table.horizontalHeader().setMinimumSectionSize(1)
        self.verticalLayout_3.addWidget(self.ascii_table)
        self.tabWidget.addTab(self.tabWidgetPage1, "")
        self.tabWidgetPage2 = QtWidgets.QWidget()
        self.tabWidgetPage2.setObjectName("tabWidgetPage2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tabWidgetPage2)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.delay_textfield = QtWidgets.QPlainTextEdit(self.tabWidgetPage2)
        self.delay_textfield.setObjectName("delay_textfield")
        self.horizontalLayout_3.addWidget(self.delay_textfield)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setContentsMargins(0, -1, -1, -1)
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtWidgets.QLabel(self.tabWidgetPage2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2)
        self.delay_lineedit = QtWidgets.QLineEdit(self.tabWidgetPage2)
        self.delay_lineedit.setObjectName("delay_lineedit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.delay_lineedit)
        self.label_3 = QtWidgets.QLabel(self.tabWidgetPage2)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3)
        self.start_lineedit = QtWidgets.QLineEdit(self.tabWidgetPage2)
        self.start_lineedit.setObjectName("start_lineedit")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.start_lineedit)
        self.label_4 = QtWidgets.QLabel(self.tabWidgetPage2)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4)
        self.end_lineedit = QtWidgets.QLineEdit(self.tabWidgetPage2)
        self.end_lineedit.setObjectName("end_lineedit")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.end_lineedit)
        self.log_checkBox = QtWidgets.QCheckBox(self.tabWidgetPage2)
        self.log_checkBox.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.log_checkBox.setObjectName("log_checkBox")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.SpanningRole, self.log_checkBox)
        self.staggered_checkBox = QtWidgets.QCheckBox(self.tabWidgetPage2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.staggered_checkBox.sizePolicy().hasHeightForWidth())
        self.staggered_checkBox.setSizePolicy(sizePolicy)
        self.staggered_checkBox.setObjectName("staggered_checkBox")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.staggered_checkBox)
        self.stag_lineEdit = QtWidgets.QLineEdit(self.tabWidgetPage2)
        self.stag_lineEdit.setEnabled(True)
        self.stag_lineEdit.setObjectName("stag_lineEdit")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.stag_lineEdit)
        self.pushButton = QtWidgets.QPushButton(self.tabWidgetPage2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
        self.pushButton.setSizePolicy(sizePolicy)
        icon = QtGui.QIcon.fromTheme("accessories-calculator")
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.pushButton)
        self.horizontalLayout_3.addLayout(self.formLayout)
        self.tabWidget.addTab(self.tabWidgetPage2, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.x_label = QtWidgets.QLabel(ascii_reader)
        self.x_label.setObjectName("x_label")
        self.horizontalLayout.addWidget(self.x_label)
        self.x_lineedit = QtWidgets.QLineEdit(ascii_reader)
        self.x_lineedit.setInputMethodHints(QtCore.Qt.ImhFormattedNumbersOnly|QtCore.Qt.ImhPreferNumbers)
        self.x_lineedit.setObjectName("x_lineedit")
        self.horizontalLayout.addWidget(self.x_lineedit)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.y_label = QtWidgets.QLabel(ascii_reader)
        self.y_label.setObjectName("y_label")
        self.horizontalLayout.addWidget(self.y_label)
        self.y_lineedit = QtWidgets.QLineEdit(ascii_reader)
        self.y_lineedit.setInputMethodHints(QtCore.Qt.ImhFormattedNumbersOnly|QtCore.Qt.ImhPreferNumbers)
        self.y_lineedit.setObjectName("y_lineedit")
        self.horizontalLayout.addWidget(self.y_lineedit)
        self.widget = QtWidgets.QWidget(ascii_reader)
        self.widget.setObjectName("widget")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.widget)
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setSpacing(0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem2)
        self.label_5 = QtWidgets.QLabel(self.widget)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_4.addWidget(self.label_5)
        self.deltay_lineEdit = QtWidgets.QLineEdit(self.widget)
        self.deltay_lineEdit.setObjectName("deltay_lineEdit")
        self.horizontalLayout_4.addWidget(self.deltay_lineEdit)
        self.horizontalLayout.addWidget(self.widget)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.skippy_checkbox = QtWidgets.QCheckBox(ascii_reader)
        self.skippy_checkbox.setObjectName("skippy_checkbox")
        self.horizontalLayout_2.addWidget(self.skippy_checkbox)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.pts_radioButton = QtWidgets.QRadioButton(ascii_reader)
        self.pts_radioButton.setChecked(True)
        self.pts_radioButton.setAutoExclusive(True)
        self.pts_radioButton.setObjectName("pts_radioButton")
        self.buttonGroup = QtWidgets.QButtonGroup(ascii_reader)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.pts_radioButton)
        self.horizontalLayout_2.addWidget(self.pts_radioButton)
        self.FID_radioButton = QtWidgets.QRadioButton(ascii_reader)
        self.FID_radioButton.setAutoExclusive(True)
        self.FID_radioButton.setObjectName("FID_radioButton")
        self.buttonGroup.addButton(self.FID_radioButton)
        self.horizontalLayout_2.addWidget(self.FID_radioButton)
        self.spectrum_radioButton = QtWidgets.QRadioButton(ascii_reader)
        self.spectrum_radioButton.setObjectName("spectrum_radioButton")
        self.buttonGroup.addButton(self.spectrum_radioButton)
        self.horizontalLayout_2.addWidget(self.spectrum_radioButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.buttonbox = QtWidgets.QDialogButtonBox(ascii_reader)
        self.buttonbox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonbox.setObjectName("buttonbox")
        self.verticalLayout.addWidget(self.buttonbox)

        self.retranslateUi(ascii_reader)
        self.tabWidget.setCurrentIndex(0)
        self.buttonbox.rejected.connect(ascii_reader.close)
        QtCore.QMetaObject.connectSlotsByName(ascii_reader)

    def retranslateUi(self, ascii_reader):
        _translate = QtCore.QCoreApplication.translate
        ascii_reader.setWindowTitle(_translate("ascii_reader", "Read text file"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabWidgetPage1), _translate("ascii_reader", "Data"))
        self.label_2.setText(_translate("ascii_reader", "Number of delays"))
        self.label_3.setText(_translate("ascii_reader", "Start value"))
        self.label_4.setText(_translate("ascii_reader", "End value"))
        self.log_checkBox.setText(_translate("ascii_reader", "Logarithmic scale"))
        self.staggered_checkBox.setText(_translate("ascii_reader", "Staggered range"))
        self.pushButton.setText(_translate("ascii_reader", "Calculate delays"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabWidgetPage2), _translate("ascii_reader", "Delays"))
        self.x_label.setText(_translate("ascii_reader", "x"))
        self.x_lineedit.setToolTip(_translate("ascii_reader", "<html><head/><body><p>Specify which column is used as x-value.</p></body></html>"))
        self.y_label.setText(_translate("ascii_reader", "y"))
        self.y_lineedit.setToolTip(_translate("ascii_reader", "<html><head/><body><p>Specify which columns are read for y-values. (\'Points\': Every number creates a new data set;\'FID\'/\'Spectrum\': Numbers at even positions are used for real parts, at odd positions for imaginary parts.)</p></body></html>"))
        self.label_5.setText(_translate("ascii_reader", "<html><head/><body><p>Δy</p></body></html>"))
        self.skippy_checkbox.setToolTip(_translate("ascii_reader", "Use selection for next files. Deletes possible delay values."))
        self.skippy_checkbox.setText(_translate("ascii_reader", "Skip next dialogues?"))
        self.pts_radioButton.setText(_translate("ascii_reader", "Points"))
        self.FID_radioButton.setText(_translate("ascii_reader", "FID"))
        self.spectrum_radioButton.setText(_translate("ascii_reader", "Spectrum"))
