16 #ifndef QGSDEFAULTVALUE_H 17 #define QGSDEFAULTVALUE_H 19 #include "qgis_core.h" 51 Q_PROPERTY( QString expression READ expression WRITE setExpression )
52 Q_PROPERTY(
bool applyOnUpdate READ applyOnUpdate WRITE setApplyOnUpdate )
60 explicit
QgsDefaultValue( const QString &expression = QString(),
bool applyOnUpdate = false );
67 QString expression() const;
73 void setExpression( const QString &expression );
79 bool applyOnUpdate() const;
85 void setApplyOnUpdate(
bool applyOnUpdate );
97 operator
bool() const;
101 bool mApplyOnUpdate = false;
104 #endif // QGSDEFAULTVALUE_H The QgsDefaultValue class provides a container for managing client side default values for fields...