|
Krita Source Code Documentation
|
#include <kundo2stack.h>
Inheritance diagram for KUndo2Stack:Public Member Functions | |
| QAction * | createRedoAction (KisKActionCollection *actionCollection, const QString &actionName=QString()) |
| QAction * | createUndoAction (KisKActionCollection *actionCollection, const QString &actionName=QString()) |
| KUndo2Stack (QObject *parent=0) | |
Public Member Functions inherited from KUndo2QStack | |
| QString | actionText (int idx) const |
| void | beginMacro (const KUndo2MagicString &text) |
| bool | canRedo () const |
| bool | canUndo () const |
| int | cleanIndex () const |
| void | clear () |
| const KUndo2Command * | command (int index) const |
| int | count () const |
| QAction * | createRedoAction (QObject *parent) const |
| QAction * | createUndoAction (QObject *parent) const |
| KisCumulativeUndoData | cumulativeUndoData () |
| void | endMacro () |
| int | index () const |
| bool | isActive () const |
| bool | isClean () const |
| KUndo2QStack (QObject *parent=0) | |
| void | push (KUndo2Command *cmd) |
| QString | redoText () const |
| void | setCumulativeUndoData (const KisCumulativeUndoData &data) |
| void | setUndoLimit (int limit) |
| void | setUseCumulativeUndoRedo (bool value) |
| QString | text (int idx) const |
| int | undoLimit () const |
| QString | undoText () const |
| bool | useCumulativeUndoRedo () const |
| ~KUndo2QStack () override | |
Additional Inherited Members | |
Public Slots inherited from KUndo2QStack | |
| void | purgeRedoState () |
| virtual void | redo () |
| void | setActive (bool active=true) |
| void | setClean () |
| virtual void | setIndex (int idx) |
| virtual void | undo () |
Signals inherited from KUndo2QStack | |
| void | canRedoChanged (bool canRedo) |
| void | canUndoChanged (bool canUndo) |
| void | cleanChanged (bool clean) |
| void | indexChanged (int idx) |
| void | redoTextChanged (const QString &redoActionText) |
| void | undoTextChanged (const QString &undoActionText) |
Protected Member Functions inherited from KUndo2QStack | |
| virtual void | notifySetIndexChangedOneCommand () |
Properties inherited from KUndo2QStack | |
| bool | active |
| the active status of this stack. | |
| int | undoLimit |
| the maximum number of commands on this stack. | |
Definition at line 243 of file kundo2stack.h.
|
explicit |
Definition at line 1480 of file kundo2stack.cpp.
| QAction * KUndo2Stack::createRedoAction | ( | KisKActionCollection * | actionCollection, |
| const QString & | actionName = QString() ) |
Definition at line 1386 of file kundo2stack.cpp.
References KisKActionCollection::addAction(), KUndo2QStack::createRedoAction(), koIcon, KStandardAction::name(), and KStandardAction::Redo.
| QAction * KUndo2Stack::createUndoAction | ( | KisKActionCollection * | actionCollection, |
| const QString & | actionName = QString() ) |
Definition at line 1405 of file kundo2stack.cpp.
References KisKActionCollection::addAction(), KUndo2QStack::createUndoAction(), koIcon, KStandardAction::name(), and KStandardAction::Undo.