|
QGIS API Documentation
master-28efcda
|
A composer command that merges together with other commands having the same context (=id). More...
#include <qgscomposeritemcommand.h>
Inheritance diagram for QgsComposerMergeCommand:
Collaboration diagram for QgsComposerMergeCommand:A composer command that merges together with other commands having the same context (=id).
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 68 of file qgscomposeritemcommand.h.
Definition at line 71 of file qgscomposeritemcommand.h.
| QgsComposerMergeCommand::QgsComposerMergeCommand | ( | Context | c, |
| QgsComposerItem * | item, | ||
| const QString & | text | ||
| ) |
Definition at line 80 of file qgscomposeritemcommand.cpp.
Definition at line 84 of file qgscomposeritemcommand.cpp.
| int QgsComposerMergeCommand::id | ( | ) | const [inline] |
Definition at line 126 of file qgscomposeritemcommand.h.
| bool QgsComposerMergeCommand::mergeWith | ( | const QUndoCommand * | command | ) |
Definition at line 88 of file qgscomposeritemcommand.cpp.
References QgsComposerItemCommand::afterState(), QgsComposerItemCommand::item(), QgsComposerItemCommand::mAfterState, and QgsComposerItemCommand::mItem.
Context QgsComposerMergeCommand::mContext [private] |
Definition at line 129 of file qgscomposeritemcommand.h.