diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-03-10 15:40:56 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-03-30 12:36:29 +0200 |
commit | 3f73995a03c4b40e2648cb9af5d3e7ca393bf597 (patch) | |
tree | f7f9f4c63a5506287de4d44d4f01cdc57e093a27 /examples/widgets/doc | |
parent | adc1be3c33b4237a13e423c140bcb1c06aeb11d9 (diff) |
Move undo framework out of Qt Widgets
- Moves QUndo* classes (except QUndoView) from src/widgets/utils to src/gui/utils
- Moves related auto tests from widgets to gui
- Replaces QUndoAction with lambdas that do text prefixing
[ChangeLog][Undo Framework] QUndo* classes (except QUndoView) were moved from Qt
Widgets to Qt GUI.
Done-with: volker.hilsheimer@qt.io
Fixes: QTBUG-40040
Change-Id: I3bd8d4d32c64f8dee548f62159a1df2126da89d8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets/doc')
-rw-r--r-- | examples/widgets/doc/src/undoframework.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/doc/src/undoframework.qdoc b/examples/widgets/doc/src/undoframework.qdoc index 881fa45206..b4e6f3685d 100644 --- a/examples/widgets/doc/src/undoframework.qdoc +++ b/examples/widgets/doc/src/undoframework.qdoc @@ -113,7 +113,7 @@ The \c createActions() function sets up all the examples actions in the manner shown above. The \l{QUndoStack::}{createUndoAction()} and - \l{QUndoStack::}{createRedoAction()} helps us crate actions that + \l{QUndoStack::}{createRedoAction()} methods help us create actions that are disabled and enabled based on the state of the stack. Also, the text of the action will be updated automatically based on the \l{QUndoCommand::}{text()} of the undo commands. For the other |