117 QList<QgsAction>
actions(
const QString &actionScope = QString() )
const;
123 bool writeXml( QDomNode &layer_node )
const;
126 bool readXml(
const QDomNode &layer_node );
139 QgsAction action(
const QString &
id )
const;
146 void setDefaultAction(
const QString &actionScope, QUuid actionId );
153 QgsAction defaultAction(
const QString &actionScope );
156 QList<QgsAction> mActions;
158 static void ( *smPythonExecute )(
const QString & );
160 void runAction(
const QgsAction &action );
162 QMap<QString, QUuid> mDefaultActions;
164 bool mOnNotifyConnected =
false;
169 void onNotifyRunActions(
const QString &message );
QUuid addAction(Qgis::AttributeActionType type, const QString &name, const QString &command, bool capture=false)
Add an action with the given name and action details.
Single scope for storing variables and functions for use within a QgsExpressionContext.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...