Use theme in titled toolbar.

This commit is contained in:
Luis Ángel San Martín
2018-09-13 00:07:07 +02:00
committed by Luis Ángel San Martín
parent cc73b27388
commit 58facbe744
3 changed files with 36 additions and 37 deletions

View File

@ -52,6 +52,10 @@ public:
t.sidebarBackgroundColor = "#F1F1F1";
t.sidebarSplitterStyle = "QSplitter::handle:vertical { height: 29px; background-color: transparent;}";
t.titledToolBarSeparatorColor = "#AFAFAF";
t.titledToolBarTitleColor = "#808080";
t.titledToolBarTitleShadowColor = "#00000000";
} else {
t.isMacosNative = false;
#ifdef Q_OS_MAC
@ -94,6 +98,10 @@ public:
" image: none; background-color = black; "
" }"
"QSplitter::handle:vertical { height: 39px;}"*/
t.titledToolBarSeparatorColor = "#6F6F6F";
t.titledToolBarTitleColor = "#BDBFBF";
t.titledToolBarTitleShadowColor = "#000000";
}
return t;
@ -126,6 +134,11 @@ public:
//Sidebar
QString sidebarBackgroundColor;
QString sidebarSplitterStyle;
//YACReaderTitledToolBar
QString titledToolBarSeparatorColor;
QString titledToolBarTitleColor;
QString titledToolBarTitleShadowColor;
};
#endif // THEME_H