|
QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Undo command for removing an existing attribute from a vector layer. More...
#include <qgsvectorlayerundocommand.h>

Public Member Functions | |
| QgsVectorLayerUndoCommandDeleteAttribute (QgsVectorLayerEditBuffer *buffer, int fieldIndex) | |
| Constructor for QgsVectorLayerUndoCommandDeleteAttribute. More... | |
| virtual void | redo () override |
| virtual void | undo () override |
Public Member Functions inherited from QgsVectorLayerUndoCommand | |
| QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer) | |
| Constructor for QgsVectorLayerUndoCommand. More... | |
| QgsGeometryCache * | cache () |
| virtual int | id () const override |
| QgsVectorLayer * | layer () |
| Returns the layer associated with the undo command. More... | |
| virtual bool | mergeWith (const QUndoCommand *) 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 |
| void | setText (const QString &text) |
| QString | text () const |
Additional Inherited Members | |
Protected Attributes inherited from QgsVectorLayerUndoCommand | |
| QgsVectorLayerEditBuffer * | mBuffer |
| Associated edit buffer. More... | |
Undo command for removing an existing attribute from a vector layer.
Definition at line 195 of file qgsvectorlayerundocommand.h.
| QgsVectorLayerUndoCommandDeleteAttribute::QgsVectorLayerUndoCommandDeleteAttribute | ( | QgsVectorLayerEditBuffer * | buffer, |
| int | fieldIndex | ||
| ) |
Constructor for QgsVectorLayerUndoCommandDeleteAttribute.
| buffer | associated edit buffer |
| fieldIndex | index of field to delete |
Definition at line 342 of file qgsvectorlayerundocommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 421 of file qgsvectorlayerundocommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 379 of file qgsvectorlayerundocommand.cpp.
1.8.13