QGIS API Documentation
2.12.0-Lyon
|
A composer command that merges together with other commands having the same context (=id) for multi frame items. More...
#include <qgscomposermultiframecommand.h>
Public Types | |
enum | Context { Unknown = 0, HtmlSource, HtmlStylesheet, HtmlBreakDistance, TableMaximumFeatures, TableMargin, TableGridStrokeWidth, TableCellStyle } |
Additional Inherited Members | |
Protected Member Functions inherited from QgsComposerMultiFrameCommand | |
QgsComposerMultiFrameCommand () | |
bool | checkFirstRun () |
void | restoreState (QDomDocument &stateDoc) |
void | saveState (QDomDocument &stateDoc) |
Protected Attributes inherited from QgsComposerMultiFrameCommand | |
QDomDocument | mAfterState |
bool | mFirstRun |
QgsComposerMultiFrame * | mMultiFrame |
QDomDocument | mPreviousState |
A composer command that merges together with other commands having the same context (=id) for multi frame items.
Keeps the oldest previous state and uses the newest after state. The purpose is to avoid too many micro changes in the history
Definition at line 63 of file qgscomposermultiframecommand.h.
Enumerator | |
---|---|
Unknown | |
HtmlSource | |
HtmlStylesheet | |
HtmlBreakDistance | |
TableMaximumFeatures | |
TableMargin | |
TableGridStrokeWidth | |
TableCellStyle |
Definition at line 66 of file qgscomposermultiframecommand.h.
QgsComposerMultiFrameMergeCommand::QgsComposerMultiFrameMergeCommand | ( | QgsComposerMultiFrameMergeCommand::Context | c, |
QgsComposerMultiFrame * | multiFrame, | ||
const QString & | text | ||
) |
Definition at line 95 of file qgscomposermultiframecommand.cpp.
QgsComposerMultiFrameMergeCommand::~QgsComposerMultiFrameMergeCommand | ( | ) |
Definition at line 102 of file qgscomposermultiframecommand.cpp.
|
inlineoverridevirtual |
Reimplemented from QUndoCommand.
Definition at line 84 of file qgscomposermultiframecommand.h.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 107 of file qgscomposermultiframecommand.cpp.