16 #ifndef QGSFIELDCALCULATOR_H
17 #define QGSFIELDCALCULATOR_H
22 #include "ui_qgsfieldcalculatorbase.h"
44 void accept()
override;
46 void mNewFieldGroupBox_toggled(
bool on );
47 void mUpdateExistingGroupBox_toggled(
bool on );
48 void mCreateVirtualFieldCheckbox_stateChanged(
int state );
49 void mOutputFieldNameLineEdit_textChanged(
const QString &text );
50 void mOutputFieldTypeComboBox_activated(
int index );
54 void setOkButtonState();
55 void setPrecisionMinMax();
62 void populateFields();
64 void populateOutputFieldTypes();
68 bool mCanAddAttribute =
false;
69 bool mCanChangeAttributeValue =
false;
77 friend class TestQgsFieldCalculator;
A dialog class that provides calculation of new fields using existing fields, values and a set of ope...
int changedAttributeId() const
Encapsulate a field in an attribute table or data source.
Represents a vector layer which manages a vector based data sets.