diff options
author | Balazs Egedi <egedib@inf.u-szeged.hu> | 2021-07-09 16:58:24 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-10 05:17:31 +0000 |
commit | 36ef2b73fb5b8ba75ec0926dc3ffde2f0487c5d5 (patch) | |
tree | 3896d1495aa1b9da02ba087c55745c33a13258ad /examples | |
parent | 297d086de02ff1babe792b96e02cb760f7a26a0e (diff) |
Reintroduce File Picker control
- Using FileDialog from QuickDialogs2
- Enabled the UIDelegates test
Task-number: QTBUG-93666
Change-Id: I8438a2498e864bc93abf26f2527d7883ac26ca9b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 47d57eaa2756a108ae28d9e6226577fe66868cee)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/webengine/customdialogs/doc/images/customdialogs-file1.png | bin | 0 -> 18540 bytes | |||
-rw-r--r-- | examples/webengine/customdialogs/doc/src/customdialogs.qdoc | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/webengine/customdialogs/doc/images/customdialogs-file1.png b/examples/webengine/customdialogs/doc/images/customdialogs-file1.png Binary files differnew file mode 100644 index 000000000..5023ced6f --- /dev/null +++ b/examples/webengine/customdialogs/doc/images/customdialogs-file1.png diff --git a/examples/webengine/customdialogs/doc/src/customdialogs.qdoc b/examples/webengine/customdialogs/doc/src/customdialogs.qdoc index a07c92153..15207904b 100644 --- a/examples/webengine/customdialogs/doc/src/customdialogs.qdoc +++ b/examples/webengine/customdialogs/doc/src/customdialogs.qdoc @@ -294,7 +294,7 @@ \section2 File Dialog Requests - Currently, Qt WebEngine does not provide File Dialog, a custom dialog should be implemented. + \image customdialogs-file1.png \l [QML]{FileDialogRequest} is a request object that is passed as a parameter of the WebEngineView::fileDialogRequested signal: @@ -309,8 +309,8 @@ \printuntil } We use the \c onFileDialogRequested signal handler to check whether - we should use the default file picker dialog (which currently is not provided). - If not, we accept the request and switch the view to show the \c FilePickerForm: + we should use the default file picker dialog. If not, we accept the request + and switch the view to show the \c FilePickerForm: \image customdialogs-file2.png |