diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-04-19 12:52:25 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-22 17:57:38 +0200 |
commit | 7d57cc05de021a3f90e8cc854c43b45247ad670f (patch) | |
tree | 91a0d425bc0520554289e0a5d6279c5caa40ec5a /src/controls/plugins.qmltypes | |
parent | a34e572ab3b3e6d1a3ac1b564720391b6841a84f (diff) | |
download | qtquickcontrols-7d57cc05de021a3f90e8cc854c43b45247ad670f.tar.gz |
Update plugins.qmltypes for QtQuick.Controls
Change-Id: I8fd407ee57cc8b22f03855e3ccb1b3dd660818e8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Diffstat (limited to 'src/controls/plugins.qmltypes')
-rw-r--r-- | src/controls/plugins.qmltypes | 154 |
1 files changed, 97 insertions, 57 deletions
diff --git a/src/controls/plugins.qmltypes b/src/controls/plugins.qmltypes index 1cfb3477..89363578 100644 --- a/src/controls/plugins.qmltypes +++ b/src/controls/plugins.qmltypes @@ -3,27 +3,14 @@ import QtQuick.tooling 1.1 // This file describes the plugin-supplied types contained in the library. // It is used for QML tooling purposes only. // -// This file was auto-generated with the command 'qmlplugindump QtQuick.Controls 1.0'. +// This file was auto-generated with the command '/home/jpnurmi/Projects/qt5-stable/qtbase/bin/qmlplugindump -notrelocatable QtQuick.Controls 1.0'. Module { Component { - name: "QPageStatus" + name: "QQuickAction" prototype: "QObject" - exports: ["PageStatus 1.0"] - Enum { - name: "PageStatus" - values: { - "Inactive": 0, - "Deactivating": 1, - "Activating": 2, - "Active": 3 - } - } - } - Component { - name: "QtAction" - prototype: "QObject" - exports: ["Action 1.0"] + exports: ["QtQuick.Controls/Action 1.0"] + exportMetaObjectRevisions: [0] Property { name: "text"; type: "string" } Property { name: "iconSource"; type: "QUrl" } Property { name: "iconName"; type: "string" } @@ -32,12 +19,12 @@ Module { Property { name: "enabled"; type: "bool" } Property { name: "checkable"; type: "bool" } Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QtExclusiveGroup"; isPointer: true } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup"; isPointer: true } Property { name: "shortcut"; type: "string" } Signal { name: "triggered" } Signal { name: "toggled" - Parameter { type: "bool" } + Parameter { name: "checked"; type: "bool" } } Signal { name: "shortcutChanged" @@ -51,10 +38,13 @@ Module { Method { name: "trigger" } } Component { - name: "QtExclusiveGroup" + name: "QQuickExclusiveGroup" + defaultProperty: "__actions" prototype: "QObject" - exports: ["ExclusiveGroup 1.0"] + exports: ["QtQuick.Controls/ExclusiveGroup 1.0"] + exportMetaObjectRevisions: [0] Property { name: "current"; type: "QObject"; isPointer: true } + Property { name: "__actions"; type: "QQuickAction"; isList: true; isReadonly: true } Method { name: "bindCheckable" Parameter { name: "o"; type: "QObject"; isPointer: true } @@ -65,21 +55,18 @@ Module { } } Component { - name: "QtMenu" + name: "QQuickMenu" defaultProperty: "items" - prototype: "QtMenuText" - exports: ["MenuPrivate 1.0"] - Property { name: "items"; type: "QtMenuBase"; isList: true; isReadonly: true } - Property { name: "selectedIndex"; type: "int" } - Property { name: "model"; type: "QVariant" } + prototype: "QQuickMenuText" + exports: ["QtQuick.Controls/MenuPrivate 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "title"; type: "string" } + Property { name: "items"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "__selectedIndex"; type: "int" } Property { name: "__popupVisible"; type: "bool"; isReadonly: true } Property { name: "__contentItem"; type: "QQuickItem"; isPointer: true } Property { name: "__minimumWidth"; type: "int" } Property { name: "__font"; type: "QFont" } - Signal { - name: "modelChanged" - Parameter { name: "newModel"; type: "QVariant" } - } Signal { name: "__menuClosed" } Signal { name: "popupVisibleChanged" } Method { name: "__closeMenu" } @@ -87,8 +74,28 @@ Module { Method { name: "popup" } Method { name: "addItem" - type: "QtMenuItem*" - Parameter { name: "text"; type: "string" } + type: "QQuickMenuItem*" + Parameter { type: "string" } + } + Method { + name: "insertItem" + type: "QQuickMenuItem*" + Parameter { type: "int" } + Parameter { type: "string" } + } + Method { name: "addSeparator" } + Method { + name: "insertSeparator" + Parameter { type: "int" } + } + Method { + name: "insertItem" + Parameter { type: "int" } + Parameter { type: "QQuickMenuBase"; isPointer: true } + } + Method { + name: "removeItem" + Parameter { type: "QQuickMenuBase"; isPointer: true } } Method { name: "clear" } Method { @@ -102,43 +109,41 @@ Module { Parameter { name: "x"; type: "double" } Parameter { name: "y"; type: "double" } } - Method { - name: "__modelTextAt" - type: "string" - Parameter { name: "index"; type: "int" } - } - Method { name: "__modelCount"; type: "int" } - Method { name: "__hasNativeModel"; type: "bool" } } Component { - name: "QtMenuBar" + name: "QQuickMenuBar" defaultProperty: "menus" prototype: "QObject" - exports: ["MenuBarPrivate 1.0"] - Property { name: "menus"; type: "QtMenu"; isList: true; isReadonly: true } + exports: ["QtQuick.Controls/MenuBarPrivate 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "menus"; type: "QQuickMenu"; isList: true; isReadonly: true } Property { name: "__contentItem"; type: "QQuickItem"; isPointer: true } Property { name: "__parentWindow"; type: "QQuickWindow"; isPointer: true } Property { name: "__isNative"; type: "bool"; isReadonly: true } Signal { name: "contentItemChanged" } } Component { - name: "QtMenuBase" + name: "QQuickMenuBase" prototype: "QObject" - exports: ["MenuBase 1.0"] + exports: ["QtQuick.Controls/MenuBase 1.0"] + exportMetaObjectRevisions: [0] Property { name: "visible"; type: "bool" } - Property { name: "__parentMenu"; type: "QtMenu"; isReadonly: true; isPointer: true } + Property { name: "type"; type: "QQuickMenuItemType::MenuItemType"; isReadonly: true } + Property { name: "__parentMenu"; type: "QQuickMenu"; isReadonly: true; isPointer: true } Property { name: "__isNative"; type: "bool"; isReadonly: true } Property { name: "__visualItem"; type: "QQuickItem"; isPointer: true } } Component { - name: "QtMenuItem" - prototype: "QtMenuText" - exports: ["MenuItem 1.0"] + name: "QQuickMenuItem" + prototype: "QQuickMenuText" + exports: ["QtQuick.Controls/MenuItem 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string" } Property { name: "checkable"; type: "bool" } Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QtExclusiveGroup"; isPointer: true } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup"; isPointer: true } Property { name: "shortcut"; type: "string" } - Property { name: "action"; type: "QtAction"; isPointer: true } + Property { name: "action"; type: "QQuickAction"; isPointer: true } Signal { name: "triggered" } Signal { name: "toggled" @@ -147,17 +152,52 @@ Module { Method { name: "trigger" } } Component { - name: "QtMenuSeparator" - prototype: "QtMenuBase" - exports: ["MenuSeparator 1.0"] + name: "QQuickMenuItemType" + exports: ["QtQuick.Controls/MenuItemType 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "MenuItemType" + values: { + "Separator": 0, + "Item": 1, + "Menu": 2 + } + } } Component { - name: "QtMenuText" - prototype: "QtMenuBase" - Property { name: "text"; type: "string" } + name: "QQuickMenuSeparator" + prototype: "QQuickMenuBase" + exports: ["QtQuick.Controls/MenuSeparator 1.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickMenuText" + prototype: "QQuickMenuBase" Property { name: "enabled"; type: "bool" } Property { name: "iconSource"; type: "QUrl" } Property { name: "iconName"; type: "string" } Property { name: "__icon"; type: "QVariant"; isReadonly: true } + Signal { name: "__textChanged" } + } + Component { + name: "QQuickStack" + prototype: "QObject" + exports: ["QtQuick.Controls/Stack 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Inactive": 0, + "Deactivating": 1, + "Activating": 2, + "Active": 3 + } + } + Property { name: "index"; type: "int"; isReadonly: true } + Property { name: "__index"; type: "int" } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "__status"; type: "Status" } + Property { name: "pageStack"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "__stackView"; type: "QQuickItem"; isPointer: true } } } |