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;
92 #endif // QGSFIELDCALCULATOR_H