16 #ifndef QGSDEFAULTVALUE_H
17 #define QGSDEFAULTVALUE_H
19 #include "qgis_core.h"
52 Q_PROPERTY( QString expression READ expression WRITE setExpression )
53 Q_PROPERTY(
bool applyOnUpdate READ applyOnUpdate WRITE setApplyOnUpdate )
61 explicit QgsDefaultValue(
const QString &expression = QString(),
bool applyOnUpdate =
false );
68 QString expression()
const;
74 void setExpression(
const QString &expression );
80 bool applyOnUpdate()
const;
86 void setApplyOnUpdate(
bool applyOnUpdate );
102 bool mApplyOnUpdate = false;
The QgsDefaultValue class provides a container for managing client side default values for fields.
#define SIP_PYTHON_SPECIAL_BOOL(method_or_code)
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Q_DECLARE_METATYPE(QgsMeshTimeSettings)