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