26 , mMultiFrame( multiFrame )
34 : mMultiFrame(
nullptr )
35 , mComposition(
nullptr )
51 if ( checkFirstRun() )
60 if ( checkFirstRun() )
67 void QgsAddRemoveMultiFrameCommand::switchState()
71 if ( mState ==
Added )
85 bool QgsAddRemoveMultiFrameCommand::checkFirstRun()
void setDirty(bool b=true)
Flag the project as dirty (modified).
QgsAddRemoveMultiFrameCommand(State s, QgsComposerMultiFrame *multiFrame, QgsComposition *c, const QString &text, QUndoCommand *parent=nullptr)
Abstract base class for composer items with the ability to distribute the content to several frames (...
Graphics scene for map printing.
void removeMultiFrame(QgsComposerMultiFrame *multiFrame)
Removes multi frame (but does not delete it)
static QgsProject * instance()
Returns the QgsProject singleton instance.
~QgsAddRemoveMultiFrameCommand()
void addMultiFrame(QgsComposerMultiFrame *multiFrame)
Adds multiframe.