diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-04-15 14:35:41 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-17 13:43:44 +0200 |
commit | dd3ba9b4b958a760c0b9e8e356797ee398d597b3 (patch) | |
tree | c38b530d294a3bb7d829299f29c8579a22f114f8 /src | |
parent | f067a73c3b84ef2027155cfe0581495e9c5760c6 (diff) | |
download | qtquickcontrols-dd3ba9b4b958a760c0b9e8e356797ee398d597b3.tar.gz |
Update plugins.qmltypes for QtQuick.Dialogs
Change-Id: I7e12acab9b958533d3065257f507304984f117d2
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/dialogs/plugins.qmltypes | 351 |
1 files changed, 249 insertions, 102 deletions
diff --git a/src/dialogs/plugins.qmltypes b/src/dialogs/plugins.qmltypes index d5db4b93..1bcebdc3 100644 --- a/src/dialogs/plugins.qmltypes +++ b/src/dialogs/plugins.qmltypes @@ -4,7 +4,7 @@ import QtQuick.tooling 1.1 // It is used for QML tooling purposes only. // // This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -omit-prefix=__ QtQuick.Dialogs 1.1' +// 'qmlplugindump -nonrelocatable QtQuick.Dialogs 1.2' Module { Component { @@ -46,6 +46,56 @@ Module { Component { name: "QQuickAbstractDialog" prototype: "QObject" + Enum { + name: "StandardButton" + values: { + "NoButton": 0, + "Ok": 1024, + "Save": 2048, + "SaveAll": 4096, + "Open": 8192, + "Yes": 16384, + "YesToAll": 32768, + "No": 65536, + "NoToAll": 131072, + "Abort": 262144, + "Retry": 524288, + "Ignore": 1048576, + "Close": 2097152, + "Cancel": 4194304, + "Discard": 8388608, + "Help": 16777216, + "Apply": 33554432, + "Reset": 67108864, + "RestoreDefaults": 134217728, + "NButtons": 134217729 + } + } + Enum { + name: "StandardButtons" + values: { + "NoButton": 0, + "Ok": 1024, + "Save": 2048, + "SaveAll": 4096, + "Open": 8192, + "Yes": 16384, + "YesToAll": 32768, + "No": 65536, + "NoToAll": 131072, + "Abort": 262144, + "Retry": 524288, + "Ignore": 1048576, + "Close": 2097152, + "Cancel": 4194304, + "Discard": 8388608, + "Help": 16777216, + "Apply": 33554432, + "Reset": 67108864, + "RestoreDefaults": 134217728, + "NButtons": 134217729 + } + } Property { name: "visible"; type: "bool" } Property { name: "modality"; type: "Qt::WindowModality" } Property { name: "title"; type: "string" } @@ -86,6 +136,8 @@ Module { Property { name: "folder"; type: "QUrl" } Property { name: "nameFilters"; type: "QStringList" } Property { name: "selectedNameFilter"; type: "string" } + Property { name: "selectedNameFilterExtensions"; type: "QStringList"; isReadonly: true } + Property { name: "selectedNameFilterIndex"; type: "int" } Property { name: "fileUrl"; type: "QUrl"; isReadonly: true } Property { name: "fileUrls"; type: "QList<QUrl>"; isReadonly: true } Signal { name: "filterSelected" } @@ -123,6 +175,10 @@ Module { name: "selectNameFilter" Parameter { name: "f"; type: "string" } } + Method { + name: "setSelectedNameFilterIndex" + Parameter { name: "idx"; type: "int" } + } } Component { name: "QQuickAbstractFontDialog" @@ -132,6 +188,7 @@ Module { Property { name: "monospacedFonts"; type: "bool" } Property { name: "proportionalFonts"; type: "bool" } Property { name: "font"; type: "QFont" } + Property { name: "currentFont"; type: "QFont" } Signal { name: "selectionAccepted" } Method { name: "setVisible" @@ -150,6 +207,10 @@ Module { Parameter { name: "arg"; type: "QFont" } } Method { + name: "setCurrentFont" + Parameter { name: "arg"; type: "QFont" } + } + Method { name: "setScalableFonts" Parameter { name: "arg"; type: "bool" } } @@ -179,61 +240,17 @@ Module { "Question": 4 } } - Enum { - name: "StandardButton" - values: { - "NoButton": 0, - "Ok": 1024, - "Save": 2048, - "SaveAll": 4096, - "Open": 8192, - "Yes": 16384, - "YesToAll": 32768, - "No": 65536, - "NoToAll": 131072, - "Abort": 262144, - "Retry": 524288, - "Ignore": 1048576, - "Close": 2097152, - "Cancel": 4194304, - "Discard": 8388608, - "Help": 16777216, - "Apply": 33554432, - "Reset": 67108864, - "RestoreDefaults": 134217728 - } - } - Enum { - name: "StandardButtons" - values: { - "NoButton": 0, - "Ok": 1024, - "Save": 2048, - "SaveAll": 4096, - "Open": 8192, - "Yes": 16384, - "YesToAll": 32768, - "No": 65536, - "NoToAll": 131072, - "Abort": 262144, - "Retry": 524288, - "Ignore": 1048576, - "Close": 2097152, - "Cancel": 4194304, - "Discard": 8388608, - "Help": 16777216, - "Apply": 33554432, - "Reset": 67108864, - "RestoreDefaults": 134217728 - } - } Property { name: "text"; type: "string" } Property { name: "informativeText"; type: "string" } Property { name: "detailedText"; type: "string" } Property { name: "icon"; type: "Icon" } Property { name: "standardIconSource"; type: "QUrl"; isReadonly: true } - Property { name: "standardButtons"; type: "StandardButtons" } - Property { name: "clickedButton"; type: "StandardButton"; isReadonly: true } + Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } + Property { + name: "clickedButton" + type: "QQuickAbstractDialog::StandardButton" + isReadonly: true + } Signal { name: "buttonClicked" } Signal { name: "discard" } Signal { name: "help" } @@ -271,29 +288,61 @@ Module { } Method { name: "click" - Parameter { name: "button"; type: "QMessageDialogOptions::StandardButton" } - Parameter { type: "QMessageDialogOptions::ButtonRole" } - } - Method { - name: "click" - Parameter { name: "button"; type: "QQuickAbstractMessageDialog::StandardButton" } + Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } } } Component { name: "QQuickColorDialog" - defaultProperty: "implementation" + defaultProperty: "contentItem" prototype: "QQuickAbstractColorDialog" exports: ["QtQuick.Dialogs/AbstractColorDialog 1.0"] exportMetaObjectRevisions: [0] - Property { name: "implementation"; type: "QObject"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QQuickDialog" + defaultProperty: "contentItem" + prototype: "QQuickAbstractDialog" + exports: ["QtQuick.Dialogs/AbstractDialog 1.2"] + exportMetaObjectRevisions: [0] + Property { name: "title"; type: "string" } + Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } + Property { + name: "clickedButton" + type: "QQuickAbstractDialog::StandardButton" + isReadonly: true + } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Signal { name: "buttonClicked" } + Signal { name: "discard" } + Signal { name: "help" } + Signal { name: "yes" } + Signal { name: "no" } + Signal { name: "apply" } + Signal { name: "reset" } + Method { + name: "setTitle" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setStandardButtons" + Parameter { name: "buttons"; type: "StandardButtons" } + } + Method { + name: "click" + Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } + } + Method { name: "__standardButtonsLeftModel"; type: "QJSValue" } + Method { name: "__standardButtonsRightModel"; type: "QJSValue" } } Component { name: "QQuickFileDialog" - defaultProperty: "implementation" + defaultProperty: "contentItem" prototype: "QQuickAbstractFileDialog" exports: ["QtQuick.Dialogs/AbstractFileDialog 1.0"] exportMetaObjectRevisions: [0] - Property { name: "implementation"; type: "QObject"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "shortcuts"; type: "QJSValue"; isReadonly: true } Method { name: "clearSelection" } Method { name: "addSelection" @@ -303,28 +352,30 @@ Module { } Component { name: "QQuickFontDialog" - defaultProperty: "implementation" + defaultProperty: "contentItem" prototype: "QQuickAbstractFontDialog" exports: ["QtQuick.Dialogs/AbstractFontDialog 1.1"] exportMetaObjectRevisions: [0] - Property { name: "implementation"; type: "QObject"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } } Component { name: "QQuickMessageDialog" - defaultProperty: "implementation" + defaultProperty: "contentItem" prototype: "QQuickAbstractMessageDialog" exports: ["QtQuick.Dialogs/AbstractMessageDialog 1.1"] exportMetaObjectRevisions: [0] - Property { name: "implementation"; type: "QObject"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } } Component { name: "QQuickStandardButton" exports: ["QtQuick.Dialogs/StandardButton 1.1"] + isCreatable: false exportMetaObjectRevisions: [0] } Component { name: "QQuickStandardIcon" exports: ["QtQuick.Dialogs/StandardIcon 1.1"] + isCreatable: false exportMetaObjectRevisions: [0] } Component { @@ -332,7 +383,11 @@ Module { name: "QtQuick.Dialogs/ColorDialog" exports: ["QtQuick.Dialogs/ColorDialog 1.0"] exportMetaObjectRevisions: [0] - defaultProperty: "implementation" + isComposite: true + defaultProperty: "contentItem" + Property { name: "__valueSet"; type: "bool" } + Method { name: "__setControlsFromColor"; type: "QVariant" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } Property { name: "showAlphaChannel"; type: "bool" } Property { name: "color"; type: "QColor" } Property { name: "currentColor"; type: "QColor" } @@ -395,17 +450,47 @@ Module { name: "setHeight" Parameter { name: "arg"; type: "int" } } - Property { name: "implementation"; type: "QObject"; isPointer: true } } Component { prototype: "QObject" - name: "QtQuick.Dialogs/FileDialog" - exports: ["QtQuick.Dialogs/FileDialog 1.0"] - exportMetaObjectRevisions: [0] - defaultProperty: "implementation" + name: "QtQuick.Dialogs/Dialog" + exports: ["QtQuick.Dialogs/Dialog 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Method { name: "setupButtons"; type: "QVariant" } + Property { name: "title"; type: "string" } + Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } + Property { + name: "clickedButton" + type: "QQuickAbstractDialog::StandardButton" + isReadonly: true + } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Signal { name: "buttonClicked" } + Signal { name: "discard" } + Signal { name: "help" } + Signal { name: "yes" } + Signal { name: "no" } + Signal { name: "apply" } + Signal { name: "reset" } + Method { + name: "setTitle" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setStandardButtons" + Parameter { name: "buttons"; type: "StandardButtons" } + } + Method { + name: "click" + Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } + } + Method { name: "__standardButtonsLeftModel"; type: "QJSValue" } + Method { name: "__standardButtonsRightModel"; type: "QJSValue" } Property { name: "visible"; type: "bool" } Property { name: "modality"; type: "Qt::WindowModality" } - Property { name: "title"; type: "string" } Property { name: "isWindow"; type: "bool"; isReadonly: true } Property { name: "x"; type: "int" } Property { name: "y"; type: "int" } @@ -433,12 +518,42 @@ Module { name: "setHeight" Parameter { name: "arg"; type: "int" } } + } + Component { + prototype: "QObject" + name: "QtQuick.Dialogs/FileDialog" + exports: ["QtQuick.Dialogs/FileDialog 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentItem" + Property { name: "settings"; type: "QQmlSettings"; isPointer: true } + Property { name: "showFocusHighlight"; type: "bool" } + Property { name: "palette"; type: "QQuickSystemPalette"; isPointer: true } + Property { name: "dirUpAction"; type: "QQuickAction"; isPointer: true } + Property { name: "favoriteFolders"; type: "QVariant" } + Method { + name: "dirDown" + type: "QVariant" + Parameter { name: "path"; type: "QVariant" } + } + Method { name: "dirUp"; type: "QVariant" } + Method { name: "acceptSelection"; type: "QVariant" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "shortcuts"; type: "QJSValue"; isReadonly: true } + Method { name: "clearSelection" } + Method { + name: "addSelection" + type: "bool" + Parameter { name: "path"; type: "QUrl" } + } Property { name: "selectExisting"; type: "bool" } Property { name: "selectMultiple"; type: "bool" } Property { name: "selectFolder"; type: "bool" } Property { name: "folder"; type: "QUrl" } Property { name: "nameFilters"; type: "QStringList" } Property { name: "selectedNameFilter"; type: "string" } + Property { name: "selectedNameFilterExtensions"; type: "QStringList"; isReadonly: true } + Property { name: "selectedNameFilterIndex"; type: "int" } Property { name: "fileUrl"; type: "QUrl"; isReadonly: true } Property { name: "fileUrls"; type: "QList<QUrl>"; isReadonly: true } Signal { name: "filterSelected" } @@ -476,21 +591,10 @@ Module { name: "selectNameFilter" Parameter { name: "f"; type: "string" } } - Property { name: "implementation"; type: "QObject"; isPointer: true } - Method { name: "clearSelection" } Method { - name: "addSelection" - type: "bool" - Parameter { name: "path"; type: "QUrl" } + name: "setSelectedNameFilterIndex" + Parameter { name: "idx"; type: "int" } } - } - Component { - prototype: "QObject" - name: "QtQuick.Dialogs/FontDialog" - exports: ["QtQuick.Dialogs/FontDialog 1.1"] - exportMetaObjectRevisions: [1] - defaultProperty: "implementation" - Property { name: "font"; type: "QFont" } Property { name: "visible"; type: "bool" } Property { name: "modality"; type: "Qt::WindowModality" } Property { name: "title"; type: "string" } @@ -521,11 +625,21 @@ Module { name: "setHeight" Parameter { name: "arg"; type: "int" } } + } + Component { + prototype: "QObject" + name: "QtQuick.Dialogs/FontDialog" + exports: ["QtQuick.Dialogs/FontDialog 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "contentItem" + Property { name: "font"; type: "QFont" } + Property { name: "currentFont"; type: "QFont" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } Property { name: "scalableFonts"; type: "bool" } Property { name: "nonScalableFonts"; type: "bool" } Property { name: "monospacedFonts"; type: "bool" } Property { name: "proportionalFonts"; type: "bool" } - Property { name: "font"; type: "QFont" } Signal { name: "selectionAccepted" } Method { name: "setVisible" @@ -544,6 +658,10 @@ Module { Parameter { name: "arg"; type: "QFont" } } Method { + name: "setCurrentFont" + Parameter { name: "arg"; type: "QFont" } + } + Method { name: "setScalableFonts" Parameter { name: "arg"; type: "bool" } } @@ -559,15 +677,6 @@ Module { name: "setProportionalFonts" Parameter { name: "arg"; type: "bool" } } - Property { name: "implementation"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.Dialogs/MessageDialog" - exports: ["QtQuick.Dialogs/MessageDialog 1.1"] - exportMetaObjectRevisions: [1] - defaultProperty: "implementation" - Method { name: "calculateImplicitWidth"; type: "QVariant" } Property { name: "visible"; type: "bool" } Property { name: "modality"; type: "Qt::WindowModality" } Property { name: "title"; type: "string" } @@ -598,13 +707,27 @@ Module { name: "setHeight" Parameter { name: "arg"; type: "int" } } + } + Component { + prototype: "QObject" + name: "QtQuick.Dialogs/MessageDialog" + exports: ["QtQuick.Dialogs/MessageDialog 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "contentItem" + Method { name: "calculateImplicitWidth"; type: "QVariant" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } Property { name: "text"; type: "string" } Property { name: "informativeText"; type: "string" } Property { name: "detailedText"; type: "string" } Property { name: "icon"; type: "Icon" } Property { name: "standardIconSource"; type: "QUrl"; isReadonly: true } - Property { name: "standardButtons"; type: "StandardButtons" } - Property { name: "clickedButton"; type: "StandardButton"; isReadonly: true } + Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } + Property { + name: "clickedButton" + type: "QQuickAbstractDialog::StandardButton" + isReadonly: true + } Signal { name: "buttonClicked" } Signal { name: "discard" } Signal { name: "help" } @@ -642,13 +765,37 @@ Module { } Method { name: "click" - Parameter { name: "button"; type: "QMessageDialogOptions::StandardButton" } - Parameter { type: "QMessageDialogOptions::ButtonRole" } + Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } + } + Property { name: "visible"; type: "bool" } + Property { name: "modality"; type: "Qt::WindowModality" } + Property { name: "title"; type: "string" } + Property { name: "isWindow"; type: "bool"; isReadonly: true } + Property { name: "x"; type: "int" } + Property { name: "y"; type: "int" } + Property { name: "width"; type: "int" } + Property { name: "height"; type: "int" } + Signal { name: "visibilityChanged" } + Signal { name: "geometryChanged" } + Signal { name: "accepted" } + Signal { name: "rejected" } + Method { name: "open" } + Method { name: "close" } + Method { + name: "setX" + Parameter { name: "arg"; type: "int" } } Method { - name: "click" - Parameter { name: "button"; type: "QQuickAbstractMessageDialog::StandardButton" } + name: "setY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "arg"; type: "int" } } - Property { name: "implementation"; type: "QObject"; isPointer: true } } } |