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 /src/gui/configure.json | |
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 'src/gui/configure.json')
-rw-r--r-- | src/gui/configure.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json index 500251a280..cf33408991 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -1821,6 +1821,26 @@ "purpose": "Internal painting support for 64 bit (16 bpc) rasterization.", "section": "Painting", "output": [ "privateFeature" ] + }, + "undocommand": { + "label": "QUndoCommand", + "purpose": "Applies (redo or) undo of a single change in a document.", + "section": "Utilities", + "output": [ "publicFeature", "feature" ] + }, + "undostack": { + "label": "QUndoStack", + "purpose": "Provides the ability to (redo or) undo a list of changes in a document.", + "section": "Utilities", + "condition": "features.undocommand", + "output": [ "publicFeature", "feature" ] + }, + "undogroup": { + "label": "QUndoGroup", + "purpose": "Provides the ability to cluster QUndoCommands.", + "section": "Utilities", + "condition": "features.undostack", + "output": [ "publicFeature", "feature" ] } }, |