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

# Form implementation generated from reading ui file 'resources/ui/render.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_RenderW(object):
    def setupUi(self, RenderW):
        RenderW.setObjectName("RenderW")
        RenderW.resize(513, 336)
        self.gridLayout_3 = QtWidgets.QGridLayout(RenderW)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.line = QtWidgets.QFrame(RenderW)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_3.addWidget(self.line, 2, 0, 1, 2)
        self.group_encoding = QtWidgets.QGroupBox(RenderW)
        self.group_encoding.setObjectName("group_encoding")
        self.gridLayout = QtWidgets.QGridLayout(self.group_encoding)
        self.gridLayout.setObjectName("gridLayout")
        self.label_6 = QtWidgets.QLabel(self.group_encoding)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1)
        self.cb_format = QtWidgets.QComboBox(self.group_encoding)
        self.cb_format.setObjectName("cb_format")
        self.gridLayout.addWidget(self.cb_format, 0, 1, 1, 2)
        self.tb_format = QtWidgets.QToolButton(self.group_encoding)
        self.tb_format.setEnabled(False)
        self.tb_format.setObjectName("tb_format")
        self.gridLayout.addWidget(self.tb_format, 0, 3, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.group_encoding)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 1, 0, 1, 1)
        self.cb_depth = QtWidgets.QComboBox(self.group_encoding)
        self.cb_depth.setObjectName("cb_depth")
        self.cb_depth.addItem("")
        self.cb_depth.setItemText(0, "8")
        self.cb_depth.addItem("")
        self.cb_depth.setItemText(1, "16")
        self.cb_depth.addItem("")
        self.cb_depth.setItemText(2, "24")
        self.cb_depth.addItem("")
        self.cb_depth.setItemText(3, "32")
        self.cb_depth.addItem("")
        self.cb_depth.setItemText(4, "Float")
        self.gridLayout.addWidget(self.cb_depth, 1, 1, 1, 3)
        self.rb_mono = QtWidgets.QRadioButton(self.group_encoding)
        self.rb_mono.setObjectName("rb_mono")
        self.gridLayout.addWidget(self.rb_mono, 2, 0, 1, 1)
        self.rb_stereo = QtWidgets.QRadioButton(self.group_encoding)
        self.rb_stereo.setObjectName("rb_stereo")
        self.gridLayout.addWidget(self.rb_stereo, 2, 1, 1, 1)
        self.rb_outro = QtWidgets.QRadioButton(self.group_encoding)
        self.rb_outro.setObjectName("rb_outro")
        self.gridLayout.addWidget(self.rb_outro, 2, 2, 1, 1)
        self.sb_channels = QtWidgets.QSpinBox(self.group_encoding)
        self.sb_channels.setEnabled(False)
        self.sb_channels.setMinimum(3)
        self.sb_channels.setObjectName("sb_channels")
        self.gridLayout.addWidget(self.sb_channels, 2, 3, 1, 1)
        self.gridLayout_3.addWidget(self.group_encoding, 1, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.progressBar = QtWidgets.QProgressBar(RenderW)
        self.progressBar.setMaximum(1)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setFormat("")
        self.progressBar.setObjectName("progressBar")
        self.horizontalLayout_2.addWidget(self.progressBar)
        self.b_render = QtWidgets.QPushButton(RenderW)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/16x16/media-record.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.b_render.setIcon(icon)
        self.b_render.setObjectName("b_render")
        self.horizontalLayout_2.addWidget(self.b_render)
        self.b_stop = QtWidgets.QPushButton(RenderW)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/16x16/media-playback-stop.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.b_stop.setIcon(icon1)
        self.b_stop.setObjectName("b_stop")
        self.horizontalLayout_2.addWidget(self.b_stop)
        self.b_close = QtWidgets.QPushButton(RenderW)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/16x16/window-close.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.b_close.setIcon(icon2)
        self.b_close.setObjectName("b_close")
        self.horizontalLayout_2.addWidget(self.b_close)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 3, 0, 1, 2)
        self.group_time = QtWidgets.QGroupBox(RenderW)
        self.group_time.setCheckable(True)
        self.group_time.setObjectName("group_time")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.group_time)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_4 = QtWidgets.QLabel(self.group_time)
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
        self.te_start = QtWidgets.QTimeEdit(self.group_time)
        self.te_start.setObjectName("te_start")
        self.gridLayout_4.addWidget(self.te_start, 0, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.group_time)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.gridLayout_4.addWidget(self.label_5, 1, 0, 1, 1)
        self.te_end = QtWidgets.QTimeEdit(self.group_time)
        self.te_end.setObjectName("te_end")
        self.gridLayout_4.addWidget(self.te_end, 1, 1, 1, 1)
        self.b_now_start = QtWidgets.QPushButton(self.group_time)
        self.b_now_start.setObjectName("b_now_start")
        self.gridLayout_4.addWidget(self.b_now_start, 0, 2, 1, 1)
        self.b_now_end = QtWidgets.QPushButton(self.group_time)
        self.b_now_end.setObjectName("b_now_end")
        self.gridLayout_4.addWidget(self.b_now_end, 1, 2, 1, 1)
        self.gridLayout_3.addWidget(self.group_time, 1, 1, 1, 1)
        self.group_render = QtWidgets.QGroupBox(RenderW)
        self.group_render.setObjectName("group_render")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.group_render)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label = QtWidgets.QLabel(self.group_render)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.cb_render_mode = QtWidgets.QComboBox(self.group_render)
        self.cb_render_mode.setObjectName("cb_render_mode")
        self.cb_render_mode.addItem("")
        self.cb_render_mode.addItem("")
        self.gridLayout_2.addWidget(self.cb_render_mode, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(275, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 0, 2, 1, 1)
        self.cb_buffer_size = QtWidgets.QComboBox(self.group_render)
        self.cb_buffer_size.setEditable(True)
        self.cb_buffer_size.setObjectName("cb_buffer_size")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.cb_buffer_size.addItem("")
        self.gridLayout_2.addWidget(self.cb_buffer_size, 1, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(275, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 1, 2, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.group_render)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.group_render)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.le_folder = QtWidgets.QLineEdit(self.group_render)
        self.le_folder.setObjectName("le_folder")
        self.horizontalLayout.addWidget(self.le_folder)
        self.b_open = QtWidgets.QToolButton(self.group_render)
        self.b_open.setText("")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/16x16/document-open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.b_open.setIcon(icon3)
        self.b_open.setObjectName("b_open")
        self.horizontalLayout.addWidget(self.b_open)
        self.gridLayout_2.addLayout(self.horizontalLayout, 2, 1, 1, 2)
        self.le_prefix = QtWidgets.QLineEdit(self.group_render)
        self.le_prefix.setText("")
        self.le_prefix.setObjectName("le_prefix")
        self.gridLayout_2.addWidget(self.le_prefix, 3, 1, 1, 2)
        self.label_8 = QtWidgets.QLabel(self.group_render)
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName("label_8")
        self.gridLayout_2.addWidget(self.label_8, 3, 0, 1, 1)
        self.gridLayout_3.addWidget(self.group_render, 0, 0, 1, 2)
        self.label_6.setBuddy(self.cb_format)
        self.label_7.setBuddy(self.cb_depth)
        self.label_4.setBuddy(self.te_start)
        self.label_5.setBuddy(self.te_end)
        self.label.setBuddy(self.cb_render_mode)
        self.label_2.setBuddy(self.cb_buffer_size)

        self.retranslateUi(RenderW)
        self.b_close.clicked.connect(RenderW.close) # type: ignore
        self.rb_outro.toggled['bool'].connect(self.sb_channels.setEnabled) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(RenderW)

    def retranslateUi(self, RenderW):
        _translate = QtCore.QCoreApplication.translate
        RenderW.setWindowTitle(_translate("RenderW", "Render"))
        self.group_encoding.setTitle(_translate("RenderW", "Encoding"))
        self.label_6.setText(_translate("RenderW", "&Format:"))
        self.tb_format.setText(_translate("RenderW", "..."))
        self.label_7.setText(_translate("RenderW", "Bit &Depth:"))
        self.rb_mono.setText(_translate("RenderW", "Mono"))
        self.rb_stereo.setText(_translate("RenderW", "Stereo"))
        self.rb_outro.setText(_translate("RenderW", "Other:"))
        self.b_render.setText(_translate("RenderW", "&Render"))
        self.b_stop.setText(_translate("RenderW", "&Stop"))
        self.b_close.setText(_translate("RenderW", "&Close"))
        self.group_time.setTitle(_translate("RenderW", "Use Transport"))
        self.label_4.setText(_translate("RenderW", "&Start Time:"))
        self.te_start.setDisplayFormat(_translate("RenderW", "hh:mm:ss"))
        self.label_5.setText(_translate("RenderW", "&End Time:"))
        self.te_end.setDisplayFormat(_translate("RenderW", "hh:mm:ss"))
        self.b_now_start.setText(_translate("RenderW", "now"))
        self.b_now_end.setText(_translate("RenderW", "now"))
        self.group_render.setTitle(_translate("RenderW", "Render Options"))
        self.label.setText(_translate("RenderW", "Render &Mode:"))
        self.cb_render_mode.setItemText(0, _translate("RenderW", "Realtime"))
        self.cb_render_mode.setItemText(1, _translate("RenderW", "Freewheel"))
        self.cb_buffer_size.setItemText(0, _translate("RenderW", "32"))
        self.cb_buffer_size.setItemText(1, _translate("RenderW", "64"))
        self.cb_buffer_size.setItemText(2, _translate("RenderW", "128"))
        self.cb_buffer_size.setItemText(3, _translate("RenderW", "256"))
        self.cb_buffer_size.setItemText(4, _translate("RenderW", "512"))
        self.cb_buffer_size.setItemText(5, _translate("RenderW", "1024"))
        self.cb_buffer_size.setItemText(6, _translate("RenderW", "2048"))
        self.cb_buffer_size.setItemText(7, _translate("RenderW", "4096"))
        self.cb_buffer_size.setItemText(8, _translate("RenderW", "8192"))
        self.label_2.setText(_translate("RenderW", "&Buffer Size:"))
        self.label_3.setText(_translate("RenderW", "Output folder:"))
        self.label_8.setText(_translate("RenderW", "Filename prefix:"))
import resources_rc
