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

# Form implementation generated from reading ui file 'src/resources/_ui/asciidialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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(665, 904)
        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(6, 6, 6, 6)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.header_widget = ExpandableWidget(self.tabWidgetPage1)
        self.header_widget.setObjectName("header_widget")
        self.verticalLayout_3.addWidget(self.header_widget)
        self.groupBox = QtWidgets.QGroupBox(self.tabWidgetPage1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_4.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.column_checkBox = QtWidgets.QCheckBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.column_checkBox.sizePolicy().hasHeightForWidth())
        self.column_checkBox.setSizePolicy(sizePolicy)
        self.column_checkBox.setObjectName("column_checkBox")
        self.verticalLayout_6.addWidget(self.column_checkBox)
        self.line_spinBox = QtWidgets.QSpinBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_spinBox.sizePolicy().hasHeightForWidth())
        self.line_spinBox.setSizePolicy(sizePolicy)
        self.line_spinBox.setMinimum(1)
        self.line_spinBox.setObjectName("line_spinBox")
        self.verticalLayout_6.addWidget(self.line_spinBox)
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setObjectName("label_6")
        self.verticalLayout_6.addWidget(self.label_6)
        self.preview_spinBox = QtWidgets.QSpinBox(self.groupBox)
        self.preview_spinBox.setMinimum(1)
        self.preview_spinBox.setProperty("value", 10)
        self.preview_spinBox.setObjectName("preview_spinBox")
        self.verticalLayout_6.addWidget(self.preview_spinBox)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem)
        self.horizontalLayout_4.addLayout(self.verticalLayout_6)
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.label = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.verticalLayout_5.addWidget(self.label)
        self.pts_radioButton = QtWidgets.QRadioButton(self.groupBox)
        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.verticalLayout_5.addWidget(self.pts_radioButton)
        self.dsc_radioButton = QtWidgets.QRadioButton(self.groupBox)
        self.dsc_radioButton.setObjectName("dsc_radioButton")
        self.buttonGroup.addButton(self.dsc_radioButton)
        self.verticalLayout_5.addWidget(self.dsc_radioButton)
        self.FID_radioButton = QtWidgets.QRadioButton(self.groupBox)
        self.FID_radioButton.setAutoExclusive(True)
        self.FID_radioButton.setObjectName("FID_radioButton")
        self.buttonGroup.addButton(self.FID_radioButton)
        self.verticalLayout_5.addWidget(self.FID_radioButton)
        self.spectrum_radioButton = QtWidgets.QRadioButton(self.groupBox)
        self.spectrum_radioButton.setObjectName("spectrum_radioButton")
        self.buttonGroup.addButton(self.spectrum_radioButton)
        self.verticalLayout_5.addWidget(self.spectrum_radioButton)
        self.bds_radioButton = QtWidgets.QRadioButton(self.groupBox)
        self.bds_radioButton.setObjectName("bds_radioButton")
        self.buttonGroup.addButton(self.bds_radioButton)
        self.verticalLayout_5.addWidget(self.bds_radioButton)
        self.horizontalLayout_4.addLayout(self.verticalLayout_5)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.deltay_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deltay_lineEdit.sizePolicy().hasHeightForWidth())
        self.deltay_lineEdit.setSizePolicy(sizePolicy)
        self.deltay_lineEdit.setObjectName("deltay_lineEdit")
        self.gridLayout_2.addWidget(self.deltay_lineEdit, 3, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 0, 1, 2)
        self.y_lineedit = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.y_lineedit.sizePolicy().hasHeightForWidth())
        self.y_lineedit.setSizePolicy(sizePolicy)
        self.y_lineedit.setInputMethodHints(QtCore.Qt.ImhFormattedNumbersOnly|QtCore.Qt.ImhPreferNumbers)
        self.y_lineedit.setObjectName("y_lineedit")
        self.gridLayout_2.addWidget(self.y_lineedit, 2, 1, 1, 1)
        self.y_label = QtWidgets.QLabel(self.groupBox)
        self.y_label.setObjectName("y_label")
        self.gridLayout_2.addWidget(self.y_label, 2, 0, 1, 1)
        self.x_lineedit = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.x_lineedit.sizePolicy().hasHeightForWidth())
        self.x_lineedit.setSizePolicy(sizePolicy)
        self.x_lineedit.setInputMethodHints(QtCore.Qt.ImhFormattedNumbersOnly|QtCore.Qt.ImhPreferNumbers)
        self.x_lineedit.setObjectName("x_lineedit")
        self.gridLayout_2.addWidget(self.x_lineedit, 1, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 3, 0, 1, 1)
        self.x_label = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.x_label.sizePolicy().hasHeightForWidth())
        self.x_label.setSizePolicy(sizePolicy)
        self.x_label.setObjectName("x_label")
        self.gridLayout_2.addWidget(self.x_label, 1, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 4, 1, 1, 1)
        self.horizontalLayout_4.addLayout(self.gridLayout_2)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.dsdfsf = QtWidgets.QLabel(self.tabWidgetPage1)
        self.dsdfsf.setObjectName("dsdfsf")
        self.verticalLayout_3.addWidget(self.dsdfsf)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.re_match_index = QtWidgets.QSpinBox(self.tabWidgetPage1)
        self.re_match_index.setMinimum(1)
        self.re_match_index.setObjectName("re_match_index")
        self.gridLayout.addWidget(self.re_match_index, 1, 3, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.tabWidgetPage1)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 1, 2, 1, 1)
        self.regex_input = QtWidgets.QLineEdit(self.tabWidgetPage1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.regex_input.sizePolicy().hasHeightForWidth())
        self.regex_input.setSizePolicy(sizePolicy)
        self.regex_input.setObjectName("regex_input")
        self.gridLayout.addWidget(self.regex_input, 1, 1, 1, 1)
        self.re_button = QtWidgets.QRadioButton(self.tabWidgetPage1)
        self.re_button.setChecked(True)
        self.re_button.setObjectName("re_button")
        self.buttonGroup_2 = QtWidgets.QButtonGroup(ascii_reader)
        self.buttonGroup_2.setObjectName("buttonGroup_2")
        self.buttonGroup_2.addButton(self.re_button)
        self.gridLayout.addWidget(self.re_button, 1, 0, 1, 1)
        self.custom_input = QtWidgets.QLineEdit(self.tabWidgetPage1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.custom_input.sizePolicy().hasHeightForWidth())
        self.custom_input.setSizePolicy(sizePolicy)
        self.custom_input.setObjectName("custom_input")
        self.gridLayout.addWidget(self.custom_input, 2, 1, 1, 1)
        self.custom_button = QtWidgets.QRadioButton(self.tabWidgetPage1)
        self.custom_button.setObjectName("custom_button")
        self.buttonGroup_2.addButton(self.custom_button)
        self.gridLayout.addWidget(self.custom_button, 2, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.tabWidgetPage1)
        self.label_8.setWordWrap(True)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 0, 0, 1, 4)
        self.verticalLayout_3.addLayout(self.gridLayout)
        self.groupBox_2 = QtWidgets.QGroupBox(self.tabWidgetPage1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.ascii_table = QtWidgets.QTableWidget(self.groupBox_2)
        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_2.addWidget(self.ascii_table)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.tabWidget.addTab(self.tabWidgetPage1, "")
        self.tabWidgetPage2 = QtWidgets.QWidget()
        self.tabWidgetPage2.setObjectName("tabWidgetPage2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tabWidgetPage2)
        self.horizontalLayout_3.setContentsMargins(6, 6, 6, 6)
        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)
        self.pushButton.setObjectName("pushButton")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.pushButton)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.formLayout.setItem(6, QtWidgets.QFormLayout.FieldRole, spacerItem2)
        self.horizontalLayout_3.addLayout(self.formLayout)
        self.tabWidget.addTab(self.tabWidgetPage2, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.skippy_checkbox = QtWidgets.QCheckBox(ascii_reader)
        self.skippy_checkbox.setObjectName("skippy_checkbox")
        self.horizontalLayout_2.addWidget(self.skippy_checkbox)
        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) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ascii_reader)
        ascii_reader.setTabOrder(self.tabWidget, self.column_checkBox)
        ascii_reader.setTabOrder(self.column_checkBox, self.line_spinBox)
        ascii_reader.setTabOrder(self.line_spinBox, self.preview_spinBox)
        ascii_reader.setTabOrder(self.preview_spinBox, self.pts_radioButton)
        ascii_reader.setTabOrder(self.pts_radioButton, self.dsc_radioButton)
        ascii_reader.setTabOrder(self.dsc_radioButton, self.FID_radioButton)
        ascii_reader.setTabOrder(self.FID_radioButton, self.spectrum_radioButton)
        ascii_reader.setTabOrder(self.spectrum_radioButton, self.bds_radioButton)
        ascii_reader.setTabOrder(self.bds_radioButton, self.x_lineedit)
        ascii_reader.setTabOrder(self.x_lineedit, self.y_lineedit)
        ascii_reader.setTabOrder(self.y_lineedit, self.deltay_lineEdit)
        ascii_reader.setTabOrder(self.deltay_lineEdit, self.re_button)
        ascii_reader.setTabOrder(self.re_button, self.regex_input)
        ascii_reader.setTabOrder(self.regex_input, self.re_match_index)
        ascii_reader.setTabOrder(self.re_match_index, self.custom_button)
        ascii_reader.setTabOrder(self.custom_button, self.custom_input)
        ascii_reader.setTabOrder(self.custom_input, self.ascii_table)
        ascii_reader.setTabOrder(self.ascii_table, self.delay_textfield)
        ascii_reader.setTabOrder(self.delay_textfield, self.delay_lineedit)
        ascii_reader.setTabOrder(self.delay_lineedit, self.start_lineedit)
        ascii_reader.setTabOrder(self.start_lineedit, self.end_lineedit)
        ascii_reader.setTabOrder(self.end_lineedit, self.log_checkBox)
        ascii_reader.setTabOrder(self.log_checkBox, self.staggered_checkBox)
        ascii_reader.setTabOrder(self.staggered_checkBox, self.stag_lineEdit)
        ascii_reader.setTabOrder(self.stag_lineEdit, self.pushButton)
        ascii_reader.setTabOrder(self.pushButton, self.skippy_checkbox)

    def retranslateUi(self, ascii_reader):
        _translate = QtCore.QCoreApplication.translate
        ascii_reader.setWindowTitle(_translate("ascii_reader", "Read text file"))
        self.groupBox.setTitle(_translate("ascii_reader", "Options"))
        self.column_checkBox.setText(_translate("ascii_reader", "Column name"))
        self.line_spinBox.setPrefix(_translate("ascii_reader", "header line "))
        self.label_6.setText(_translate("ascii_reader", "Preview length"))
        self.label.setText(_translate("ascii_reader", "Import as"))
        self.pts_radioButton.setText(_translate("ascii_reader", "Points"))
        self.dsc_radioButton.setText(_translate("ascii_reader", "DSC"))
        self.FID_radioButton.setText(_translate("ascii_reader", "FID"))
        self.spectrum_radioButton.setText(_translate("ascii_reader", "Spectrum"))
        self.bds_radioButton.setText(_translate("ascii_reader", "BDS"))
        self.label_7.setText(_translate("ascii_reader", "Use columns as"))
        self.y_lineedit.setToolTip(_translate("ascii_reader", "<html><head/><body><p>Specify which columns are used for y values.</p><p>- \'Points\': Every number creates a new data set;<br/>- \'FID\'/\'Spectrum\': Numbers at even positions are used for real parts, at odd positions for imaginary parts.</p></body></html>"))
        self.y_label.setText(_translate("ascii_reader", "y"))
        self.x_lineedit.setToolTip(_translate("ascii_reader", "<html><head/><body><p>Specify which column is used for x values, write <span style=\" font-style:italic;\">index</span> to use row numbers (starting with 0). </p></body></html>"))
        self.label_5.setText(_translate("ascii_reader", "<html><head/><body><p>Δy</p></body></html>"))
        self.x_label.setText(_translate("ascii_reader", "x"))
        self.dsdfsf.setText(_translate("ascii_reader", "Numerical value"))
        self.label_9.setText(_translate("ascii_reader", "Match index"))
        self.regex_input.setToolTip(_translate("ascii_reader", "<html><head/><body><p>Token:<br/>[abc]: Matches any of a, b, or c<br/>[a-z]: Matches any digit in the range a-z<br/>\\d: Matches any digit in the range 0-9 (equal to [0-9}</p><p>Quantifiers:<br/>a*: 0 or more of a<br/>a+: 1 or more of a<br/>a?: 0 or 1 of a</p></body></html>"))
        self.re_button.setText(_translate("ascii_reader", "Regex"))
        self.custom_button.setText(_translate("ascii_reader", "Custom value"))
        self.label_8.setText(_translate("ascii_reader", "Filename"))
        self.groupBox_2.setTitle(_translate("ascii_reader", "Preview"))
        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.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?"))
from ..lib.expandablewidget import ExpandableWidget
