123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- # -*- coding: utf-8 -*-
- # Form implementation generated from reading ui file 'gui.ui'
- #
- # Created by: PyQt5 UI code generator 5.13.1
- #
- # WARNING! All changes made in this file will be lost!
- from PyQt5 import QtCore, QtGui, QtWidgets
- class Ui_window(object):
- def setupUi(self, window):
- window.setObjectName("window")
- window.resize(1045, 487)
- self.centralwidget = QtWidgets.QWidget(window)
- self.centralwidget.setObjectName("centralwidget")
- self.bSelectMedia = QtWidgets.QPushButton(self.centralwidget)
- self.bSelectMedia.setGeometry(QtCore.QRect(10, 10, 141, 34))
- self.bSelectMedia.setObjectName("bSelectMedia")
- self.bConvert = QtWidgets.QPushButton(self.centralwidget)
- self.bConvert.setEnabled(False)
- self.bConvert.setGeometry(QtCore.QRect(200, 290, 341, 34))
- self.bConvert.setObjectName("bConvert")
- self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
- self.progressBar.setGeometry(QtCore.QRect(20, 340, 1021, 23))
- self.progressBar.setProperty("value", 0)
- self.progressBar.setObjectName("progressBar")
- self.labelCurrentOperation = QtWidgets.QLabel(self.centralwidget)
- self.labelCurrentOperation.setGeometry(QtCore.QRect(170, 350, 871, 41))
- self.labelCurrentOperation.setText("")
- self.labelCurrentOperation.setObjectName("labelCurrentOperation")
- self.bOpenOutputFolder = QtWidgets.QPushButton(self.centralwidget)
- self.bOpenOutputFolder.setGeometry(QtCore.QRect(550, 290, 241, 34))
- self.bOpenOutputFolder.setObjectName("bOpenOutputFolder")
- self.bSelectOutputFolder = QtWidgets.QPushButton(self.centralwidget)
- self.bSelectOutputFolder.setGeometry(QtCore.QRect(10, 180, 141, 34))
- self.bSelectOutputFolder.setObjectName("bSelectOutputFolder")
- self.qleOutputFolder = QtWidgets.QLineEdit(self.centralwidget)
- self.qleOutputFolder.setGeometry(QtCore.QRect(160, 180, 861, 32))
- self.qleOutputFolder.setText("")
- self.qleOutputFolder.setReadOnly(True)
- self.qleOutputFolder.setObjectName("qleOutputFolder")
- self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
- self.groupBox.setGeometry(QtCore.QRect(160, 10, 871, 161))
- self.groupBox.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.groupBox.setFlat(False)
- self.groupBox.setCheckable(False)
- self.groupBox.setObjectName("groupBox")
- self.qlwListFilesSelected = QtWidgets.QListWidget(self.groupBox)
- self.qlwListFilesSelected.setGeometry(QtCore.QRect(10, 30, 851, 121))
- self.qlwListFilesSelected.setObjectName("qlwListFilesSelected")
- self.bRemoveFile = QtWidgets.QPushButton(self.centralwidget)
- self.bRemoveFile.setGeometry(QtCore.QRect(10, 50, 141, 34))
- self.bRemoveFile.setObjectName("bRemoveFile")
- self.labelProgressFileIndex = QtWidgets.QLabel(self.centralwidget)
- self.labelProgressFileIndex.setGeometry(QtCore.QRect(30, 350, 131, 41))
- self.labelProgressFileIndex.setText("")
- self.labelProgressFileIndex.setObjectName("labelProgressFileIndex")
- self.bCancel = QtWidgets.QPushButton(self.centralwidget)
- self.bCancel.setGeometry(QtCore.QRect(470, 390, 108, 36))
- self.bCancel.setObjectName("bCancel")
- self.chbxOpenOutputFilesAuto = QtWidgets.QCheckBox(self.centralwidget)
- self.chbxOpenOutputFilesAuto.setGeometry(QtCore.QRect(10, 220, 291, 32))
- self.chbxOpenOutputFilesAuto.setChecked(True)
- self.chbxOpenOutputFilesAuto.setObjectName("chbxOpenOutputFilesAuto")
- self.horizontalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
- self.horizontalLayoutWidget.setGeometry(QtCore.QRect(200, 250, 591, 34))
- self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
- self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
- self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout_5.setObjectName("horizontalLayout_5")
- self.labelSelectLang = QtWidgets.QLabel(self.horizontalLayoutWidget)
- self.labelSelectLang.setObjectName("labelSelectLang")
- self.horizontalLayout_5.addWidget(self.labelSelectLang)
- self.cbSelectLang = QtWidgets.QComboBox(self.horizontalLayoutWidget)
- self.cbSelectLang.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
- self.cbSelectLang.setObjectName("cbSelectLang")
- self.horizontalLayout_5.addWidget(self.cbSelectLang)
- window.setCentralWidget(self.centralwidget)
- self.menubar = QtWidgets.QMenuBar(window)
- self.menubar.setGeometry(QtCore.QRect(0, 0, 1045, 34))
- self.menubar.setObjectName("menubar")
- self.menuAbout = QtWidgets.QMenu(self.menubar)
- self.menuAbout.setObjectName("menuAbout")
- window.setMenuBar(self.menubar)
- self.statusbar = QtWidgets.QStatusBar(window)
- self.statusbar.setObjectName("statusbar")
- window.setStatusBar(self.statusbar)
- self.actionLicense = QtWidgets.QAction(window)
- self.actionLicense.setObjectName("actionLicense")
- self.actionDonation = QtWidgets.QAction(window)
- self.actionDonation.setObjectName("actionDonation")
- self.actionAbout_pyTranscriber = QtWidgets.QAction(window)
- self.actionAbout_pyTranscriber.setObjectName("actionAbout_pyTranscriber")
- self.menuAbout.addAction(self.actionLicense)
- self.menuAbout.addAction(self.actionDonation)
- self.menuAbout.addAction(self.actionAbout_pyTranscriber)
- self.menubar.addAction(self.menuAbout.menuAction())
- self.retranslateUi(window)
- QtCore.QMetaObject.connectSlotsByName(window)
- def retranslateUi(self, window):
- _translate = QtCore.QCoreApplication.translate
- window.setWindowTitle(_translate("window", "pyTranscriber - v1.6 - 21/01/2020"))
- self.bSelectMedia.setText(_translate("window", "Select file(s)"))
- self.bConvert.setText(_translate("window", "Transcribe Audio / Generate Subtitles"))
- self.bOpenOutputFolder.setText(_translate("window", "Open Output Folder"))
- self.bSelectOutputFolder.setText(_translate("window", "Output Location"))
- self.groupBox.setTitle(_translate("window", "&List of files to generate transcribe audio / generate subtitles"))
- self.bRemoveFile.setText(_translate("window", "Remove file(s)"))
- self.bCancel.setText(_translate("window", "Cancel"))
- self.chbxOpenOutputFilesAuto.setText(_translate("window", "Open output files automatically"))
- self.labelSelectLang.setText(_translate("window", "Audio Language:"))
- self.menuAbout.setTitle(_translate("window", "Abo&ut"))
- self.actionLicense.setText(_translate("window", "&License"))
- self.actionDonation.setText(_translate("window", "&DONATIONS"))
- self.actionAbout_pyTranscriber.setText(_translate("window", "&About pyTranscriber"))
|