|
SILICON
|
#include <undoCommands.hpp>
Classes | |
| struct | PropertyChange |
Public Member Functions | |
| ModifyPropertyCommand (std::string key, QUndoCommand *parent=nullptr) | |
| void | addPropertyChange (GraphicalComponent *component, const PropertyValue &oldValue, const PropertyValue &newValue) |
| bool | isEmpty () const |
| void | undo () override |
| void | redo () override |
Private Member Functions | |
| void | apply (bool useNewValue) |
Private Attributes | |
| std::string | key |
| std::string | documentPath |
| std::vector< PropertyChange > | changes |
Definition at line 206 of file undoCommands.hpp.
|
explicit |
Definition at line 329 of file undoCommands.cpp.
| void addPropertyChange | ( | GraphicalComponent * | component, |
| const PropertyValue & | oldValue, | ||
| const PropertyValue & | newValue ) |
Definition at line 335 of file undoCommands.cpp.
|
private |
Definition at line 348 of file undoCommands.cpp.
|
inlinenodiscard |
Definition at line 212 of file undoCommands.hpp.
|
override |
Definition at line 370 of file undoCommands.cpp.
|
override |
Definition at line 365 of file undoCommands.cpp.
|
private |
Definition at line 229 of file undoCommands.hpp.
|
private |
Definition at line 228 of file undoCommands.hpp.
|
private |
Definition at line 227 of file undoCommands.hpp.