summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/ui/dialog_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'tidal_dl_ng/ui/dialog_settings.py')
-rw-r--r--tidal_dl_ng/ui/dialog_settings.py167
1 files changed, 165 insertions, 2 deletions
diff --git a/tidal_dl_ng/ui/dialog_settings.py b/tidal_dl_ng/ui/dialog_settings.py
index 266c4d1..2521d08 100644
--- a/tidal_dl_ng/ui/dialog_settings.py
+++ b/tidal_dl_ng/ui/dialog_settings.py
@@ -106,7 +106,8 @@ class Ui_DialogSettings:
"}\n"
"\n"
"QWidget {\n"
- " background-color: transparent;\n"
+ " background-color: #2b2b2b;\n"
+ " color: #e0e0e0;\n"
"}\n"
"\n"
"QGroupBox {\n"
@@ -124,6 +125,165 @@ class Ui_DialogSettings:
" padding: 4px 8px;\n"
" background-color: #3a3a3a;\n"
" border-radius: 4px;\n"
+ "}\n"
+ "\n"
+ "QComboBox {\n"
+ " background-color: #2b2b2b;\n"
+ " border: 1px solid #3d3d3d;\n"
+ " border-radius: 4px;\n"
+ " padding: 4px 8px;\n"
+ " color: #e0e0e0;\n"
+ " min-height: 20px;\n"
+ "}\n"
+ "\n"
+ "QComboBox:hover {\n"
+ " border: 1px solid #4a4a4a;\n"
+ " background-color: #333333;\n"
+ "}\n"
+ "\n"
+ "QComboBox:focus {\n"
+ " border: 1px solid #3d5a80;\n"
+ "}\n"
+ "\n"
+ "QComboBox::drop-down {\n"
+ " border"
+ ": none;\n"
+ " width: 20px;\n"
+ "}\n"
+ "\n"
+ "QComboBox QAbstractItemView {\n"
+ " background-color: #2b2b2b !important;\n"
+ " border: 1px solid #3d3d3d !important;\n"
+ " selection-background-color: #3d5a80;\n"
+ " selection-color: white;\n"
+ " color: #e0e0e0;\n"
+ " outline: none;\n"
+ "}\n"
+ "\n"
+ "QComboBox QAbstractItemView * {\n"
+ " background-color: #2b2b2b !important;\n"
+ " color: #e0e0e0 !important;\n"
+ "}\n"
+ "\n"
+ "QComboBox QAbstractItemView::item {\n"
+ " padding: 4px 8px;\n"
+ " min-height: 20px;\n"
+ " background-color: transparent;\n"
+ "}\n"
+ "\n"
+ "QComboBox QAbstractItemView::item:hover {\n"
+ " background-color: #3a3a3a !important;\n"
+ "}\n"
+ "\n"
+ "QComboBox QAbstractItemView::item:selected {\n"
+ " background-color: #3d5a80 !important;\n"
+ " color: white !important;\n"
+ "}\n"
+ "\n"
+ "QLineEdit {\n"
+ " background-color: #2b2b2b;\n"
+ " border: 1px solid #3d3d3d;\n"
+ " border-radius: 4px;\n"
+ " padding: 4px 8px;\n"
+ " color: #e0e0e0;\n"
+ "}\n"
+ "\n"
+ "QLineEdit:hover {\n"
+ " border:"
+ " 1px solid #4a4a4a;\n"
+ "}\n"
+ "\n"
+ "QLineEdit:focus {\n"
+ " border: 1px solid #3d5a80;\n"
+ "}\n"
+ "\n"
+ "QSpinBox {\n"
+ " background-color: #2b2b2b;\n"
+ " border: 1px solid #3d3d3d;\n"
+ " border-radius: 4px;\n"
+ " padding: 4px 8px;\n"
+ " color: #e0e0e0;\n"
+ "}\n"
+ "\n"
+ "QSpinBox:hover {\n"
+ " border: 1px solid #4a4a4a;\n"
+ "}\n"
+ "\n"
+ "QSpinBox:focus {\n"
+ " border: 1px solid #3d5a80;\n"
+ "}\n"
+ "\n"
+ "QSpinBox::up-button, QSpinBox::down-button {\n"
+ " background-color: #3a3a3a;\n"
+ " border: none;\n"
+ " width: 16px;\n"
+ "}\n"
+ "\n"
+ "QSpinBox::up-button:hover, QSpinBox::down-button:hover {\n"
+ " background-color: #4a4a4a;\n"
+ "}\n"
+ "\n"
+ "QSpinBox::up-arrow {\n"
+ " image: none;\n"
+ " border-left: 4px solid transparent;\n"
+ " border-right: 4px solid transparent;\n"
+ " border-bottom: 5px solid #e0e0e0;\n"
+ "}\n"
+ "\n"
+ "QSpinBox::down-arrow {\n"
+ " image: none;\n"
+ " border-left: 4px solid transparent;\n"
+ " border-right: 4px solid transparent;\n"
+ " border-top: 5px solid #e0e0e0;\n"
+ "}\n"
+ ""
+ "\n"
+ "QCheckBox {\n"
+ " color: #e0e0e0;\n"
+ " spacing: 8px;\n"
+ "}\n"
+ "\n"
+ "QCheckBox::indicator {\n"
+ " width: 18px;\n"
+ " height: 18px;\n"
+ " border: 1px solid #3d3d3d;\n"
+ " border-radius: 3px;\n"
+ " background-color: #2b2b2b;\n"
+ "}\n"
+ "\n"
+ "QCheckBox::indicator:hover {\n"
+ " border: 1px solid #4a4a4a;\n"
+ " background-color: #333333;\n"
+ "}\n"
+ "\n"
+ "QCheckBox::indicator:checked {\n"
+ " background-color: #3d5a80;\n"
+ " border: 1px solid #3d5a80;\n"
+ "}\n"
+ "\n"
+ "QCheckBox::indicator:checked:hover {\n"
+ " background-color: #4a6a9a;\n"
+ " border: 1px solid #4a6a9a;\n"
+ "}\n"
+ "\n"
+ "QPushButton {\n"
+ " background-color: #3a3a3a;\n"
+ " border: 1px solid #4a4a4a;\n"
+ " border-radius: 4px;\n"
+ " padding: 4px 12px;\n"
+ " color: #e0e0e0;\n"
+ "}\n"
+ "\n"
+ "QPushButton:hover {\n"
+ " background-color: #4a4a4a;\n"
+ "}\n"
+ "\n"
+ "QPushButton:pressed {\n"
+ " background-color: #2a2a2a;\n"
+ "}\n"
+ "\n"
+ "QLabel {\n"
+ " color: #e0e0e0;\n"
"}"
)
self.sw_categories.setFrameShape(QFrame.Shape.StyledPanel)
@@ -876,7 +1036,7 @@ class Ui_DialogSettings:
self.bb_dialog.accepted.connect(DialogSettings.accept)
self.bb_dialog.rejected.connect(DialogSettings.reject)
- self.sw_categories.setCurrentIndex(0)
+ self.sw_categories.setCurrentIndex(1)
QMetaObject.connectSlotsByName(DialogSettings)
@@ -905,10 +1065,13 @@ class Ui_DialogSettings:
self.gb_choices.setTitle(QCoreApplication.translate("DialogSettings", "Choices", None))
self.l_icon_quality_audio.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))
self.l_quality_audio.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))
+ self.c_quality_audio.setPlaceholderText(QCoreApplication.translate("DialogSettings", "text", None))
self.l_icon_quality_video.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))
self.l_quality_video.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))
+ self.c_quality_video.setPlaceholderText(QCoreApplication.translate("DialogSettings", "text", None))
self.l_icon_metadata_cover_dimension.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))
self.l_metadata_cover_dimension.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))
+ self.c_metadata_cover_dimension.setPlaceholderText(QCoreApplication.translate("DialogSettings", "text", None))
self.gb_numbers.setTitle(QCoreApplication.translate("DialogSettings", "Numbers", None))
self.l_album_track_num_pad_min.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))
self.l_icon_album_track_num_pad_min.setText(QCoreApplication.translate("DialogSettings", "TextLabel", None))