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

/*!
    \example tools/undo
    \title Undo Framework
    \ingroup examples-widgets-tools

    \brief This example shows Qt's undo framework in action.

    \image undodemo.png

    Qt's undo framework is an implementation of the Command
    pattern, which provides advanced undo/redo functionality.

    To show the abilities of the framework, we have implemented a
    small diagram application in which the diagram items are geometric
    primitives.  You can edit the diagram in the following ways: add,
    move, change the color of, and delete the items.
*/