16#ifndef QGSFIELDCALCULATOR_H
17#define QGSFIELDCALCULATOR_H
19#include "ui_qgsfieldcalculatorbase.h"
56 void accept()
override;
59 void mNewFieldGroupBox_toggled(
bool on );
60 void mUpdateExistingGroupBox_toggled(
bool on );
61 void mCreateVirtualFieldCheckbox_stateChanged(
int state );
62 void mOutputFieldNameLineEdit_textChanged(
const QString &text );
63 void mOutputFieldTypeComboBox_activated(
int index );
66 void setOkButtonState();
67 void setPrecisionMinMax();
74 void populateFields();
76 void populateOutputFieldTypes();
80 bool mCanAddAttribute =
false;
81 bool mCanChangeAttributeValue =
false;
89 friend class TestQgsFieldCalculator;
A dialog class that provides calculation of new fields using existing fields, values and a set of ope...
int changedAttributeId() const
Returns the field index of the field for which new attribute values were calculated.
Encapsulate a field in an attribute table or data source.
Represents a vector layer which manages a vector based data sets.