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

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


from PyQt5 import QtCore, QtGui, QtWidgets
from UiEx import SliderEx

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(1070, 602)
        Form.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(Form)
        self.horizontalLayout_4.setContentsMargins(2, 0, 0, 0)
        self.horizontalLayout_4.setSpacing(5)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.widget_screen = QtWidgets.QWidget(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget_screen.sizePolicy().hasHeightForWidth())
        self.widget_screen.setSizePolicy(sizePolicy)
        self.widget_screen.setStyleSheet("background-color: rgb(3, 3, 3);")
        self.widget_screen.setObjectName("widget_screen")
        self.verticalLayout.addWidget(self.widget_screen)
        self.groupBox = QtWidgets.QGroupBox(Form)
        self.groupBox.setMinimumSize(QtCore.QSize(0, 110))
        self.groupBox.setStyleSheet("")
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_8.setSpacing(0)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setSpacing(0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_current = QtWidgets.QLabel(self.groupBox)
        self.label_current.setObjectName("label_current")
        self.horizontalLayout_5.addWidget(self.label_current)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.slider_trim = SliderEx(self.groupBox)
        self.slider_trim.setMinimumSize(QtCore.QSize(500, 0))
        self.slider_trim.setFocusPolicy(QtCore.Qt.NoFocus)
        self.slider_trim.setMinimum(-1500)
        self.slider_trim.setMaximum(1500)
        self.slider_trim.setSingleStep(0)
        self.slider_trim.setPageStep(0)
        self.slider_trim.setProperty("value", 0)
        self.slider_trim.setOrientation(QtCore.Qt.Horizontal)
        self.slider_trim.setObjectName("slider_trim")
        self.horizontalLayout_5.addWidget(self.slider_trim)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem1)
        self.label_length = QtWidgets.QLabel(self.groupBox)
        self.label_length.setObjectName("label_length")
        self.horizontalLayout_5.addWidget(self.label_length)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.slider_progress = SliderEx(self.groupBox)
        self.slider_progress.setFocusPolicy(QtCore.Qt.NoFocus)
        self.slider_progress.setMaximum(99999)
        self.slider_progress.setSingleStep(0)
        self.slider_progress.setPageStep(0)
        self.slider_progress.setOrientation(QtCore.Qt.Horizontal)
        self.slider_progress.setObjectName("slider_progress")
        self.verticalLayout_2.addWidget(self.slider_progress)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setSpacing(11)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem2)
        self.label_in_p = QtWidgets.QLabel(self.groupBox)
        self.label_in_p.setObjectName("label_in_p")
        self.horizontalLayout_7.addWidget(self.label_in_p)
        self.btn_set_in = QtWidgets.QPushButton(self.groupBox)
        self.btn_set_in.setMinimumSize(QtCore.QSize(90, 0))
        self.btn_set_in.setMaximumSize(QtCore.QSize(90, 16777215))
        self.btn_set_in.setFocusPolicy(QtCore.Qt.NoFocus)
        self.btn_set_in.setObjectName("btn_set_in")
        self.horizontalLayout_7.addWidget(self.btn_set_in)
        self.btn_add_item = QtWidgets.QPushButton(self.groupBox)
        self.btn_add_item.setMinimumSize(QtCore.QSize(90, 0))
        self.btn_add_item.setMaximumSize(QtCore.QSize(90, 16777215))
        self.btn_add_item.setFocusPolicy(QtCore.Qt.NoFocus)
        self.btn_add_item.setObjectName("btn_add_item")
        self.horizontalLayout_7.addWidget(self.btn_add_item)
        self.btn_set_out = QtWidgets.QPushButton(self.groupBox)
        self.btn_set_out.setMinimumSize(QtCore.QSize(90, 0))
        self.btn_set_out.setMaximumSize(QtCore.QSize(90, 16777215))
        self.btn_set_out.setFocusPolicy(QtCore.Qt.NoFocus)
        self.btn_set_out.setObjectName("btn_set_out")
        self.horizontalLayout_7.addWidget(self.btn_set_out)
        self.label_out_p = QtWidgets.QLabel(self.groupBox)
        self.label_out_p.setObjectName("label_out_p")
        self.horizontalLayout_7.addWidget(self.label_out_p)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem3)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setContentsMargins(11, -1, 11, 5)
        self.horizontalLayout_9.setSpacing(10)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.btn_open = QtWidgets.QPushButton(self.groupBox)
        self.btn_open.setMaximumSize(QtCore.QSize(90, 16777215))
        self.btn_open.setFocusPolicy(QtCore.Qt.NoFocus)
        self.btn_open.setObjectName("btn_open")
        self.horizontalLayout_9.addWidget(self.btn_open)
        self.btn_output = QtWidgets.QPushButton(self.groupBox)
        self.btn_output.setMaximumSize(QtCore.QSize(90, 16777215))
        self.btn_output.setFocusPolicy(QtCore.Qt.NoFocus)
        self.btn_output.setObjectName("btn_output")
        self.horizontalLayout_9.addWidget(self.btn_output)
        self.label = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setText("")
        self.label.setObjectName("label")
        self.horizontalLayout_9.addWidget(self.label)
        self.btn_play = QtWidgets.QPushButton(self.groupBox)
        self.btn_play.setMinimumSize(QtCore.QSize(90, 0))
        self.btn_play.setMaximumSize(QtCore.QSize(90, 16777215))
        self.btn_play.setObjectName("btn_play")
        self.horizontalLayout_9.addWidget(self.btn_play)
        self.label_state = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_state.sizePolicy().hasHeightForWidth())
        self.label_state.setSizePolicy(sizePolicy)
        self.label_state.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_state.setObjectName("label_state")
        self.horizontalLayout_9.addWidget(self.label_state)
        self.comboBox = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setMinimumSize(QtCore.QSize(80, 28))
        self.comboBox.setMaximumSize(QtCore.QSize(90, 16777215))
        self.comboBox.setFocusPolicy(QtCore.Qt.NoFocus)
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.horizontalLayout_9.addWidget(self.comboBox)
        self.btn_start_edit = QtWidgets.QPushButton(self.groupBox)
        self.btn_start_edit.setMaximumSize(QtCore.QSize(90, 16777215))
        self.btn_start_edit.setFocusPolicy(QtCore.Qt.NoFocus)
        self.btn_start_edit.setObjectName("btn_start_edit")
        self.horizontalLayout_9.addWidget(self.btn_start_edit)
        self.verticalLayout_2.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_8.addLayout(self.verticalLayout_2)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.tabWidget = QtWidgets.QTabWidget(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setMinimumSize(QtCore.QSize(200, 0))
        self.tabWidget.setMaximumSize(QtCore.QSize(200, 16777215))
        self.tabWidget.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tabWidget.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.tabWidget.setObjectName("tabWidget")
        self.tab_1 = QtWidgets.QWidget()
        self.tab_1.setObjectName("tab_1")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab_1)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.vlistwidget = QtWidgets.QListWidget(self.tab_1)
        self.vlistwidget.setFocusPolicy(QtCore.Qt.NoFocus)
        self.vlistwidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.vlistwidget.setStyleSheet("background-color: rgb(240, 240, 240);")
        self.vlistwidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.vlistwidget.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerItem)
        self.vlistwidget.setObjectName("vlistwidget")
        self.horizontalLayout_3.addWidget(self.vlistwidget)
        self.tabWidget.addTab(self.tab_1, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.ilistwidget = QtWidgets.QListWidget(self.tab_2)
        self.ilistwidget.setFocusPolicy(QtCore.Qt.NoFocus)
        self.ilistwidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.ilistwidget.setStyleSheet("background-color: rgb(240, 240, 240);")
        self.ilistwidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.ilistwidget.setObjectName("ilistwidget")
        self.horizontalLayout_2.addWidget(self.ilistwidget)
        self.tabWidget.addTab(self.tab_2, "")
        self.horizontalLayout_4.addWidget(self.tabWidget)

        self.retranslateUi(Form)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "视频裁剪"))
        self.label_current.setText(_translate("Form", "00:00:00.000"))
        self.label_length.setText(_translate("Form", "00:00:00.000"))
        self.label_in_p.setText(_translate("Form", "00:00:00.000"))
        self.btn_set_in.setText(_translate("Form", "入点"))
        self.btn_add_item.setText(_translate("Form", "添加"))
        self.btn_set_out.setText(_translate("Form", "出点"))
        self.label_out_p.setText(_translate("Form", "00:00:00.000"))
        self.btn_open.setText(_translate("Form", "打开文件"))
        self.btn_output.setText(_translate("Form", "输出目录"))
        self.btn_play.setText(_translate("Form", "播放"))
        self.label_state.setText(_translate("Form", "当前状态"))
        self.comboBox.setItemText(0, _translate("Form", "选择编码"))
        self.comboBox.setItemText(1, _translate("Form", "None"))
        self.comboBox.setItemText(2, _translate("Form", "h264"))
        self.comboBox.setItemText(3, _translate("Form", "hevc"))
        self.btn_start_edit.setText(_translate("Form", "开始裁剪"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), _translate("Form", "源视频"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Form", "剪辑"))
