aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-04-04 15:12:27 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-04-05 10:41:12 +0000
commit98e26dc6fb91f3d083d028cb85d468258dac3f55 (patch)
treeeb5b0a6246dce69bcbf21fa2d7b5f73934bc6910 /src/libs/utils
parent65c11b6446ab78d6c6d1aa6c009f5c03e858fca3 (diff)
QmlDesigner: Remove programmatical derivation of theme colors
The Qt Quick Designer synthesized a few theme colors from existing theme colors. That was in order to prevent the need for 6 theme colors being defined in every theme. It turned out, however, that being able to define these if favorable. Todo in follow-up commit: remove QmlDesigner::Theme::qmlDesigner...() functions, and fix up the qml, accordingly. Change-Id: Ica85df5472cd7b9da8bf215eb6dbdcf608a4fb2d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/libs/utils')
-rw-r--r--src/libs/utils/theme/theme.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libs/utils/theme/theme.h b/src/libs/utils/theme/theme.h
index 26e90981583..6d49b49b167 100644
--- a/src/libs/utils/theme/theme.h
+++ b/src/libs/utils/theme/theme.h
@@ -291,11 +291,17 @@ public:
ClangCodeModel_Error_TextMarkColor,
ClangCodeModel_Warning_TextMarkColor,
- /* QmlDesigner */
+ /* QmlDesigner Plugin */
QmlDesigner_BackgroundColor,
QmlDesigner_HighlightColor,
QmlDesigner_FormEditorSelectionColor,
- QmlDesigner_FormEditorForegroundColor
+ QmlDesigner_FormEditorForegroundColor,
+ QmlDesigner_BackgroundColorDarker,
+ QmlDesigner_BackgroundColorDarkAlternate,
+ QmlDesigner_TabLight,
+ QmlDesigner_TabDark,
+ QmlDesigner_ButtonColor,
+ QmlDesigner_BorderColor
};
enum Gradient {