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