mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 22:14:41 -04:00
Control via themes when do we have to use native icons for folders.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
4216717d07
commit
797d7aa723
@ -20,6 +20,8 @@ public:
|
||||
|
||||
t.itemLibrarySelectedStyleSheet = "color: white; background-color:#91c4f4; border-bottom:1px solid #91c4f4;";
|
||||
t.itemLibraryNoSelectedStyleSheet = "background-color:transparent;";
|
||||
|
||||
t.useNativeFolderIcons = true;
|
||||
} else {
|
||||
t.isMacosNative = false;
|
||||
|
||||
@ -29,6 +31,8 @@ public:
|
||||
|
||||
t.itemLibrarySelectedStyleSheet = "color: white; background-color:#2E2E2E; font-weight:bold;";
|
||||
t.itemLibraryNoSelectedStyleSheet = "background-color:transparent; color:#DDDFDF;";
|
||||
|
||||
t.useNativeFolderIcons = false;
|
||||
}
|
||||
|
||||
return t;
|
||||
@ -45,6 +49,9 @@ public:
|
||||
//library item
|
||||
QString itemLibrarySelectedStyleSheet;
|
||||
QString itemLibraryNoSelectedStyleSheet;
|
||||
|
||||
//tree folders
|
||||
bool useNativeFolderIcons;
|
||||
};
|
||||
|
||||
#endif // THEME_H
|
||||
|
Reference in New Issue
Block a user