18#ifndef QGSLAYOUTUNDOSTACK_H 
   19#define QGSLAYOUTUNDOSTACK_H 
   57    void beginMacro( 
const QString &commandText );
 
  121    void blockCommands( 
bool blocked );
 
  127    bool isBlocked() 
const;
 
  150    std::unique_ptr< QUndoStack > mUndoStack;
 
  152    std::vector< std::unique_ptr< QgsAbstractLayoutUndoCommand > > mActiveCommands;
 
  154    QSet< QString > mUndoRedoOccurredItemUuids;
 
  156    int mBlockedCommands = 0;
 
Base class for graphical items within a QgsLayout.
 
Interface for layout objects which support undo/redo commands.
 
An undo stack for QgsLayouts.
 
void undoRedoOccurredForItems(QSet< QString > itemUuids)
Emitted when an undo or redo action has occurred, which affected a set of layout itemUuids.
 
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.