Item Views Puzzle Example | Qt Widgets 5.6

Qt 5.6 | Qt Widgets | Item Views Puzzle Example

Qt 5.6.2 Reference Documentation

# Item Views Puzzle Example

This example is an implementation of a simple jigsaw puzzle game using the built-in support for drag and drop provided by Qt's model/view framework. The Drag and Drop Puzzle example shows many of the same features, but takes an alternative approach that uses Qt's drag and drop API at the application level to handle drag and drop operations.

Files:

- itemviews/puzzle/mainwindow.cpp
- itemviews/puzzle/mainwindow.h
- itemviews/puzzle/piecesmodel.cpp
- itemviews/puzzle/piecesmodel.h
- itemviews/puzzle/puzzlewidget.cpp
- itemviews/puzzle/puzzlewidget.h
- itemviews/puzzle/main.cpp
- itemviews/puzzle/puzzle.pro
- itemviews/puzzle/puzzle.qrc