QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A dialog class that provides calculation of new fields using existing fields, values and a set of operators. More...
#include <qgsfieldcalculator.h>
Public Slots | |
void | accept () override |
Public Member Functions | |
QgsFieldCalculator (QgsVectorLayer *vl, QWidget *parent=nullptr) | |
int | changedAttributeId () const |
Returns the field index of the field for which new attribute values were calculated. | |
Friends | |
class | TestQgsFieldCalculator |
A dialog class that provides calculation of new fields using existing fields, values and a set of operators.
Sample usage of the QgsFieldCalculator class:
Definition at line 43 of file qgsfieldcalculator.h.
QgsFieldCalculator::QgsFieldCalculator | ( | QgsVectorLayer * | vl, |
QWidget * | parent = nullptr |
||
) |
Definition at line 48 of file qgsfieldcalculator.cpp.
|
overrideslot |
Definition at line 176 of file qgsfieldcalculator.cpp.
|
inline |
Returns the field index of the field for which new attribute values were calculated.
Definition at line 54 of file qgsfieldcalculator.h.
|
friend |
Definition at line 96 of file qgsfieldcalculator.h.