qtbase/examples/widgets/draganddrop
Giuseppe D'Angelo eeead68995 Examples: fix a couple of nodiscard warnings from QFile::open
In one case, the code simply checked for isOpen afterwards; refactor
it to use QFile::open's result. In another case, a file was opened
from the resource system, so add a check.

Pick-to: 6.9 6.8
Change-Id: I5f4c22dd5ce678f15c9c1609c4228d50a2b32a1d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2025-04-24 10:44:03 +01:00
..
draggableicons Improve drag-and-drop visual handling in DragWidget 2024-12-06 00:29:01 +01:00
draggabletext Examples: fix a couple of nodiscard warnings from QFile::open 2025-04-24 10:44:03 +01:00
dropsite DropSite example: handle application/x-color 2025-03-17 21:14:01 +01:00
CMakeLists.txt Correct license for examples files 2024-03-07 11:06:43 +01:00
README
draganddrop.pro Move fridge magnets example to manual test 2023-06-28 09:56:40 +02:00

README

Qt supports native drag and drop on all platforms via an extensible
MIME-based system that enables applications to send data to each other in the
most appropriate formats.

Drag and drop can also be implemented for internal use by applications.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.