initial setup
This commit is contained in:
commit
ad13366bb1
356
continuity.ui
Normal file
356
continuity.ui
Normal file
@ -0,0 +1,356 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<author>Justin Moore</author>
|
||||
<class>MainWindow</class>
|
||||
<widget class="QMainWindow" name="MainWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>394</width>
|
||||
<height>708</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>394</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Continuity 0.0.1</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabs">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="audioTab">
|
||||
<attribute name="title">
|
||||
<string>Audio</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="url_label">
|
||||
<property name="text">
|
||||
<string>URL:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="audio_url_entry">
|
||||
<property name="text">
|
||||
<string>Paste URL here</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="audio_format_select_label">
|
||||
<property name="text">
|
||||
<string>Audio Format:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="audio_format_select">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Ogg</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>MP3</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>FLAC</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="bitrate_select_label_a">
|
||||
<property name="text">
|
||||
<string>Bitrate:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="bitrate_select_a">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>128 kb/s</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>192 kb/s</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>320 kb/s</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="play_finished_label">
|
||||
<property name="text">
|
||||
<string>Play when finished?:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="play_finished_select">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>yes</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>no</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="changelog_box_label_a">
|
||||
<property name="text">
|
||||
<string>Changelog:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="changelog_text_box_a">
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">* added more buttons</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ok_button_a">
|
||||
<property name="text">
|
||||
<string>OK</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="reset_button_a">
|
||||
<property name="text">
|
||||
<string>Reset</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="videoTab">
|
||||
<attribute name="title">
|
||||
<string>Video</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
<item>
|
||||
<widget class="QLabel" name="video_url_label">
|
||||
<property name="text">
|
||||
<string>URL:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="url_entry_box_3">
|
||||
<property name="text">
|
||||
<string>Paste URL here</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="video_format_select_label">
|
||||
<property name="text">
|
||||
<string>Video Format:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="video_format_select">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>MP4</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>AVI</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>WEBM</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="bitrate_select_label_v">
|
||||
<property name="text">
|
||||
<string>Bitrate:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="bitrate_select_v">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>128 kb/s</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>192 kb/s</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>320 kb/s</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="play_finished_label_v">
|
||||
<property name="text">
|
||||
<string>Play when finished?:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="play_finished_select_v">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>yes</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>no</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="changelog_box_label_v">
|
||||
<property name="text">
|
||||
<string>Changelog:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="changelog_text_box_3">
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">* added more buttons</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ok_button_3">
|
||||
<property name="text">
|
||||
<string>OK</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="reset_button_3">
|
||||
<property name="text">
|
||||
<string>Reset</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QProgressBar" name="main_progress_bar">
|
||||
<property name="value">
|
||||
<number>24</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="status_text_label">
|
||||
<property name="text">
|
||||
<string>Status Output</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>394</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuMandy">
|
||||
<property name="title">
|
||||
<string>File</string>
|
||||
</property>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionQuit_Ctrl_q"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuEdit">
|
||||
<property name="title">
|
||||
<string>Edit</string>
|
||||
</property>
|
||||
<addaction name="actionSettings_2"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuAbout">
|
||||
<property name="title">
|
||||
<string>About</string>
|
||||
</property>
|
||||
</widget>
|
||||
<addaction name="menuMandy"/>
|
||||
<addaction name="menuEdit"/>
|
||||
<addaction name="menuAbout"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
<action name="actionSettings">
|
||||
<property name="text">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionQuit_Ctrl_q">
|
||||
<property name="text">
|
||||
<string>Quit (Ctrl + q)</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSettings_2">
|
||||
<property name="text">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
230
main.py
Executable file
230
main.py
Executable file
@ -0,0 +1,230 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'continuity.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.12.2
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_MainWindow(object):
|
||||
def setupUi(self, MainWindow):
|
||||
MainWindow.setObjectName("MainWindow")
|
||||
MainWindow.resize(394, 708)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
|
||||
MainWindow.setSizePolicy(sizePolicy)
|
||||
MainWindow.setMinimumSize(QtCore.QSize(394, 0))
|
||||
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
||||
self.centralwidget.setObjectName("centralwidget")
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.tabs = QtWidgets.QTabWidget(self.centralwidget)
|
||||
self.tabs.setObjectName("tabs")
|
||||
self.audioTab = QtWidgets.QWidget()
|
||||
self.audioTab.setObjectName("audioTab")
|
||||
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.audioTab)
|
||||
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||||
self.url_label = QtWidgets.QLabel(self.audioTab)
|
||||
self.url_label.setObjectName("url_label")
|
||||
self.verticalLayout_2.addWidget(self.url_label)
|
||||
self.audio_url_entry = QtWidgets.QLineEdit(self.audioTab)
|
||||
self.audio_url_entry.setObjectName("audio_url_entry")
|
||||
self.verticalLayout_2.addWidget(self.audio_url_entry)
|
||||
self.audio_format_select_label = QtWidgets.QLabel(self.audioTab)
|
||||
self.audio_format_select_label.setObjectName("audio_format_select_label")
|
||||
self.verticalLayout_2.addWidget(self.audio_format_select_label)
|
||||
self.audio_format_select = QtWidgets.QComboBox(self.audioTab)
|
||||
self.audio_format_select.setObjectName("audio_format_select")
|
||||
self.audio_format_select.addItem("")
|
||||
self.audio_format_select.addItem("")
|
||||
self.audio_format_select.addItem("")
|
||||
self.verticalLayout_2.addWidget(self.audio_format_select)
|
||||
self.bitrate_select_label_a = QtWidgets.QLabel(self.audioTab)
|
||||
self.bitrate_select_label_a.setObjectName("bitrate_select_label_a")
|
||||
self.verticalLayout_2.addWidget(self.bitrate_select_label_a)
|
||||
self.bitrate_select_a = QtWidgets.QComboBox(self.audioTab)
|
||||
self.bitrate_select_a.setObjectName("bitrate_select_a")
|
||||
self.bitrate_select_a.addItem("")
|
||||
self.bitrate_select_a.addItem("")
|
||||
self.bitrate_select_a.addItem("")
|
||||
self.verticalLayout_2.addWidget(self.bitrate_select_a)
|
||||
self.play_finished_label = QtWidgets.QLabel(self.audioTab)
|
||||
self.play_finished_label.setObjectName("play_finished_label")
|
||||
self.verticalLayout_2.addWidget(self.play_finished_label)
|
||||
self.play_finished_select = QtWidgets.QComboBox(self.audioTab)
|
||||
self.play_finished_select.setObjectName("play_finished_select")
|
||||
self.play_finished_select.addItem("")
|
||||
self.play_finished_select.addItem("")
|
||||
self.verticalLayout_2.addWidget(self.play_finished_select)
|
||||
self.changelog_box_label_a = QtWidgets.QLabel(self.audioTab)
|
||||
self.changelog_box_label_a.setObjectName("changelog_box_label_a")
|
||||
self.verticalLayout_2.addWidget(self.changelog_box_label_a)
|
||||
self.changelog_text_box_a = QtWidgets.QTextBrowser(self.audioTab)
|
||||
self.changelog_text_box_a.setObjectName("changelog_text_box_a")
|
||||
self.verticalLayout_2.addWidget(self.changelog_text_box_a)
|
||||
self.ok_button_a = QtWidgets.QPushButton(self.audioTab)
|
||||
self.ok_button_a.setObjectName("ok_button_a")
|
||||
self.verticalLayout_2.addWidget(self.ok_button_a)
|
||||
self.reset_button_a = QtWidgets.QPushButton(self.audioTab)
|
||||
self.reset_button_a.setObjectName("reset_button_a")
|
||||
self.verticalLayout_2.addWidget(self.reset_button_a)
|
||||
self.tabs.addTab(self.audioTab, "")
|
||||
self.videoTab = QtWidgets.QWidget()
|
||||
self.videoTab.setObjectName("videoTab")
|
||||
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.videoTab)
|
||||
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||
self.video_url_label = QtWidgets.QLabel(self.videoTab)
|
||||
self.video_url_label.setObjectName("video_url_label")
|
||||
self.verticalLayout_4.addWidget(self.video_url_label)
|
||||
self.url_entry_box_3 = QtWidgets.QLineEdit(self.videoTab)
|
||||
self.url_entry_box_3.setObjectName("url_entry_box_3")
|
||||
self.verticalLayout_4.addWidget(self.url_entry_box_3)
|
||||
self.video_format_select_label = QtWidgets.QLabel(self.videoTab)
|
||||
self.video_format_select_label.setObjectName("video_format_select_label")
|
||||
self.verticalLayout_4.addWidget(self.video_format_select_label)
|
||||
self.video_format_select = QtWidgets.QComboBox(self.videoTab)
|
||||
self.video_format_select.setObjectName("video_format_select")
|
||||
self.video_format_select.addItem("")
|
||||
self.video_format_select.addItem("")
|
||||
self.video_format_select.addItem("")
|
||||
self.verticalLayout_4.addWidget(self.video_format_select)
|
||||
self.bitrate_select_label_v = QtWidgets.QLabel(self.videoTab)
|
||||
self.bitrate_select_label_v.setObjectName("bitrate_select_label_v")
|
||||
self.verticalLayout_4.addWidget(self.bitrate_select_label_v)
|
||||
self.bitrate_select_v = QtWidgets.QComboBox(self.videoTab)
|
||||
self.bitrate_select_v.setObjectName("bitrate_select_v")
|
||||
self.bitrate_select_v.addItem("")
|
||||
self.bitrate_select_v.addItem("")
|
||||
self.bitrate_select_v.addItem("")
|
||||
self.verticalLayout_4.addWidget(self.bitrate_select_v)
|
||||
self.play_finished_label_v = QtWidgets.QLabel(self.videoTab)
|
||||
self.play_finished_label_v.setObjectName("play_finished_label_v")
|
||||
self.verticalLayout_4.addWidget(self.play_finished_label_v)
|
||||
self.play_finished_select_v = QtWidgets.QComboBox(self.videoTab)
|
||||
self.play_finished_select_v.setObjectName("play_finished_select_v")
|
||||
self.play_finished_select_v.addItem("")
|
||||
self.play_finished_select_v.addItem("")
|
||||
self.verticalLayout_4.addWidget(self.play_finished_select_v)
|
||||
self.changelog_box_label_v = QtWidgets.QLabel(self.videoTab)
|
||||
self.changelog_box_label_v.setObjectName("changelog_box_label_v")
|
||||
self.verticalLayout_4.addWidget(self.changelog_box_label_v)
|
||||
self.changelog_text_box_3 = QtWidgets.QTextBrowser(self.videoTab)
|
||||
self.changelog_text_box_3.setObjectName("changelog_text_box_3")
|
||||
self.verticalLayout_4.addWidget(self.changelog_text_box_3)
|
||||
self.ok_button_3 = QtWidgets.QPushButton(self.videoTab)
|
||||
self.ok_button_3.setObjectName("ok_button_3")
|
||||
self.verticalLayout_4.addWidget(self.ok_button_3)
|
||||
self.reset_button_3 = QtWidgets.QPushButton(self.videoTab)
|
||||
self.reset_button_3.setObjectName("reset_button_3")
|
||||
self.verticalLayout_4.addWidget(self.reset_button_3)
|
||||
self.tabs.addTab(self.videoTab, "")
|
||||
self.verticalLayout.addWidget(self.tabs)
|
||||
self.main_progress_bar = QtWidgets.QProgressBar(self.centralwidget)
|
||||
self.main_progress_bar.setProperty("value", 24)
|
||||
self.main_progress_bar.setObjectName("main_progress_bar")
|
||||
self.verticalLayout.addWidget(self.main_progress_bar)
|
||||
self.status_text_label = QtWidgets.QLabel(self.centralwidget)
|
||||
self.status_text_label.setObjectName("status_text_label")
|
||||
self.verticalLayout.addWidget(self.status_text_label)
|
||||
MainWindow.setCentralWidget(self.centralwidget)
|
||||
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 394, 29))
|
||||
self.menubar.setObjectName("menubar")
|
||||
self.menuMandy = QtWidgets.QMenu(self.menubar)
|
||||
self.menuMandy.setObjectName("menuMandy")
|
||||
self.menuEdit = QtWidgets.QMenu(self.menubar)
|
||||
self.menuEdit.setObjectName("menuEdit")
|
||||
self.menuAbout = QtWidgets.QMenu(self.menubar)
|
||||
self.menuAbout.setObjectName("menuAbout")
|
||||
MainWindow.setMenuBar(self.menubar)
|
||||
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
||||
self.statusbar.setObjectName("statusbar")
|
||||
MainWindow.setStatusBar(self.statusbar)
|
||||
self.actionSettings = QtWidgets.QAction(MainWindow)
|
||||
self.actionSettings.setObjectName("actionSettings")
|
||||
self.actionQuit_Ctrl_q = QtWidgets.QAction(MainWindow)
|
||||
self.actionQuit_Ctrl_q.setObjectName("actionQuit_Ctrl_q")
|
||||
self.actionSettings_2 = QtWidgets.QAction(MainWindow)
|
||||
self.actionSettings_2.setObjectName("actionSettings_2")
|
||||
self.menuMandy.addSeparator()
|
||||
self.menuMandy.addAction(self.actionQuit_Ctrl_q)
|
||||
self.menuEdit.addAction(self.actionSettings_2)
|
||||
self.menubar.addAction(self.menuMandy.menuAction())
|
||||
self.menubar.addAction(self.menuEdit.menuAction())
|
||||
self.menubar.addAction(self.menuAbout.menuAction())
|
||||
|
||||
self.retranslateUi(MainWindow)
|
||||
self.tabs.setCurrentIndex(1)
|
||||
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||||
|
||||
def retranslateUi(self, MainWindow):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
MainWindow.setWindowTitle(_translate("MainWindow", "Continuity 0.0.1"))
|
||||
self.url_label.setText(_translate("MainWindow", "URL:"))
|
||||
self.audio_url_entry.setText(_translate("MainWindow", "Paste URL here"))
|
||||
self.audio_format_select_label.setText(_translate("MainWindow", "Audio Format:"))
|
||||
self.audio_format_select.setItemText(0, _translate("MainWindow", "Ogg"))
|
||||
self.audio_format_select.setItemText(1, _translate("MainWindow", "MP3"))
|
||||
self.audio_format_select.setItemText(2, _translate("MainWindow", "FLAC"))
|
||||
self.bitrate_select_label_a.setText(_translate("MainWindow", "Bitrate:"))
|
||||
self.bitrate_select_a.setItemText(0, _translate("MainWindow", "128 kb/s"))
|
||||
self.bitrate_select_a.setItemText(1, _translate("MainWindow", "192 kb/s"))
|
||||
self.bitrate_select_a.setItemText(2, _translate("MainWindow", "320 kb/s"))
|
||||
self.play_finished_label.setText(_translate("MainWindow", "Play when finished?:"))
|
||||
self.play_finished_select.setItemText(0, _translate("MainWindow", "yes"))
|
||||
self.play_finished_select.setItemText(1, _translate("MainWindow", "no"))
|
||||
self.changelog_box_label_a.setText(_translate("MainWindow", "Changelog:"))
|
||||
self.changelog_text_box_a.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">* added more buttons</p></body></html>"))
|
||||
self.ok_button_a.setText(_translate("MainWindow", "OK"))
|
||||
self.reset_button_a.setText(_translate("MainWindow", "Reset"))
|
||||
self.tabs.setTabText(self.tabs.indexOf(self.audioTab), _translate("MainWindow", "Audio"))
|
||||
self.video_url_label.setText(_translate("MainWindow", "URL:"))
|
||||
self.url_entry_box_3.setText(_translate("MainWindow", "Paste URL here"))
|
||||
self.video_format_select_label.setText(_translate("MainWindow", "Video Format:"))
|
||||
self.video_format_select.setItemText(0, _translate("MainWindow", "MP4"))
|
||||
self.video_format_select.setItemText(1, _translate("MainWindow", "AVI"))
|
||||
self.video_format_select.setItemText(2, _translate("MainWindow", "WEBM"))
|
||||
self.bitrate_select_label_v.setText(_translate("MainWindow", "Bitrate:"))
|
||||
self.bitrate_select_v.setItemText(0, _translate("MainWindow", "128 kb/s"))
|
||||
self.bitrate_select_v.setItemText(1, _translate("MainWindow", "192 kb/s"))
|
||||
self.bitrate_select_v.setItemText(2, _translate("MainWindow", "320 kb/s"))
|
||||
self.play_finished_label_v.setText(_translate("MainWindow", "Play when finished?:"))
|
||||
self.play_finished_select_v.setItemText(0, _translate("MainWindow", "yes"))
|
||||
self.play_finished_select_v.setItemText(1, _translate("MainWindow", "no"))
|
||||
self.changelog_box_label_v.setText(_translate("MainWindow", "Changelog:"))
|
||||
self.changelog_text_box_3.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">* added more buttons</p></body></html>"))
|
||||
self.ok_button_3.setText(_translate("MainWindow", "OK"))
|
||||
self.reset_button_3.setText(_translate("MainWindow", "Reset"))
|
||||
self.tabs.setTabText(self.tabs.indexOf(self.videoTab), _translate("MainWindow", "Video"))
|
||||
self.status_text_label.setText(_translate("MainWindow", "Status Output"))
|
||||
self.menuMandy.setTitle(_translate("MainWindow", "File"))
|
||||
self.menuEdit.setTitle(_translate("MainWindow", "Edit"))
|
||||
self.menuAbout.setTitle(_translate("MainWindow", "About"))
|
||||
self.actionSettings.setText(_translate("MainWindow", "Settings"))
|
||||
self.actionQuit_Ctrl_q.setText(_translate("MainWindow", "Quit (Ctrl + q)"))
|
||||
self.actionSettings_2.setText(_translate("MainWindow", "Settings"))
|
||||
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
MainWindow = QtWidgets.QMainWindow()
|
||||
ui = Ui_MainWindow()
|
||||
ui.setupUi(MainWindow)
|
||||
MainWindow.show()
|
||||
sys.exit(app.exec_())
|
Loading…
x
Reference in New Issue
Block a user