diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-04-15 15:14:26 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-17 13:44:03 +0200 |
commit | 786164ed292745b2f060f9a4f685d91c8ef5393f (patch) | |
tree | cebe987994eaabc79b0330ce6a3a686eb9700539 | |
parent | dd3ba9b4b958a760c0b9e8e356797ee398d597b3 (diff) | |
download | qtquickcontrols-786164ed292745b2f060f9a4f685d91c8ef5393f.tar.gz |
Update plugins.qmltypes for QtQuick.PrivateWidgets
Change-Id: I53236f5698b2430e533d94ebb146beb72ce49c21
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: Liang Qi <liang.qi@digia.com>
-rw-r--r-- | src/widgets/plugins.qmltypes | 124 |
1 files changed, 68 insertions, 56 deletions
diff --git a/src/widgets/plugins.qmltypes b/src/widgets/plugins.qmltypes index a67443c5..7265bb05 100644 --- a/src/widgets/plugins.qmltypes +++ b/src/widgets/plugins.qmltypes @@ -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" } } @@ -181,61 +242,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" } @@ -273,12 +290,7 @@ 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 { |