|
QGIS API Documentation
3.6.0-Noosa (5873452)
|
Interface for layout objects which support undo/redo commands. More...
#include <qgslayoutundocommand.h>

Public Member Functions | |
| virtual | ~QgsLayoutUndoObjectInterface ()=default |
| Destructor for QgsLayoutUndoObjectInterface. More... | |
| virtual QgsAbstractLayoutUndoCommand * | createCommand (const QString &text, int id=0, QUndoCommand *parent=nullptr)=0 |
| Creates a new layout undo command with the specified text and parent. More... | |
Interface for layout objects which support undo/redo commands.
Definition at line 128 of file qgslayoutundocommand.h.
|
virtualdefault |
Destructor for QgsLayoutUndoObjectInterface.
|
pure virtual |
Creates a new layout undo command with the specified text and parent.
The id argument can be used to specify an id number for the source event - this is used to determine whether QUndoCommand command compression can apply to the command.
Implemented in QgsLayout, QgsLayoutItem, QgsLayoutMultiFrame, QgsLayoutItemPage, and QgsLayoutSerializableObject.
1.8.13