Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
static QgsExpressionContextScope * formScope(const QgsFeature &formFeature=QgsFeature(), const QString &formMode=QString())
Creates a new scope which contains functions and variables from the current attribute form/table form...
static void logMessage(const QString &message, const QString &tag=QString(), Qgis::MessageLevel level=Qgis::Warning, bool notifyUser=true)
Adds a message to the log instance (and creates it if necessary).
QString attributeFormModeString() const
Returns given attributeFormMode as string.
void setFeature(const QgsFeature &feature)
Convenience function for setting a feature for the context.