From 1dd3dec0c70b4b79cbc0c96e8773d5992904eed8 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Tue, 8 Jun 2021 00:45:41 +0200 Subject: [PATCH] Skin qss: for library widgets use class name only pt II --- res/skins/Deere/style.qss | 10 +++++----- res/skins/LateNight/style.qss | 8 ++++---- res/skins/LateNight/style_classic.qss | 6 +++--- res/skins/LateNight/style_palemoon.qss | 10 +++++----- res/skins/Tango/style.qss | 4 ++-- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/res/skins/Deere/style.qss b/res/skins/Deere/style.qss index f49bd87c993..65519e03feb 100644 --- a/res/skins/Deere/style.qss +++ b/res/skins/Deere/style.qss @@ -440,7 +440,7 @@ WLibrarySidebar::branch:open:!has-children:has-siblings:selected { background-color: #1F1F1F; } -/* QSplitter between LibrarySidebar and Library */ +/* QSplitter between WLibrarySidebar and WTrackTableView */ #LibrarySplitter::handle { image: url(skin:/../Deere/image/style_handle_horizontal_unchecked.svg); background: none; @@ -2192,7 +2192,7 @@ WTrackMenu QMenu QCheckBox::indicator { WTrackMenu::right-arrow, WTrackMenu QMenu::right-arrow, -WLibrary QTableView::indicator { +WTrackTableView::indicator { width: 10px; height: 10px; } @@ -2219,7 +2219,7 @@ WTrackMenu QMenu QCheckBox::indicator:disabled { background-color: #333; } WLibrarySidebar QMenu::indicator:checked, -WLibrary QTableView::indicator:checked, +WTrackTableView::indicator:checked, WTrackMenu QMenu QCheckBox::indicator:checked { image: url(skin:/../Deere/icon/ic_library_checkmark_orange.svg); } @@ -2261,8 +2261,8 @@ WLibrarySidebar QMenu::indicator:unchecked, WLibrarySidebar QMenu::indicator:unchecked:selected, WTrackTableViewHeader QMenu::indicator:unchecked, WTrackTableViewHeader QMenu::indicator:unchecked:selected, -WLibrary QTableView::indicator:unchecked, -WLibrary QTableView::indicator:unchecked:selected, +WTrackTableView::indicator:unchecked, +WTrackTableView::indicator:unchecked:selected, WEffectSelector::indicator:unchecked, WEffectSelector::indicator:unchecked:selected, #fadeModeCombobox::indicator:unchecked, diff --git a/res/skins/LateNight/style.qss b/res/skins/LateNight/style.qss index 33bb27b206c..a6adbd2cec5 100644 --- a/res/skins/LateNight/style.qss +++ b/res/skins/LateNight/style.qss @@ -85,7 +85,7 @@ WOverview #PassthroughLabel { #SkinSettingsText, QToolTip, WLibrarySidebar QMenu, -WLibrary QHeaderView QMenu, +WTrackTableViewHeader QMenu, WLibraryTextBrowser QMenu, WTrackMenu, WTrackMenu QMenu, @@ -191,7 +191,7 @@ QLineEdit QMenu::separator { /* All menus that have at least one item with a checkbox*/ WLibrarySidebar QMenu::item, -WLibrary QHeaderView QMenu::item, +WTrackTableViewHeader QMenu::item, #CratesMenu::item { /* padding-right reserves space for the submenu expand arrow padding-left should be bigger than the menu icon width + @@ -220,7 +220,7 @@ WLibraryTextBrowser QMenu::icon, "[ ] Auto DJ Track Source" */ WLibrarySidebar QMenu::indicator, /* Column checkboxes in the table header menu */ -WLibrary QHeaderView QMenu::indicator { +WTrackTableViewHeader QMenu::indicator { /* Qt 5.12.8: negative margin-right increases the overall item width but has no effect on the indicator itself. positive margin-right pushes icon to the right... @@ -241,7 +241,7 @@ WTrackMenu QMenu QCheckBox { height: 10px; } WLibrarySidebar QMenu::indicator, - WLibrary QHeaderView QMenu::indicator, + WTrackTableViewHeader QMenu::indicator, WTrackMenu QMenu QCheckBox::indicator { width: 13px; height: 13px; diff --git a/res/skins/LateNight/style_classic.qss b/res/skins/LateNight/style_classic.qss index 19f63c14ddc..9fc0c651a88 100644 --- a/res/skins/LateNight/style_classic.qss +++ b/res/skins/LateNight/style_classic.qss @@ -2439,7 +2439,7 @@ QLineEdit QMenu::item:disabled { WLibrarySidebar QMenu::indicator:checked, WTrackTableViewHeader QMenu::indicator:checked, - WLibrary QTableView::indicator:checked, + WTrackTableView::indicator:checked, WTrackMenu QMenu QCheckBox::indicator:checked, WEffectSelector::indicator:checked, #fadeModeCombobox::indicator:checked { @@ -2507,8 +2507,8 @@ WLibrarySidebar QMenu::indicator:unchecked, WLibrarySidebar QMenu::indicator:unchecked:selected, WTrackTableViewHeader QMenu::indicator:unchecked, WTrackTableViewHeader QMenu::indicator:unchecked:selected, -WLibrary QTableView::indicator:unchecked, -WLibrary QTableView::indicator:unchecked:selected, +WTrackTableView::indicator:unchecked, +WTrackTableView::indicator:unchecked:selected, WEffectSelector::indicator:unchecked, WEffectSelector::indicator:unchecked:selected, #fadeModeCombobox::indicator:unchecked, diff --git a/res/skins/LateNight/style_palemoon.qss b/res/skins/LateNight/style_palemoon.qss index aaec644ff1b..88df797fbf6 100644 --- a/res/skins/LateNight/style_palemoon.qss +++ b/res/skins/LateNight/style_palemoon.qss @@ -2500,13 +2500,13 @@ WTrackTableView { /* This is the only way to select the 'Played' checkbox. Note that this also selects the BPM lock. */ -WLibrary QTableView::indicator { +WTrackTableView::indicator { /* border is added to configured size */ border: 1px solid transparent; margin: 0px; padding: 0px; } - WLibrary QTableView::indicator:unchecked { + WTrackTableView::indicator:unchecked { border: 1px solid rgba(151,151,151,128); } @@ -2928,7 +2928,7 @@ QLineEdit QMenu::item:disabled { WLibrarySidebar QMenu::indicator:checked, WTrackTableViewHeader QMenu::indicator:checked, - WLibrary QTableView::indicator:checked, + WTrackTableView::indicator:checked, WTrackMenu QMenu QCheckBox::indicator:checked, WEffectSelector::indicator:checked, #fadeModeCombobox::indicator:checked { @@ -2967,8 +2967,8 @@ WLibrarySidebar QMenu::indicator:unchecked, WLibrarySidebar QMenu::indicator:unchecked:selected, WTrackTableViewHeader QMenu::indicator:unchecked, WTrackTableViewHeader QMenu::indicator:unchecked:selected, -WLibrary QTableView::indicator:unchecked, -WLibrary QTableView::indicator:unchecked:selected, +WTrackTableView::indicator:unchecked, +WTrackTableView::indicator:unchecked:selected, WEffectSelector::indicator:unchecked, WEffectSelector::indicator:unchecked:selected, #fadeModeCombobox::indicator:unchecked, diff --git a/res/skins/Tango/style.qss b/res/skins/Tango/style.qss index e184f5726fa..a803527acd8 100644 --- a/res/skins/Tango/style.qss +++ b/res/skins/Tango/style.qss @@ -3070,8 +3070,8 @@ WLibrarySidebar QMenu::indicator:unchecked, WLibrarySidebar QMenu::indicator:unchecked:selected, WTrackTableViewHeader QMenu::indicator:unchecked, WTrackTableViewHeader QMenu::indicator:unchecked:selected, -WLibrary QTableView::indicator:unchecked, -WLibrary QTableView::indicator:unchecked:selected, +WTrackTableView::indicator:unchecked, +WTrackTableView::indicator:unchecked:selected, WEffectSelector::indicator:unchecked, WEffectSelector::indicator:unchecked:selected, #fadeModeCombobox::indicator:unchecked,