summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/code
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2019-01-18 14:21:50 +0100
committerMorten Johan Sørvig <morten.sorvig@qt.io>2019-02-07 06:49:21 +0000
commit790cf25f9d811f2cda7e252b4f1844e8fce27e2a (patch)
tree980869b3a253a15ab4fbcebbaea76b76d541cf93 /src/widgets/doc/snippets/code
parentc58df2d12e6087c4b880a0210062ca77b6aed046 (diff)
wasm: add local file access private API
Access to the local file system is restricted by the Web sandbox, and a separate API an implementation is needed to facilitate this for Qt applications. This adds a private asynchronous callback-based C++ API for opening a file dialog and reading file content. The implementation uses a file input html element to show a file dialog, and then the uses the native File and FileReader APIs to read the selected file(s). Change-Id: I4e28baa032d7c3cd63241465f0ae55efd219a05b Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/widgets/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions