Added new Visual Studio Light theme

This commit is contained in:
Uwe Kindler 2022-10-24 20:34:09 +02:00
parent f549a92c01
commit ff0b32a8e0
3 changed files with 3 additions and 2 deletions

View File

@ -650,7 +650,7 @@ CMainWindow::CMainWindow(QWidget *parent) :
// uncomment the following line to enable focus highlighting of the dock
// widget that has the focus
//CDockManager::setConfigFlag(CDockManager::FocusHighlighting, true);
CDockManager::setConfigFlag(CDockManager::FocusHighlighting, true);
// uncomment if you would like to enable dock widget auto hiding
CDockManager::setConfigFlag(CDockManager::DefaultAutoHideConfig, true);

View File

@ -192,7 +192,7 @@ void DockManagerPrivate::loadStylesheet()
QString Result;
QString FileName = ":ads/stylesheets/";
FileName += CDockManager::testConfigFlag(CDockManager::FocusHighlighting)
? "focus_highlighting" : "default";
? "visual_studio_light" : "default";
#ifdef Q_OS_LINUX
FileName += "_linux";
#endif

View File

@ -17,5 +17,6 @@
<file>images/restore-button-focused.svg</file>
<file>images/vs-pin-button.svg</file>
<file>images/vs-pin-button-pinned.svg</file>
<file>stylesheets/visual_studio_light.css</file>
</qresource>
</RCC>