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

# Form implementation generated from reading ui file './mw4/gui/widgets/video.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_VideoDialog(object):
    def setupUi(self, VideoDialog):
        VideoDialog.setObjectName("VideoDialog")
        VideoDialog.resize(800, 600)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(VideoDialog.sizePolicy().hasHeightForWidth())
        VideoDialog.setSizePolicy(sizePolicy)
        VideoDialog.setMinimumSize(QtCore.QSize(400, 285))
        VideoDialog.setMaximumSize(QtCore.QSize(800, 600))
        VideoDialog.setSizeIncrement(QtCore.QSize(10, 10))
        VideoDialog.setBaseSize(QtCore.QSize(10, 10))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(10)
        VideoDialog.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(VideoDialog)
        self.verticalLayout.setContentsMargins(4, 4, 4, 4)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setContentsMargins(4, 4, 4, 4)
        self.gridLayout.setObjectName("gridLayout")
        self.videoSource = QtWidgets.QComboBox(VideoDialog)
        self.videoSource.setMinimumSize(QtCore.QSize(130, 21))
        self.videoSource.setMaximumSize(QtCore.QSize(16777215, 25))
        self.videoSource.setObjectName("videoSource")
        self.videoSource.addItem("")
        self.videoSource.addItem("")
        self.videoSource.addItem("")
        self.videoSource.addItem("")
        self.videoSource.addItem("")
        self.videoSource.addItem("")
        self.videoSource.addItem("")
        self.gridLayout.addWidget(self.videoSource, 0, 4, 1, 1)
        self.frameRate = QtWidgets.QComboBox(VideoDialog)
        self.frameRate.setMinimumSize(QtCore.QSize(80, 0))
        self.frameRate.setObjectName("frameRate")
        self.frameRate.addItem("")
        self.frameRate.addItem("")
        self.frameRate.addItem("")
        self.frameRate.addItem("")
        self.frameRate.addItem("")
        self.gridLayout.addWidget(self.frameRate, 0, 5, 1, 1)
        self.videoStop = QtWidgets.QPushButton(VideoDialog)
        self.videoStop.setMinimumSize(QtCore.QSize(60, 21))
        self.videoStop.setMaximumSize(QtCore.QSize(100, 25))
        self.videoStop.setProperty("running", False)
        self.videoStop.setObjectName("videoStop")
        self.gridLayout.addWidget(self.videoStop, 0, 3, 1, 1)
        self.videoURL = QtWidgets.QLineEdit(VideoDialog)
        self.videoURL.setMinimumSize(QtCore.QSize(250, 21))
        self.videoURL.setMaximumSize(QtCore.QSize(16777215, 25))
        self.videoURL.setProperty("input", True)
        self.videoURL.setObjectName("videoURL")
        self.gridLayout.addWidget(self.videoURL, 1, 3, 1, 3)
        spacerItem = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 6, 2, 2)
        self.videoStart = QtWidgets.QPushButton(VideoDialog)
        self.videoStart.setMinimumSize(QtCore.QSize(60, 21))
        self.videoStart.setMaximumSize(QtCore.QSize(100, 25))
        self.videoStart.setObjectName("videoStart")
        self.gridLayout.addWidget(self.videoStart, 0, 1, 1, 2)
        self.authPopup = QtWidgets.QPushButton(VideoDialog)
        self.authPopup.setMinimumSize(QtCore.QSize(60, 21))
        self.authPopup.setMaximumSize(QtCore.QSize(16777215, 25))
        self.authPopup.setObjectName("authPopup")
        self.gridLayout.addWidget(self.authPopup, 1, 1, 1, 2)
        self.gridLayout.setColumnStretch(7, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.line = QtWidgets.QFrame(VideoDialog)
        self.line.setFrameShadow(QtWidgets.QFrame.Plain)
        self.line.setLineWidth(2)
        self.line.setMidLineWidth(1)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.video = QtWidgets.QLabel(VideoDialog)
        self.video.setText("")
        self.video.setObjectName("video")
        self.verticalLayout.addWidget(self.video)
        self.verticalLayout.setStretch(2, 1)

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

    def retranslateUi(self, VideoDialog):
        _translate = QtCore.QCoreApplication.translate
        VideoDialog.setWindowTitle(_translate("VideoDialog", "Video Streams"))
        self.videoSource.setItemText(0, _translate("VideoDialog", "RTSP Stream"))
        self.videoSource.setItemText(1, _translate("VideoDialog", "HTTP Stream"))
        self.videoSource.setItemText(2, _translate("VideoDialog", "HTTPS Stream"))
        self.videoSource.setItemText(3, _translate("VideoDialog", "Camera 1"))
        self.videoSource.setItemText(4, _translate("VideoDialog", "Camera 2"))
        self.videoSource.setItemText(5, _translate("VideoDialog", "Camera 3"))
        self.videoSource.setItemText(6, _translate("VideoDialog", "Camera 4"))
        self.frameRate.setItemText(0, _translate("VideoDialog", "5.0 fps"))
        self.frameRate.setItemText(1, _translate("VideoDialog", "2.0 fps"))
        self.frameRate.setItemText(2, _translate("VideoDialog", "1.0 fps"))
        self.frameRate.setItemText(3, _translate("VideoDialog", "0.5 fps"))
        self.frameRate.setItemText(4, _translate("VideoDialog", "0.2 fps"))
        self.videoStop.setText(_translate("VideoDialog", "Stop"))
        self.videoURL.setToolTip(_translate("VideoDialog", "<html><head/><body><p>Please enter source here. If you have and rtsp url, please leave rtsp:// out, but add the right port if needed.</p></body></html>"))
        self.videoStart.setText(_translate("VideoDialog", "Start"))
        self.authPopup.setText(_translate("VideoDialog", "Auth"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    VideoDialog = QtWidgets.QWidget()
    ui = Ui_VideoDialog()
    ui.setupUi(VideoDialog)
    VideoDialog.show()
    sys.exit(app.exec_())
