# Form implementation generated from reading ui file 'UI.ui'
#
# Created by: PyQt6 UI code generator 6.1.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setEnabled(True)
        MainWindow.resize(600, 600)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(600, 600))
        MainWindow.setMaximumSize(QtCore.QSize(600, 600))
        MainWindow.setAutoFillBackground(False)
        MainWindow.setAnimated(True)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.OutputDirButton = QtWidgets.QPushButton(self.centralwidget)
        self.OutputDirButton.setEnabled(True)
        self.OutputDirButton.setGeometry(QtCore.QRect(500, 54, 80, 40))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.OutputDirButton.sizePolicy().hasHeightForWidth())
        self.OutputDirButton.setSizePolicy(sizePolicy)
        self.OutputDirButton.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.OutputDirButton.setObjectName("OutputDirButton")
        self.InputDirectory = QtWidgets.QTextEdit(self.centralwidget)
        self.InputDirectory.setEnabled(False)
        self.InputDirectory.setGeometry(QtCore.QRect(20, 20, 470, 30))
        self.InputDirectory.setObjectName("InputDirectory")
        self.OutputDirectory = QtWidgets.QTextEdit(self.centralwidget)
        self.OutputDirectory.setEnabled(False)
        self.OutputDirectory.setGeometry(QtCore.QRect(20, 60, 470, 30))
        self.OutputDirectory.setObjectName("OutputDirectory")
        self.EpisodeLabel = QtWidgets.QLabel(self.centralwidget)
        self.EpisodeLabel.setGeometry(QtCore.QRect(20, 100, 60, 30))
        self.EpisodeLabel.setObjectName("EpisodeLabel")
        self.EpisodeSelection = QtWidgets.QComboBox(self.centralwidget)
        self.EpisodeSelection.setGeometry(QtCore.QRect(73, 106, 120, 21))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.EpisodeSelection.sizePolicy().hasHeightForWidth())
        self.EpisodeSelection.setSizePolicy(sizePolicy)
        self.EpisodeSelection.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.EpisodeSelection.setObjectName("EpisodeSelection")
        self.EpisodeSelection.addItem("")
        self.DialogueRegexLabel = QtWidgets.QLabel(self.centralwidget)
        self.DialogueRegexLabel.setGeometry(QtCore.QRect(210, 100, 100, 30))
        self.DialogueRegexLabel.setObjectName("DialogueRegexLabel")
        self.DialogueRegexInput = QtWidgets.QTextEdit(self.centralwidget)
        self.DialogueRegexInput.setGeometry(QtCore.QRect(310, 100, 270, 30))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.DialogueRegexInput.sizePolicy().hasHeightForWidth())
        self.DialogueRegexInput.setSizePolicy(sizePolicy)
        self.DialogueRegexInput.setObjectName("DialogueRegexInput")
        self.SearchText = QtWidgets.QTextEdit(self.centralwidget)
        self.SearchText.setGeometry(QtCore.QRect(79, 140, 500, 30))
        self.SearchText.setObjectName("SearchText")
        self.SearchLabel = QtWidgets.QLabel(self.centralwidget)
        self.SearchLabel.setGeometry(QtCore.QRect(20, 140, 60, 30))
        self.SearchLabel.setObjectName("SearchLabel")
        self.DenoiseCheckBox = QtWidgets.QCheckBox(self.centralwidget)
        self.DenoiseCheckBox.setGeometry(QtCore.QRect(456, 360, 110, 45))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.DenoiseCheckBox.setFont(font)
        self.DenoiseCheckBox.setChecked(False)
        self.DenoiseCheckBox.setObjectName("DenoiseCheckBox")
        self.LOffsetSpinBox = QtWidgets.QDoubleSpinBox(self.centralwidget)
        self.LOffsetSpinBox.setGeometry(QtCore.QRect(510, 402, 60, 35))
        self.LOffsetSpinBox.setMinimum(-1000.0)
        self.LOffsetSpinBox.setMaximum(1000.0)
        self.LOffsetSpinBox.setSingleStep(0.5)
        self.LOffsetSpinBox.setObjectName("LOffsetSpinBox")
        self.LOffsetLabel = QtWidgets.QLabel(self.centralwidget)
        self.LOffsetLabel.setGeometry(QtCore.QRect(460, 402, 50, 35))
        self.LOffsetLabel.setObjectName("LOffsetLabel")
        self.ROffsetLabel = QtWidgets.QLabel(self.centralwidget)
        self.ROffsetLabel.setGeometry(QtCore.QRect(460, 442, 50, 35))
        self.ROffsetLabel.setObjectName("ROffsetLabel")
        self.ROffsetSpinBox = QtWidgets.QDoubleSpinBox(self.centralwidget)
        self.ROffsetSpinBox.setGeometry(QtCore.QRect(510, 442, 60, 35))
        self.ROffsetSpinBox.setMinimum(-1000.0)
        self.ROffsetSpinBox.setMaximum(1000.0)
        self.ROffsetSpinBox.setSingleStep(0.5)
        self.ROffsetSpinBox.setObjectName("ROffsetSpinBox")
        self.seconds_1 = QtWidgets.QLabel(self.centralwidget)
        self.seconds_1.setGeometry(QtCore.QRect(580, 402, 10, 35))
        self.seconds_1.setObjectName("seconds_1")
        self.PerviewButton = QtWidgets.QPushButton(self.centralwidget)
        self.PerviewButton.setEnabled(True)
        self.PerviewButton.setGeometry(QtCore.QRect(460, 482, 131, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.PerviewButton.sizePolicy().hasHeightForWidth())
        self.PerviewButton.setSizePolicy(sizePolicy)
        self.PerviewButton.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.PerviewButton.setObjectName("PerviewButton")
        self.seconds_2 = QtWidgets.QLabel(self.centralwidget)
        self.seconds_2.setGeometry(QtCore.QRect(580, 442, 10, 35))
        self.seconds_2.setObjectName("seconds_2")
        self.ExportButton = QtWidgets.QPushButton(self.centralwidget)
        self.ExportButton.setEnabled(True)
        self.ExportButton.setGeometry(QtCore.QRect(460, 534, 131, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ExportButton.sizePolicy().hasHeightForWidth())
        self.ExportButton.setSizePolicy(sizePolicy)
        self.ExportButton.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ExportButton.setObjectName("ExportButton")
        self.tableWidget = QtWidgets.QTableWidget(self.centralwidget)
        self.tableWidget.setGeometry(QtCore.QRect(20, 180, 420, 400))
        self.tableWidget.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.tableWidget.setLineWidth(1)
        self.tableWidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContents)
        self.tableWidget.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
        self.tableWidget.setAlternatingRowColors(True)
        self.tableWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
        self.tableWidget.setGridStyle(QtCore.Qt.PenStyle.NoPen)
        self.tableWidget.setWordWrap(True)
        self.tableWidget.setRowCount(20)
        self.tableWidget.setColumnCount(4)
        self.tableWidget.setObjectName("tableWidget")
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(3, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setItem(0, 0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setItem(0, 1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setItem(0, 2, item)
        item = QtWidgets.QTableWidgetItem()
        item.setFlags(QtCore.Qt.ItemFlag.ItemIsSelectable|QtCore.Qt.ItemFlag.ItemIsEnabled)
        self.tableWidget.setItem(0, 3, item)
        self.tableWidget.horizontalHeader().setVisible(True)
        self.tableWidget.horizontalHeader().setCascadingSectionResizes(True)
        self.tableWidget.horizontalHeader().setDefaultSectionSize(60)
        self.tableWidget.horizontalHeader().setHighlightSections(True)
        self.tableWidget.horizontalHeader().setMinimumSectionSize(20)
        self.tableWidget.horizontalHeader().setSortIndicatorShown(False)
        self.tableWidget.horizontalHeader().setStretchLastSection(True)
        self.tableWidget.verticalHeader().setVisible(False)
        self.tableWidget.verticalHeader().setDefaultSectionSize(21)
        self.tableWidget.verticalHeader().setSortIndicatorShown(False)
        self.InputDirButton = QtWidgets.QPushButton(self.centralwidget)
        self.InputDirButton.setEnabled(True)
        self.InputDirButton.setGeometry(QtCore.QRect(500, 14, 80, 40))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.InputDirButton.sizePolicy().hasHeightForWidth())
        self.InputDirButton.setSizePolicy(sizePolicy)
        self.InputDirButton.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.InputDirButton.setObjectName("InputDirButton")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Dialogue Extractor"))
        self.OutputDirButton.setText(_translate("MainWindow", "Output"))
        self.EpisodeLabel.setText(_translate("MainWindow", "Episode"))
        self.EpisodeSelection.setItemText(0, _translate("MainWindow", "All"))
        self.DialogueRegexLabel.setText(_translate("MainWindow", "Dialogue Regex"))
        self.SearchLabel.setText(_translate("MainWindow", "Search"))
        self.DenoiseCheckBox.setText(_translate("MainWindow", "   Denoise"))
        self.LOffsetLabel.setText(_translate("MainWindow", "LOffset"))
        self.ROffsetLabel.setText(_translate("MainWindow", "ROffset"))
        self.seconds_1.setText(_translate("MainWindow", "s"))
        self.PerviewButton.setText(_translate("MainWindow", "Preview"))
        self.seconds_2.setText(_translate("MainWindow", "s"))
        self.ExportButton.setText(_translate("MainWindow", "Export"))
        item = self.tableWidget.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ep"))
        item = self.tableWidget.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "st"))
        item = self.tableWidget.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "et"))
        item = self.tableWidget.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "Dialogue"))
        __sortingEnabled = self.tableWidget.isSortingEnabled()
        self.tableWidget.setSortingEnabled(False)
        item = self.tableWidget.item(0, 0)
        item.setText(_translate("MainWindow", "0"))
        item = self.tableWidget.item(0, 1)
        item.setText(_translate("MainWindow", "0:45:12"))
        item = self.tableWidget.item(0, 2)
        item.setText(_translate("MainWindow", "0:1:2"))
        item = self.tableWidget.item(0, 3)
        item.setText(_translate("MainWindow", "奥斯打破外额打破滴我"))
        self.tableWidget.setSortingEnabled(__sortingEnabled)
        self.InputDirButton.setText(_translate("MainWindow", "Input"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec())
