|
|
void | undoActionsChanged () |
|
void | redoActionsChanged () |
|
void | indexChanged () |
|
void | canUndoChanged () |
|
void | canRedoChanged () |
|
|
| UndoStack (CallbackWithPausedEngineRequester callback_with_paused_engine_requester, QObject *parent=nullptr) |
|
void | push (QUndoCommand *cmd) |
|
Q_INVOKABLE void | undo () |
|
Q_INVOKABLE void | redo () |
| bool | canUndo () const |
| bool | canRedo () const |
| const QUndoCommand * | command (int index) const |
| Q_INVOKABLE void | beginMacro (const QString &text) |
| Q_INVOKABLE void | endMacro () |
|
QStringList | undoActions () |
|
QStringList | redoActions () |
| int | index () const |
|
void | setIndex (int idx) |
| auto | count () const |
| auto | text (int idx) const |
|
|
void | to_json (nlohmann::json &j, const UndoStack &u) |
|
void | from_json (const nlohmann::json &j, UndoStack &u) |
Definition at line 17 of file undo_stack.h.
◆ CallbackWithPausedEngineRequester
Initial value:
std::function<void (const std::function<void ()> &, bool)>
A function for requesting a callback with the engine paused.
- See also
- AudioEngine.run_function_with_paused_processing().
Definition at line 33 of file undo_stack.h.
◆ beginMacro()
| Q_INVOKABLE void zrythm::undo::UndoStack::beginMacro |
( |
const QString & | text | ) |
|
|
inline |
◆ canRedo()
| bool zrythm::undo::UndoStack::canRedo |
( |
| ) |
const |
|
inline |
◆ canUndo()
| bool zrythm::undo::UndoStack::canUndo |
( |
| ) |
const |
|
inline |
◆ command()
| const QUndoCommand * zrythm::undo::UndoStack::command |
( |
int | index | ) |
const |
|
inline |
◆ count()
| auto zrythm::undo::UndoStack::count |
( |
| ) |
const |
|
inline |
◆ endMacro()
| Q_INVOKABLE void zrythm::undo::UndoStack::endMacro |
( |
| ) |
|
|
inline |
◆ index()
| int zrythm::undo::UndoStack::index |
( |
| ) |
const |
|
inline |
◆ text()
| auto zrythm::undo::UndoStack::text |
( |
int | idx | ) |
const |
|
inline |
◆ canRedo
| bool zrythm::undo::UndoStack::canRedo |
|
read |
◆ canUndo
| bool zrythm::undo::UndoStack::canUndo |
|
read |
◆ index
| int zrythm::undo::UndoStack::index |
|
readwrite |
◆ redoActions
| QStringList zrythm::undo::UndoStack::redoActions |
|
read |
◆ undoActions
| QStringList zrythm::undo::UndoStack::undoActions |
|
read |
The documentation for this class was generated from the following file: