qt5base-lts/examples/widgets
Assam Boudjelthia 381612f794 Image Gestures Example: use QFileInfo for images file names
The example keeps around image file names only and append
them to the selected dir path, that works fine for file
scheme files, but for Android with content scheme files,
that doesn't work as good because usually the paths are
returned by a provider and managing them manually like
appending a file name to a directory (tree) path might not
work.

This patch retrieves QFileInfo objects and use the absolute
file paths to open any image.

Pick-to: 6.6 6.5 6.2
Fixes: QTBUG-116181
Change-Id: I9911a181d92ba0452500398cbe052b9583bd79a0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2023-08-31 22:11:51 +00:00
..
animation Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
desktop Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
dialogs Dialogs example: add checkbox for ColorDialogOption::NoEyeDropperButton 2023-06-12 15:11:26 +02:00
doc Add QRhiWidget 2023-08-14 17:05:36 +02:00
draganddrop Move fridge magnets example to manual test 2023-06-28 09:56:40 +02:00
gallery Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
gestures Image Gestures Example: use QFileInfo for images file names 2023-08-31 22:11:51 +00:00
graphicsview Move graphis view flow layout example to manual test 2023-06-28 09:56:40 +02:00
itemviews examples/: fix compiler (GCC) warnings -Wsign-compare 2023-08-18 23:35:52 +03:00
layouts Move dynamic layouts example to manual test 2023-06-28 00:09:58 +02:00
mainwindows Move main window example to manual test 2023-06-29 14:49:13 +02:00
painting Move font sampler example to manual test 2023-06-28 09:56:39 +02:00
qnx/foreignwindows Doc: Fix license of foreignwindows example 2023-06-30 18:46:54 +02:00
rhi Enable QWidget::grab() with QRhiWidget in the widget tree 2023-08-28 21:14:28 +02:00
richtext Move textedit example to manual test 2023-06-29 14:49:13 +02:00
tools Fix the project name 2023-07-31 12:38:40 +02:00
touch Move dials example to manual test 2023-06-29 14:49:14 +02:00
tutorials Move MDI example to manual test 2023-06-29 14:49:13 +02:00
widgets Move tetrix example to manual test 2023-06-29 14:49:13 +02:00
CMakeLists.txt examples: Add new subdirectory to examples/widgets CMakeLists 2023-08-15 01:11:03 +02:00
widgets.pro Add QRhiWidget 2023-08-14 17:05:36 +02:00