QGIS API Documentation 3.39.0-Master (9ea1ddbe645)
|
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. | |
void | redo () override |
void | undo () override |
![]() | |
QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer) | |
Constructor for QgsVectorLayerUndoCommand. | |
int | id () const override |
QgsVectorLayer * | layer () |
Returns the layer associated with the undo command. | |
bool | mergeWith (const QUndoCommand *) override |
Additional Inherited Members | |
![]() | |
QgsVectorLayerEditBuffer * | mBuffer = nullptr |
Associated edit buffer. | |
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 344 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 424 of file qgsvectorlayerundocommand.cpp.
|
override |
Definition at line 381 of file qgsvectorlayerundocommand.cpp.