summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/itemviewspuzzle.qdoc
blob: 9e77caf87e5799448b0d17d8b2c24a25ac559330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \example itemviews/puzzle
    \title Item Views Puzzle Example
    \ingroup examples-itemviews
    \brief The Puzzle example shows how to enable drag and drop with a custom model
    to allow items to be transferred between a view and another widget.

    \image itemviewspuzzle-example.png

    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.
*/