|
Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
|
Edits the ChordDescriptor of one or more ChordObjects. More...
#include <src/commands/edit_chord_object_command.h>


Public Member Functions | |
| EditChordObjectCommand (structure::arrangement::ChordObject *chord_object, const dsp::ChordDescriptor &new_descriptor) | |
| int | id () const override |
| bool | mergeWith (const QUndoCommand *other) override |
| void | undo () override |
| void | redo () override |
Edits the ChordDescriptor of one or more ChordObjects.
Captures the descriptor state by value at construction time and tracks the ChordObject via QPointer, so undo/redo remain safe even if the model rebuilds or resets during the operation.
Definition at line 22 of file edit_chord_object_command.h.
|
inline |
Definition at line 25 of file edit_chord_object_command.h.
|
inlineoverride |
Definition at line 36 of file edit_chord_object_command.h.
|
inlineoverride |
Definition at line 38 of file edit_chord_object_command.h.
|
inlineoverride |
Definition at line 57 of file edit_chord_object_command.h.
|
inlineoverride |
Definition at line 51 of file edit_chord_object_command.h.