qt5base-lts/examples/widgets/draganddrop
Tang Haixiang f5eda09a63 Modify the target Square in the puzzle
targetSquare judges which square the position falls in. The point
scaling calculation method should not be used. The return value of
QPoint operator/ will be rounded up. Modified to separate the x and
y of position to calculate.

Fixes: QTBUG-81842
Change-Id: I70375185a78ba47efe01be3fd490e0fb0f456e17
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2021-11-03 01:10:32 +00:00
..
draggableicons Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
draggabletext Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
dropsite Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
fridgemagnets Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
puzzle Modify the target Square in the puzzle 2021-11-03 01:10:32 +00:00
CMakeLists.txt Build examples in isolated sub-builds using ExternalProject 2021-05-26 13:33:29 +02:00
draganddrop.pro QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00

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.