Themes: Add a theme flag for "default" or "flat" ProjectsMode
I'd like a "flat" style to have a "default" projects mode.
This patch introduces a FlatProjectsMode. The painting code of the
widgets in the project mode follow that instead of the
Theme::WidgetStyle.
In the course of it, DoubleTabWidget does not imitate the dummy toolbar
anymore, but calls the style painting code, instead. That makes the
theme color DoubleTabWidget1stEmptyAreaBackgroundColor obsolete, so that
key disappears from the Theme enum and also from the creatorthemes.
Change-Id: Ia1479c761f61753d6738a43bbde368bf0b8814b2
Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
Showing
- share/qtcreator/themes/dark.creatortheme 1 addition, 1 deletionshare/qtcreator/themes/dark.creatortheme
- share/qtcreator/themes/darkframe.creatortheme 12 additions, 12 deletionsshare/qtcreator/themes/darkframe.creatortheme
- share/qtcreator/themes/default.creatortheme 1 addition, 1 deletionshare/qtcreator/themes/default.creatortheme
- src/libs/utils/detailsbutton.cpp 2 additions, 2 deletionssrc/libs/utils/detailsbutton.cpp
- src/libs/utils/detailswidget.cpp 1 addition, 1 deletionsrc/libs/utils/detailswidget.cpp
- src/libs/utils/theme/theme.h 2 additions, 2 deletionssrc/libs/utils/theme/theme.h
- src/plugins/projectexplorer/doubletabwidget.cpp 14 additions, 19 deletionssrc/plugins/projectexplorer/doubletabwidget.cpp
- src/plugins/projectexplorer/targetsettingswidget.cpp 1 addition, 1 deletionsrc/plugins/projectexplorer/targetsettingswidget.cpp
Loading
Please register or sign in to comment