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

# Form implementation generated from reading ui file 'resources/_ui/skipdialog.ui'
#
# Created by: PyQt5 UI code generator 5.12.3
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_SkipDialog(object):
    def setupUi(self, SkipDialog):
        SkipDialog.setObjectName("SkipDialog")
        SkipDialog.resize(448, 208)
        SkipDialog.setWindowTitle("")
        self.gridLayout = QtWidgets.QGridLayout(SkipDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtWidgets.QLabel(SkipDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(SkipDialog)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 4)
        self.offset_spinbox = QtWidgets.QSpinBox(SkipDialog)
        self.offset_spinbox.setMinimum(0)
        self.offset_spinbox.setMaximum(1)
        self.offset_spinbox.setProperty("value", 0)
        self.offset_spinbox.setObjectName("offset_spinbox")
        self.gridLayout.addWidget(self.offset_spinbox, 1, 3, 1, 1)
        self.label = QtWidgets.QLabel(SkipDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 2, 1, 1)
        self.step_spinbox = QtWidgets.QSpinBox(SkipDialog)
        self.step_spinbox.setMinimum(2)
        self.step_spinbox.setObjectName("step_spinbox")
        self.gridLayout.addWidget(self.step_spinbox, 1, 1, 1, 1)
        self.invert_check = QtWidgets.QCheckBox(SkipDialog)
        self.invert_check.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.invert_check.setObjectName("invert_check")
        self.gridLayout.addWidget(self.invert_check, 1, 4, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(SkipDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 5)
        self.hide_button = QtWidgets.QRadioButton(SkipDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.hide_button.sizePolicy().hasHeightForWidth())
        self.hide_button.setSizePolicy(sizePolicy)
        self.hide_button.setChecked(True)
        self.hide_button.setObjectName("hide_button")
        self.buttonGroup = QtWidgets.QButtonGroup(SkipDialog)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.hide_button)
        self.gridLayout.addWidget(self.hide_button, 2, 0, 1, 2)
        self.delete_button = QtWidgets.QRadioButton(SkipDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.delete_button.sizePolicy().hasHeightForWidth())
        self.delete_button.setSizePolicy(sizePolicy)
        self.delete_button.setObjectName("delete_button")
        self.buttonGroup.addButton(self.delete_button)
        self.gridLayout.addWidget(self.delete_button, 2, 2, 1, 3)
        self.label_2.setBuddy(self.step_spinbox)
        self.label.setBuddy(self.offset_spinbox)

        self.retranslateUi(SkipDialog)
        self.buttonBox.accepted.connect(SkipDialog.accept)
        self.buttonBox.rejected.connect(SkipDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SkipDialog)
        SkipDialog.setTabOrder(self.step_spinbox, self.offset_spinbox)
        SkipDialog.setTabOrder(self.offset_spinbox, self.invert_check)
        SkipDialog.setTabOrder(self.invert_check, self.hide_button)
        SkipDialog.setTabOrder(self.hide_button, self.delete_button)

    def retranslateUi(self, SkipDialog):
        _translate = QtCore.QCoreApplication.translate
        self.label_2.setText(_translate("SkipDialog", "Step"))
        self.label_4.setText(_translate("SkipDialog", "<html><head/><body><p>Show every <span style=\" font-style:italic;\">step</span> point, beginning with <span style=\" font-style:italic;\">offset (&lt;step).<br/></span>Use <span style=\" font-style:italic;\">Invert </span>to hide every <span style=\" font-style:italic;\">step </span>point.</p></body></html>"))
        self.label.setText(_translate("SkipDialog", "Offset"))
        self.invert_check.setText(_translate("SkipDialog", "Invert"))
        self.hide_button.setText(_translate("SkipDialog", "Hide skipped pts."))
        self.delete_button.setText(_translate("SkipDialog", "Copy without any hidden pts."))
