FileDialog: Add URL open/save modes
Matches what's available in the widget counter-part.
This is particularly relevant on Android, where we cannot tell the native
file picker to only allow local files. Selecting a file from a cloud share
there so far was silently discarded in setSelectedFiles, making this appear
to the the application as if the dialog had been canceled by the user.
With the new URL mode that no longer happens, giving applications a chance
to detect this case and at least inform the user, or even better, actually
retrieve the remote file.
Change-Id: I757472b0c48f757c743f72ae0ba210ca050b8595
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>