API Documentation
|
#include <DesignCommand.h>
Public Member Functions | |
DesignCommand () | |
virtual | ~DesignCommand () |
virtual void | execute (DesignObjectLookup *) |
virtual bool | canGroupWith (const DynamicPointer< DesignCommand > &) |
virtual bool | canCombineWith (const DynamicPointer< DesignCommand > &command) |
virtual void | combineWith (const DynamicPointer< DesignCommand > &command) |
virtual bool | isAsyncExecution () const |
void | setUndoRedoID (UUID undo_redo_group) |
UUID | undoRedoID () const |
virtual TranslatedString | name () const =0 |
virtual String | icon () const =0 |
Public Attributes | |
ProgressInfo * | log = nullptr |
Time | time = Constant<Time>::NaN |
Buffer< UUID > | targets |
UUID | id |
bool | has_executed = false |
bool | is_undo = false |
bool | can_undo = true |
bool | update_project_modified = true |
Protected Attributes | |
UUID | m_undo_redo_group |
DesignCommand | ( | ) |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in ManagedDesignCommand.
|
inlinevirtual |
Reimplemented in ManagedDesignCommand.
|
virtual |
Reimplemented in ManagedDesignCommand.
|
inlinevirtual |
Reimplemented in ManagedDesignCommand, NewModelCommand, and VisibleCommand.
|
pure virtual |
Implemented in ManagedDesignCommand, NewModelCommand, and VisibleCommand.
|
inlinevirtual |
Reimplemented in ManagedDesignCommand.
|
pure virtual |
Implemented in ManagedDesignCommand, NewModelCommand, and VisibleCommand.
void setUndoRedoID | ( | UUID | undo_redo_group | ) |
UUID undoRedoID | ( | ) | const |
bool can_undo = true |
bool has_executed = false |
UUID id |
bool is_undo = false |
ProgressInfo* log = nullptr |
|
protected |
bool update_project_modified = true |