mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
Added new Visual Studio Light theme
This commit is contained in:
parent
f549a92c01
commit
ff0b32a8e0
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user