From 846a908b73ed3392c3f80a5c425c9ccf3c1e6a04 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 10 Mar 2017 14:39:49 +0100 Subject: Add Imagine style The Imagine style is based on image assets. The style comes with a default set of images, but the images can be easily changed by providing a directory with images using a predefined naming convention. [ChangeLog][Controls] Added the Imagine style, which is based on image assets that can be provided using a predefined naming convention. Task-number: QTPM-517 Change-Id: I550d7dac9a9686d60bec15655ac92dea9f36149c Reviewed-by: Mitch Curtis --- src/quickcontrols2/configure.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/quickcontrols2/configure.json') diff --git a/src/quickcontrols2/configure.json b/src/quickcontrols2/configure.json index 0f26d39c..22a602d3 100644 --- a/src/quickcontrols2/configure.json +++ b/src/quickcontrols2/configure.json @@ -4,6 +4,7 @@ "commandline": { "options": { "style-fusion": { "type": "boolean", "name": "quickcontrols2-fusion" }, + "style-imagine": { "type": "boolean", "name": "quickcontrols2-imagine" }, "style-material": { "type": "boolean", "name": "quickcontrols2-material" }, "style-universal": { "type": "boolean", "name": "quickcontrols2-universal" } } @@ -21,6 +22,13 @@ "condition": "features.quickcontrols2-default", "output": [ "privateFeature" ] }, + "quickcontrols2-imagine": { + "label": "Imagine", + "purpose": "Provides a style based on configurable image assets.", + "section": "Quick Controls 2", + "condition": "features.quickcontrols2-default", + "output": [ "privateFeature" ] + }, "quickcontrols2-material": { "label": "Material", "purpose": "Provides a style based on the Material Design guidelines.", @@ -44,7 +52,7 @@ { "message": "Styles", "type": "featureList", - "args": "quickcontrols2-default quickcontrols2-fusion quickcontrols2-material quickcontrols2-universal" + "args": "quickcontrols2-default quickcontrols2-fusion quickcontrols2-imagine quickcontrols2-material quickcontrols2-universal" } ] } -- cgit v1.2.3