Drag and Drop Puzzle Example | Qt Widgets 5.9

Qt 5.9 | Qt Widgets | Drag and Drop Puzzle Example

Qt 5.9.9 Reference Documentation

# Drag and Drop Puzzle Example

This example is an implementation of a simple jigsaw puzzle game using Qt's drag and drop API. The Item View Puzzle example shows many of the same features, but takes an alternative approach that uses Qt's model/view framework to manage drag and drop operations.

Files:

- draganddrop/puzzle/mainwindow.cpp
- draganddrop/puzzle/mainwindow.h
- draganddrop/puzzle/pieceslist.cpp
- draganddrop/puzzle/pieceslist.h
- draganddrop/puzzle/puzzlewidget.cpp
- draganddrop/puzzle/puzzlewidget.h
- draganddrop/puzzle/main.cpp
- draganddrop/puzzle/puzzle.pro
- draganddrop/puzzle/puzzle.qrc