20#ifndef LIBREPCB_EDITOR_UNDOSTACKACTIONGROUP_H
21#define LIBREPCB_EDITOR_UNDOSTACKACTIONGROUP_H
53 UndoStack* stack, QWidget* msgBoxParent)
noexcept;
The UndoStackActionGroup class groups an undo-QAction and redo-QAction together and optionally connec...
Definition: undostackactiongroup.h:45
UndoStackActionGroup()=delete
void unregisterFromStack() noexcept
Definition: undostackactiongroup.cpp:93
void redoTriggered() noexcept
Definition: undostackactiongroup.cpp:85
~UndoStackActionGroup() noexcept
Definition: undostackactiongroup.cpp:58
QWidget * mMsgBoxParent
Definition: undostackactiongroup.h:73
UndoStackActionGroup(const UndoStackActionGroup &other)=delete
void setUndoStack(UndoStack *stack) noexcept
Definition: undostackactiongroup.cpp:66
QList< QMetaObject::Connection > mConnections
Definition: undostackactiongroup.h:74
UndoStack * mStack
Definition: undostackactiongroup.h:72
QAction & mUndo
Definition: undostackactiongroup.h:69
void undoTriggered() noexcept
Definition: undostackactiongroup.cpp:77
QAction & mRedo
Definition: undostackactiongroup.h:70
void registerToStack(UndoStack *stack) noexcept
Definition: undostackactiongroup.cpp:105
QAction * mSave
Definition: undostackactiongroup.h:71
The UndoStack class holds UndoCommand objects and provides undo/redo commands.
Definition: undostack.h:106
Definition: occmodel.cpp:77