|
Krita Source Code Documentation
|
The SwitchFrameCommand struct Switches to frame with undo/redo support. More...
#include <kis_layer_utils.h>
Inheritance diagram for KisLayerUtils::SwitchFrameCommand:Classes | |
| struct | SharedStorage |
Public Types | |
| typedef QSharedPointer< SharedStorage > | SharedStorageSP |
Public Types inherited from KisCommandUtils::FlipFlopCommand | |
| enum | State { INITIALIZING , FINALIZING } |
Public Member Functions | |
| SwitchFrameCommand (KisImageSP image, int time, bool finalize, SharedStorageSP storage) | |
| ~SwitchFrameCommand () override | |
Public Member Functions inherited from KisCommandUtils::FlipFlopCommand | |
| FlipFlopCommand (bool finalizing=false, KUndo2Command *parent=0) | |
| FlipFlopCommand (State initialState, KUndo2Command *parent=0) | |
| void | redo () override |
| void | undo () override |
Public Member Functions inherited from KUndo2Command | |
| QString | actionText () const |
| virtual bool | canAnnihilateWith (const KUndo2Command *other) const |
| const KUndo2Command * | child (int index) const |
| int | childCount () const |
| virtual QTime | endTime () const |
| KUndo2CommandExtraData * | extraData () const |
| bool | hasParent () const |
| virtual int | id () const |
| virtual bool | isMerged () const |
| KUndo2Command (const KUndo2MagicString &text, KUndo2Command *parent=0) | |
| KUndo2Command (KUndo2Command *parent=0) | |
| virtual QVector< KUndo2Command * > | mergeCommandsVector () const |
| virtual bool | mergeWith (const KUndo2Command *other) |
| virtual void | redoMergedCommands () |
| void | setEndTime () |
| virtual void | setEndTime (const QTime &time) |
| void | setExtraData (KUndo2CommandExtraData *data) |
| void | setText (const KUndo2MagicString &text) |
| void | setTime () |
| virtual void | setTime (const QTime &time) |
| virtual void | setTimedID (int timedID) |
| KUndo2MagicString | text () const |
| virtual QTime | time () const |
| virtual int | timedId () const |
| virtual bool | timedMergeWith (KUndo2Command *other) |
| virtual void | undoMergedCommands () |
| virtual | ~KUndo2Command () |
Private Member Functions | |
| void | partA () override |
| void | partB () override |
Private Attributes | |
| KisImageWSP | m_image |
| int | m_newTime |
| SharedStorageSP | m_storage |
Additional Inherited Members | |
Protected Member Functions inherited from KisCommandUtils::FlipFlopCommand | |
| State | getState () const |
| bool | isFirstRedo () const |
The SwitchFrameCommand struct Switches to frame with undo/redo support.
Definition at line 102 of file kis_layer_utils.h.
Definition at line 112 of file kis_layer_utils.h.
| KisLayerUtils::SwitchFrameCommand::SwitchFrameCommand | ( | KisImageSP | image, |
| int | time, | ||
| bool | finalize, | ||
| SharedStorageSP | storage ) |
Definition at line 1273 of file kis_layer_utils.cpp.
|
override |
Definition at line 1279 of file kis_layer_utils.cpp.
|
overrideprivatevirtual |
Reimplemented from KisCommandUtils::FlipFlopCommand.
Definition at line 1281 of file kis_layer_utils.cpp.
|
overrideprivatevirtual |
Reimplemented from KisCommandUtils::FlipFlopCommand.
Definition at line 1293 of file kis_layer_utils.cpp.
References KisImage::enableUIUpdates(), m_image, and m_storage.
|
private |
Definition at line 123 of file kis_layer_utils.h.
|
private |
Definition at line 124 of file kis_layer_utils.h.
|
private |
Definition at line 125 of file kis_layer_utils.h.