1# -*- coding: utf-8 -*- 2 3# Form implementation generated from reading ui file 'videosettings.ui' 4# 5# Created: Fri Jun 28 11:48:14 2013 6# by: PyQt5 UI code generator 5.0-snapshot-478d7f271b71 7# 8# WARNING! All changes made in this file will be lost! 9 10from PyQt5 import QtCore, QtGui, QtWidgets 11 12class Ui_VideoSettingsUi(object): 13 def setupUi(self, VideoSettingsUi): 14 VideoSettingsUi.setObjectName("VideoSettingsUi") 15 VideoSettingsUi.resize(561, 369) 16 self.gridLayout_4 = QtWidgets.QGridLayout(VideoSettingsUi) 17 self.gridLayout_4.setObjectName("gridLayout_4") 18 self.scrollArea = QtWidgets.QScrollArea(VideoSettingsUi) 19 self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) 20 self.scrollArea.setWidgetResizable(True) 21 self.scrollArea.setObjectName("scrollArea") 22 self.scrollAreaWidgetContents = QtWidgets.QWidget() 23 self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 543, 250)) 24 self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") 25 self.gridLayout_3 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) 26 self.gridLayout_3.setObjectName("gridLayout_3") 27 self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) 28 self.groupBox.setObjectName("groupBox") 29 self.gridLayout = QtWidgets.QGridLayout(self.groupBox) 30 self.gridLayout.setObjectName("gridLayout") 31 self.label_2 = QtWidgets.QLabel(self.groupBox) 32 self.label_2.setObjectName("label_2") 33 self.gridLayout.addWidget(self.label_2, 0, 0, 1, 2) 34 self.audioCodecBox = QtWidgets.QComboBox(self.groupBox) 35 self.audioCodecBox.setObjectName("audioCodecBox") 36 self.gridLayout.addWidget(self.audioCodecBox, 1, 0, 1, 2) 37 self.label_5 = QtWidgets.QLabel(self.groupBox) 38 self.label_5.setObjectName("label_5") 39 self.gridLayout.addWidget(self.label_5, 2, 0, 1, 2) 40 self.audioSampleRateBox = QtWidgets.QComboBox(self.groupBox) 41 self.audioSampleRateBox.setObjectName("audioSampleRateBox") 42 self.gridLayout.addWidget(self.audioSampleRateBox, 3, 0, 1, 2) 43 self.label_3 = QtWidgets.QLabel(self.groupBox) 44 self.label_3.setObjectName("label_3") 45 self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1) 46 self.audioQualitySlider = QtWidgets.QSlider(self.groupBox) 47 self.audioQualitySlider.setMaximum(4) 48 self.audioQualitySlider.setOrientation(QtCore.Qt.Horizontal) 49 self.audioQualitySlider.setObjectName("audioQualitySlider") 50 self.gridLayout.addWidget(self.audioQualitySlider, 4, 1, 1, 1) 51 self.gridLayout_3.addWidget(self.groupBox, 0, 0, 1, 1) 52 self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) 53 self.groupBox_2.setObjectName("groupBox_2") 54 self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2) 55 self.gridLayout_2.setObjectName("gridLayout_2") 56 self.label_8 = QtWidgets.QLabel(self.groupBox_2) 57 self.label_8.setObjectName("label_8") 58 self.gridLayout_2.addWidget(self.label_8, 0, 0, 1, 2) 59 self.videoResolutionBox = QtWidgets.QComboBox(self.groupBox_2) 60 self.videoResolutionBox.setObjectName("videoResolutionBox") 61 self.gridLayout_2.addWidget(self.videoResolutionBox, 1, 0, 1, 2) 62 self.label_9 = QtWidgets.QLabel(self.groupBox_2) 63 self.label_9.setObjectName("label_9") 64 self.gridLayout_2.addWidget(self.label_9, 2, 0, 1, 2) 65 self.videoFramerateBox = QtWidgets.QComboBox(self.groupBox_2) 66 self.videoFramerateBox.setObjectName("videoFramerateBox") 67 self.gridLayout_2.addWidget(self.videoFramerateBox, 3, 0, 1, 2) 68 self.label_6 = QtWidgets.QLabel(self.groupBox_2) 69 self.label_6.setObjectName("label_6") 70 self.gridLayout_2.addWidget(self.label_6, 4, 0, 1, 2) 71 self.videoCodecBox = QtWidgets.QComboBox(self.groupBox_2) 72 self.videoCodecBox.setObjectName("videoCodecBox") 73 self.gridLayout_2.addWidget(self.videoCodecBox, 5, 0, 1, 2) 74 self.label_7 = QtWidgets.QLabel(self.groupBox_2) 75 self.label_7.setObjectName("label_7") 76 self.gridLayout_2.addWidget(self.label_7, 6, 0, 1, 1) 77 self.videoQualitySlider = QtWidgets.QSlider(self.groupBox_2) 78 self.videoQualitySlider.setMaximum(4) 79 self.videoQualitySlider.setOrientation(QtCore.Qt.Horizontal) 80 self.videoQualitySlider.setObjectName("videoQualitySlider") 81 self.gridLayout_2.addWidget(self.videoQualitySlider, 6, 1, 1, 1) 82 self.gridLayout_3.addWidget(self.groupBox_2, 0, 1, 3, 1) 83 self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents) 84 self.label_4.setObjectName("label_4") 85 self.gridLayout_3.addWidget(self.label_4, 1, 0, 1, 1) 86 self.containerFormatBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents) 87 self.containerFormatBox.setObjectName("containerFormatBox") 88 self.gridLayout_3.addWidget(self.containerFormatBox, 2, 0, 1, 1) 89 self.scrollArea.setWidget(self.scrollAreaWidgetContents) 90 self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1) 91 spacerItem = QtWidgets.QSpacerItem(20, 14, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) 92 self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1) 93 self.buttonBox = QtWidgets.QDialogButtonBox(VideoSettingsUi) 94 self.buttonBox.setOrientation(QtCore.Qt.Horizontal) 95 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) 96 self.buttonBox.setObjectName("buttonBox") 97 self.gridLayout_4.addWidget(self.buttonBox, 2, 0, 1, 1) 98 99 self.retranslateUi(VideoSettingsUi) 100 self.buttonBox.accepted.connect(VideoSettingsUi.accept) 101 self.buttonBox.rejected.connect(VideoSettingsUi.reject) 102 QtCore.QMetaObject.connectSlotsByName(VideoSettingsUi) 103 104 def retranslateUi(self, VideoSettingsUi): 105 _translate = QtCore.QCoreApplication.translate 106 VideoSettingsUi.setWindowTitle(_translate("VideoSettingsUi", "Dialog")) 107 self.groupBox.setTitle(_translate("VideoSettingsUi", "Audio")) 108 self.label_2.setText(_translate("VideoSettingsUi", "Audio Codec:")) 109 self.label_5.setText(_translate("VideoSettingsUi", "Sample Rate:")) 110 self.label_3.setText(_translate("VideoSettingsUi", "Quality:")) 111 self.groupBox_2.setTitle(_translate("VideoSettingsUi", "Video")) 112 self.label_8.setText(_translate("VideoSettingsUi", "Resolution:")) 113 self.label_9.setText(_translate("VideoSettingsUi", "Framerate:")) 114 self.label_6.setText(_translate("VideoSettingsUi", "Video Codec:")) 115 self.label_7.setText(_translate("VideoSettingsUi", "Quality:")) 116 self.label_4.setText(_translate("VideoSettingsUi", "Container Format:")) 117 118