qt6-bb10/examples/widgets/itemviews/puzzle
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
..
.prev_CMakeLists.txt CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
CMakeLists.txt Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
example.jpg
main.cpp Revamp QtWidgets/DragAndDrop examples to C++11 2017-10-18 10:31:44 +00:00
mainwindow.cpp Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
mainwindow.h Revamp QtWidgets/DragAndDrop examples to C++11 2017-10-18 10:31:44 +00:00
piecesmodel.cpp Disentangle QIODevice dependencies 2020-08-15 20:55:31 +02:00
piecesmodel.h Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
puzzle.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
puzzle.qrc
puzzlewidget.cpp Modify the target Square in the puzzle 2021-11-03 01:10:32 +00:00
puzzlewidget.h Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00