diff options
author | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-05-03 15:31:57 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-05-04 13:51:19 +0000 |
commit | 0fd9f5a549ea24abae1b3426aec16cea5ce81e57 (patch) | |
tree | 099153119e4b741dfff831725ca0c717a0a0ee48 /src/imports/controls/universal/plugins.qmltypes | |
parent | a1af217358819498e9c7ed8b088b8ab61e7f96e9 (diff) |
Adding type information for Material and Universal style
Change-Id: Ia9b244be969e8ae3aff601170bf86e8bf6b61a05
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/universal/plugins.qmltypes')
-rw-r--r-- | src/imports/controls/universal/plugins.qmltypes | 61 |
1 files changed, 61 insertions, 0 deletions
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" } + } + } +} |