18 #ifndef QGSLAYOUTUNDOSTACK_H
19 #define QGSLAYOUTUNDOSTACK_H
22 #include "qgis_core.h"
57 void beginMacro(
const QString &commandText );
121 void blockCommands(
bool blocked );
127 bool isBlocked()
const;
140 void undoRedoOccurredForItems( QSet< QString > itemUuids );
150 std::unique_ptr< QUndoStack > mUndoStack;
152 std::vector< std::unique_ptr< QgsAbstractLayoutUndoCommand > > mActiveCommands;
154 QSet< QString > mUndoRedoOccurredItemUuids;
156 int mBlockedCommands = 0;
163 #endif // QGSLAYOUTUNDOCOMMAND_H