QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
#include <qgscomposermultiframecommand.h>
Public Member Functions | |
QgsComposerMultiFrameCommand (QgsComposerMultiFrame *multiFrame, const QString &text, QUndoCommand *parent=nullptr) | |
~QgsComposerMultiFrameCommand () | |
QDomDocument | afterState () const |
bool | containsChange () const |
Returns true if previous state and after state are valid and different. More... | |
const QgsComposerMultiFrame * | multiFrame () const |
QDomDocument | previousState () const |
void | redo () override |
void | saveAfterState () |
void | savePreviousState () |
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 |
Protected Member Functions | |
QgsComposerMultiFrameCommand () | |
bool | checkFirstRun () |
void | restoreState (QDomDocument &stateDoc) |
void | saveState (QDomDocument &stateDoc) |
Protected Attributes | |
QDomDocument | mAfterState |
bool | mFirstRun |
QgsComposerMultiFrame * | mMultiFrame |
QDomDocument | mPreviousState |
Definition at line 29 of file qgscomposermultiframecommand.h.
QgsComposerMultiFrameCommand::QgsComposerMultiFrameCommand | ( | QgsComposerMultiFrame * | multiFrame, |
const QString & | text, | ||
QUndoCommand * | parent = nullptr |
||
) |
Definition at line 22 of file qgscomposermultiframecommand.cpp.
QgsComposerMultiFrameCommand::~QgsComposerMultiFrameCommand | ( | ) |
Definition at line 31 of file qgscomposermultiframecommand.cpp.
|
protected |
Definition at line 27 of file qgscomposermultiframecommand.cpp.
|
inline |
Definition at line 42 of file qgscomposermultiframecommand.h.
|
protected |
Definition at line 79 of file qgscomposermultiframecommand.cpp.
bool QgsComposerMultiFrameCommand::containsChange | ( | ) | const |
Returns true if previous state and after state are valid and different.
Definition at line 89 of file qgscomposermultiframecommand.cpp.
|
inline |
Definition at line 47 of file qgscomposermultiframecommand.h.
|
inline |
Definition at line 41 of file qgscomposermultiframecommand.h.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 40 of file qgscomposermultiframecommand.cpp.
|
protected |
Definition at line 70 of file qgscomposermultiframecommand.cpp.
void QgsComposerMultiFrameCommand::saveAfterState | ( | ) |
Definition at line 54 of file qgscomposermultiframecommand.cpp.
void QgsComposerMultiFrameCommand::savePreviousState | ( | ) |
Definition at line 49 of file qgscomposermultiframecommand.cpp.
|
protected |
Definition at line 59 of file qgscomposermultiframecommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 35 of file qgscomposermultiframecommand.cpp.
|
protected |
Definition at line 53 of file qgscomposermultiframecommand.h.
|
protected |
Definition at line 55 of file qgscomposermultiframecommand.h.
|
protected |
Definition at line 50 of file qgscomposermultiframecommand.h.
|
protected |
Definition at line 52 of file qgscomposermultiframecommand.h.