aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-05-03 15:31:57 +0200
committerThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-05-04 13:51:19 +0000
commit0fd9f5a549ea24abae1b3426aec16cea5ce81e57 (patch)
tree099153119e4b741dfff831725ca0c717a0a0ee48 /src
parenta1af217358819498e9c7ed8b088b8ab61e7f96e9 (diff)
Adding type information for Material and Universal style
Change-Id: Ia9b244be969e8ae3aff601170bf86e8bf6b61a05 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/controls/material/plugins.qmltypes92
-rw-r--r--src/imports/controls/universal/plugins.qmltypes61
2 files changed, 153 insertions, 0 deletions
diff --git a/src/imports/controls/material/plugins.qmltypes b/src/imports/controls/material/plugins.qmltypes
new file mode 100644
index 00000000..0ff64084
--- /dev/null
+++ b/src/imports/controls/material/plugins.qmltypes
@@ -0,0 +1,92 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable QtQuick.Controls.Material 2.0'
+
+Module {
+ dependencies: []
+ Component {
+ name: "QQuickMaterialStyle"
+ prototype: "QQuickStyle"
+ exports: ["QtQuick.Controls.Material/Material 2.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "Theme"
+ values: {
+ "Light": 0,
+ "Dark": 1
+ }
+ }
+ Enum {
+ name: "Color"
+ values: {
+ "Red": 0,
+ "Pink": 1,
+ "Purple": 2,
+ "DeepPurple": 3,
+ "Indigo": 4,
+ "Blue": 5,
+ "LightBlue": 6,
+ "Cyan": 7,
+ "Teal": 8,
+ "Green": 9,
+ "LightGreen": 10,
+ "Lime": 11,
+ "Yellow": 12,
+ "Amber": 13,
+ "Orange": 14,
+ "DeepOrange": 15,
+ "Brown": 16,
+ "Grey": 17,
+ "BlueGrey": 18
+ }
+ }
+ Enum {
+ name: "Shade"
+ values: {
+ "Shade50": 0,
+ "Shade100": 1,
+ "Shade200": 2,
+ "Shade300": 3,
+ "Shade400": 4,
+ "Shade500": 5,
+ "Shade600": 6,
+ "Shade700": 7,
+ "Shade800": 8,
+ "Shade900": 9,
+ "ShadeA100": 10,
+ "ShadeA200": 11,
+ "ShadeA400": 12,
+ "ShadeA700": 13
+ }
+ }
+ Property { name: "theme"; type: "Theme" }
+ Property { name: "primary"; type: "QVariant" }
+ Property { name: "accent"; type: "QVariant" }
+ Property { name: "foreground"; type: "QVariant" }
+ Property { name: "background"; type: "QVariant" }
+ Signal { name: "paletteChanged" }
+ Method {
+ name: "color"
+ type: "QColor"
+ Parameter { name: "color"; type: "Color" }
+ Parameter { name: "shade"; type: "Shade" }
+ }
+ Method {
+ name: "color"
+ type: "QColor"
+ Parameter { name: "color"; type: "Color" }
+ }
+ Method {
+ name: "shade"
+ type: "QColor"
+ Parameter { name: "color"; type: "QColor" }
+ Parameter { name: "shade"; type: "Shade" }
+ }
+ }
+ Component { name: "QQuickStyle"; prototype: "QObject" }
+}
diff --git a/src/imports/controls/universal/plugins.qmltypes b/src/imports/controls/universal/plugins.qmltypes
new file mode 100644
index 00000000..165e658e
--- /dev/null
+++ b/src/imports/controls/universal/plugins.qmltypes
@@ -0,0 +1,61 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable QtQuick.Controls.Universal 2.0'
+
+Module {
+ dependencies: []
+ Component { name: "QQuickStyle"; prototype: "QObject" }
+ Component {
+ name: "QQuickUniversalStyle"
+ prototype: "QQuickStyle"
+ exports: ["QtQuick.Controls.Universal/Universal 2.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "Theme"
+ values: {
+ "Light": 0,
+ "Dark": 1
+ }
+ }
+ Enum {
+ name: "Color"
+ values: {
+ "Lime": 0,
+ "Green": 1,
+ "Emerald": 2,
+ "Teal": 3,
+ "Cyan": 4,
+ "Cobalt": 5,
+ "Indigo": 6,
+ "Violet": 7,
+ "Pink": 8,
+ "Magenta": 9,
+ "Crimson": 10,
+ "Red": 11,
+ "Orange": 12,
+ "Amber": 13,
+ "Yellow": 14,
+ "Brown": 15,
+ "Olive": 16,
+ "Steel": 17,
+ "Mauve": 18,
+ "Taupe": 19
+ }
+ }
+ Property { name: "theme"; type: "Theme" }
+ Property { name: "accent"; type: "QVariant" }
+ Property { name: "foreground"; type: "QVariant" }
+ Property { name: "background"; type: "QVariant" }
+ Signal { name: "paletteChanged" }
+ Method {
+ name: "color"
+ type: "QColor"
+ Parameter { name: "color"; type: "Color" }
+ }
+ }
+}