QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
#include <qgsaddremovemultiframecommand.h>
Public Types | |
enum | State { Added = 0, Removed } |
Public Member Functions | |
QgsAddRemoveMultiFrameCommand (State s, QgsComposerMultiFrame *multiFrame, QgsComposition *c, const QString &text, QUndoCommand *parent=nullptr) | |
~QgsAddRemoveMultiFrameCommand () | |
void | redo () override |
void | undo () override |
Public Member Functions inherited from QUndoCommand | |
QUndoCommand (QUndoCommand *parent) | |
QUndoCommand (const QString &text, QUndoCommand *parent) | |
virtual | ~QUndoCommand () |
QString | actionText () const |
const QUndoCommand * | child (int index) const |
int | childCount () const |
virtual int | id () const |
virtual bool | mergeWith (const QUndoCommand *command) |
void | setText (const QString &text) |
QString | text () const |
Definition at line 29 of file qgsaddremovemultiframecommand.h.
Enumerator | |
---|---|
Added | |
Removed |
Definition at line 33 of file qgsaddremovemultiframecommand.h.
QgsAddRemoveMultiFrameCommand::QgsAddRemoveMultiFrameCommand | ( | State | s, |
QgsComposerMultiFrame * | multiFrame, | ||
QgsComposition * | c, | ||
const QString & | text, | ||
QUndoCommand * | parent = nullptr |
||
) |
Definition at line 24 of file qgsaddremovemultiframecommand.cpp.
QgsAddRemoveMultiFrameCommand::~QgsAddRemoveMultiFrameCommand | ( | ) |
Definition at line 41 of file qgsaddremovemultiframecommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 49 of file qgsaddremovemultiframecommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 58 of file qgsaddremovemultiframecommand.cpp.