aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquicktheme_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-03-14 13:04:30 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2018-03-15 07:50:30 +0000
commit63773fd5363e8954e298e775bba7478d612134ef (patch)
tree6b85eecb285a010f6ba488cc631cd8107c6cdb76 /src/quicktemplates2/qquicktheme_p.h
parent24750ce0624e8b6ec66d07d7d00877c4a928dfc3 (diff)
QQuickTheme: add missing fonts and palettes
SpinBox, Switch, and Tumbler were previously not available in QPlatformTheme, but now we have our own enums so we can add them. Task-number: QTBUG-67062 Change-Id: Ie99a49b464fbbd25051181b75d721f537b8e3a68 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquicktheme_p.h')
-rw-r--r--src/quicktemplates2/qquicktheme_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquicktheme_p.h b/src/quicktemplates2/qquicktheme_p.h
index f4efd359..6d37039e 100644
--- a/src/quicktemplates2/qquicktheme_p.h
+++ b/src/quicktemplates2/qquicktheme_p.h
@@ -94,6 +94,9 @@ public:
GroupBoxTitleFont,
TabButtonFont,
EditorFont,
+ SwitchFont,
+ SpinBoxFont,
+ TumblerFont,
NFonts
};
@@ -116,6 +119,9 @@ public:
MenuBarPalette,
TextEditPalette,
TextLineEditPalette,
+ SpinBoxPalette,
+ SwitchPalette,
+ TumblerPalette,
NPalettes
};