summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2025-10-17 11:56:46 +0200
committerGitHub <noreply@github.com>2025-10-17 11:56:46 +0200
commit8ebb84bf2ed2c8ac277dd83cd1d645dfb86ecef3 (patch)
tree759a1b40c2a5c196177ff90b59bdbf94c15a721c
parent2f77ff59facc2f720a2e1a7ef08d53d008bf2815 (diff)
parent2594232cb9f2a57d25fc25d3b2ba1524cba04309 (diff)
downloadtidal-dl-ng-8ebb84bf2ed2c8ac277dd83cd1d645dfb86ecef3.tar.gz
Merge pull request #584 from exislow:561-queue-button-should-indicate-the-action-that-will-occur-when-clicked-currently-it-shows-present-state
Queue button should indicate the action that will occur when clicked — currently it shows present state
-rw-r--r--tidal_dl_ng/gui.py8
-rw-r--r--tidal_dl_ng/ui/main.py4
-rw-r--r--tidal_dl_ng/ui/main.ui2
3 files changed, 7 insertions, 7 deletions
diff --git a/tidal_dl_ng/gui.py b/tidal_dl_ng/gui.py
index f7301b8..d27f2b6 100644
--- a/tidal_dl_ng/gui.py
+++ b/tidal_dl_ng/gui.py
@@ -1400,9 +1400,9 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
handling_app.event_run.set()
- icon = QtGui.QIcon(QtGui.QIcon.fromTheme(QtGui.QIcon.ThemeIcon.MediaPlaybackStart))
+ icon = QtGui.QIcon(QtGui.QIcon.fromTheme(QtGui.QIcon.ThemeIcon.MediaPlaybackPause))
self.pb_queue_download_toggle.setIcon(icon)
- self.pb_queue_download_toggle.setStyleSheet("background-color: #218838; color: #fff")
+ self.pb_queue_download_toggle.setStyleSheet("background-color: #e0a800; color: #212529")
def pb_queue_download_pause(self) -> None:
"""Pause the download queue and update the button state."""
@@ -1410,9 +1410,9 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
handling_app.event_run.clear()
- icon = QtGui.QIcon(QtGui.QIcon.fromTheme(QtGui.QIcon.ThemeIcon.MediaPlaybackPause))
+ icon = QtGui.QIcon(QtGui.QIcon.fromTheme(QtGui.QIcon.ThemeIcon.MediaPlaybackStart))
self.pb_queue_download_toggle.setIcon(icon)
- self.pb_queue_download_toggle.setStyleSheet("background-color: #e0a800; color: #212529")
+ self.pb_queue_download_toggle.setStyleSheet("background-color: #218838; color: #fff")
# TODO: Must happen in main thread. Do not thread this.
def on_download_results(self) -> None:
diff --git a/tidal_dl_ng/ui/main.py b/tidal_dl_ng/ui/main.py
index 432f7b7..4b60620 100644
--- a/tidal_dl_ng/ui/main.py
+++ b/tidal_dl_ng/ui/main.py
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'main.ui'
##
-## Created by: Qt User Interface Compiler version 6.8.0
+## Created by: Qt User Interface Compiler version 6.9.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
@@ -467,7 +467,7 @@ class Ui_MainWindow:
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))
+ icon1 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.MediaPlaybackPause))
self.pb_queue_download_toggle.setIcon(icon1)
self.horizontalLayout_4.addWidget(self.pb_queue_download_toggle)
diff --git a/tidal_dl_ng/ui/main.ui b/tidal_dl_ng/ui/main.ui
index 49c1a45..23d98e6 100644
--- a/tidal_dl_ng/ui/main.ui
+++ b/tidal_dl_ng/ui/main.ui
@@ -670,7 +670,7 @@
<string>Queue</string>
</property>
<property name="icon">
- <iconset theme="QIcon::ThemeIcon::MediaPlaybackStart"/>
+ <iconset theme="QIcon::ThemeIcon::MediaPlaybackPause"/>
</property>
</widget>
</item>