summaryrefslogtreecommitdiff
path: root/src/controls/plugin.cpp
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-08-21 18:08:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-22 18:46:26 +0200
commite29fefa6ddbf3d30f8dde0735132e3dbb93cbef0 (patch)
tree4c521d13dca0c4fc72df2cab32f8aaa9f912955a /src/controls/plugin.cpp
parent72072899c653430912e8fcafa82d624755d465ad (diff)
downloadqtquickcontrols-e29fefa6ddbf3d30f8dde0735132e3dbb93cbef0.tar.gz
Add a basic Switch control
This is a very simple switch. I left out text label as this is very mobile oriented. A clicked signal is also debatable as you dont really click on a switch. Change-Id: I84269297cba48f0e81af8f25af5b97acadecdd6a Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/plugin.cpp')
-rw-r--r--src/controls/plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/plugin.cpp b/src/controls/plugin.cpp
index 64386e72..0c7f8966 100644
--- a/src/controls/plugin.cpp
+++ b/src/controls/plugin.cpp
@@ -84,6 +84,7 @@ static const struct {
{ "StackViewDelegate", 1, 0 },
{ "StackViewTransition", 1, 0 },
{ "StatusBar", 1, 0 },
+ { "Switch", 1, 1 },
{ "Tab", 1, 0 },
{ "TabView", 1, 0 },
{ "TableView", 1, 0 },