|
QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
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... | |
| void | redo () override |
| void | undo () override |
Public Member Functions inherited from QgsVectorLayerUndoCommand | |
| QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer) | |
| Constructor for QgsVectorLayerUndoCommand. More... | |
| int | id () const override |
| QgsVectorLayer * | layer () |
| Returns the layer associated with the undo command. More... | |
| bool | mergeWith (const QUndoCommand *) override |
Additional Inherited Members | |
Protected Attributes inherited from QgsVectorLayerUndoCommand | |
| QgsVectorLayerEditBuffer * | mBuffer = nullptr |
| Associated edit buffer. More... | |
Undo command for removing an existing attribute from a vector layer.
Definition at line 205 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 321 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 401 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 358 of file qgsvectorlayerundocommand.cpp.
1.8.11