20 : mExpressionContextScope( nullptr )
27 , mDescription( description )
28 , mExpressionContextScope( expressionContextScope )
34 return other.mId == mId;
39 return mExpressionContextScope;
87 hash |=
qHash( key.
id(), seed );
void setId(const QString &id)
A unique identifier for this action scope.
bool isValid() const
Returns if this scope is valid.
QStringList variableNames() const
Returns a list of variable names contained within the scope.
QString id() const
A unique identifier for this action scope.
void setTitle(const QString &title)
The title is a human readable and translated string that will be presented to the user in the propert...
void setDescription(const QString &description)
The description should be a longer description of where actions in this scope are available...
uint qHash(const QgsActionScope &key, uint seed)
An action scope defines a "place" for an action to be shown and may add additional expression variabl...
Single scope for storing variables and functions for use within a QgsExpressionContext.
QString title() const
The title is a human readable and translated string that will be presented to the user in the propert...
QString description() const
The description should be a longer description of where actions in this scope are available...
bool operator==(const QgsActionScope &other) const
Compares two action scopes.
QgsActionScope()
Creates a new invalid action scope.
void setExpressionContextScope(const QgsExpressionContextScope &expressionContextScope)
An expression scope may offer additional variables for an action scope.
QgsExpressionContextScope expressionContextScope() const
An expression scope may offer additional variables for an action scope.