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>
commit7ceb22e8015a79da3ea9a7301fddaff6d6172685
parente11f14af9aaa7df3b8fd25c95792d319183a82c6
authorVolker Krause <vkrause@kde.org>
committerVolker Krause <vkrause@kde.org>
commit timeSun, 18 Oct 2026 19:50:05 +0000