summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/ui
diff options
context:
space:
mode:
Diffstat (limited to 'tidal_dl_ng/ui')
-rw-r--r--tidal_dl_ng/ui/main.py20
-rw-r--r--tidal_dl_ng/ui/main.ui35
2 files changed, 43 insertions, 12 deletions
diff --git a/tidal_dl_ng/ui/main.py b/tidal_dl_ng/ui/main.py
index 4c68126..432f7b7 100644
--- a/tidal_dl_ng/ui/main.py
+++ b/tidal_dl_ng/ui/main.py
@@ -7,7 +7,7 @@
################################################################################
from PySide6.QtCore import QCoreApplication, QLocale, QMetaObject, QRect, QSize, Qt
-from PySide6.QtGui import QAction, QFont, QPixmap
+from PySide6.QtGui import QAction, QFont, QIcon, QPixmap
from PySide6.QtWidgets import (
QAbstractItemView,
QComboBox,
@@ -455,11 +455,24 @@ class Ui_MainWindow:
self.lv_queue_download.addWidget(self.tr_queue_download)
+ self.horizontalLayout_4 = QHBoxLayout()
+ self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.pb_queue_download_remove = QPushButton(self.w_central)
self.pb_queue_download_remove.setObjectName("pb_queue_download_remove")
self.pb_queue_download_remove.setEnabled(True)
+ icon = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.EditClear))
+ self.pb_queue_download_remove.setIcon(icon)
- self.lv_queue_download.addWidget(self.pb_queue_download_remove)
+ self.horizontalLayout_4.addWidget(self.pb_queue_download_remove)
+
+ self.pb_queue_download_toggle = QPushButton(self.w_central)
+ self.pb_queue_download_toggle.setObjectName("pb_queue_download_toggle")
+ icon1 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.MediaPlaybackStart))
+ self.pb_queue_download_toggle.setIcon(icon1)
+
+ self.horizontalLayout_4.addWidget(self.pb_queue_download_toggle)
+
+ self.lv_queue_download.addLayout(self.horizontalLayout_4)
self.horizontalLayout_3 = QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
@@ -557,7 +570,7 @@ class Ui_MainWindow:
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", "MainWindow", None))
self.a_version.setText(QCoreApplication.translate("MainWindow", "Version", None))
- self.a_exit.setText(QCoreApplication.translate("MainWindow", "Exit", None))
+ self.a_exit.setText(QCoreApplication.translate("MainWindow", "Quit TIDAL-Downloader-NG", None))
self.a_logout.setText(QCoreApplication.translate("MainWindow", "Logout", None))
self.a_updates_check.setText(QCoreApplication.translate("MainWindow", "Check for Updates", None))
___qtreewidgetitem = self.tr_lists_user.headerItem()
@@ -585,6 +598,7 @@ class Ui_MainWindow:
___qtreewidgetitem4.setText(2, QCoreApplication.translate("MainWindow", "Name", None))
___qtreewidgetitem4.setText(1, QCoreApplication.translate("MainWindow", "obj", None))
self.pb_queue_download_remove.setText(QCoreApplication.translate("MainWindow", "Remove", None))
+ self.pb_queue_download_toggle.setText(QCoreApplication.translate("MainWindow", "Queue", None))
self.pb_queue_download_clear_finished.setText(QCoreApplication.translate("MainWindow", "Clear Finished", None))
self.pb_queue_download_clear_all.setText(QCoreApplication.translate("MainWindow", "Clear All", None))
self.m_file.setTitle(QCoreApplication.translate("MainWindow", "File", None))
diff --git a/tidal_dl_ng/ui/main.ui b/tidal_dl_ng/ui/main.ui
index 47f17a4..49c1a45 100644
--- a/tidal_dl_ng/ui/main.ui
+++ b/tidal_dl_ng/ui/main.ui
@@ -650,14 +650,31 @@
</widget>
</item>
<item>
- <widget class="QPushButton" name="pb_queue_download_remove">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Remove</string>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QPushButton" name="pb_queue_download_remove">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Remove</string>
+ </property>
+ <property name="icon">
+ <iconset theme="QIcon::ThemeIcon::EditClear"/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="pb_queue_download_toggle">
+ <property name="text">
+ <string>Queue</string>
+ </property>
+ <property name="icon">
+ <iconset theme="QIcon::ThemeIcon::MediaPlaybackStart"/>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
@@ -787,7 +804,7 @@
</action>
<action name="a_exit">
<property name="text">
- <string>Exit</string>
+ <string>Quit TIDAL-Downloader-NG</string>
</property>
</action>
<action name="a_logout">