diff options
author | Balazs Egedi <egedib@inf.u-szeged.hu> | 2021-07-09 16:58:24 +0200 |
---|---|---|
committer | Balazs Egedi <egedib@inf.u-szeged.hu> | 2021-08-09 20:20:54 +0200 |
commit | 47d57eaa2756a108ae28d9e6226577fe66868cee (patch) | |
tree | 37cc47e5985c3184f37313e504ee7dccc275e7b6 /examples/webengine | |
parent | 3fd9d08bc24bc5f769677b411750d73801adc2d2 (diff) |
Reintroduce File Picker control
- Using FileDialog from QuickDialogs2
- Enabled the UIDelegates test
Task-number: QTBUG-93666
Pick-to: 6.2
Change-Id: I8438a2498e864bc93abf26f2527d7883ac26ca9b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'examples/webengine')
-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 |