75 QUuid addAction(
Qgis::AttributeActionType type,
const QString &name,
const QString &command,
const QString &icon,
bool capture =
false );
80 void addAction(
const QgsAction &action );
87 void removeAction( QUuid actionId );
119 QList<QgsAction> actions(
const QString &actionScope = QString() )
const;
125 bool writeXml( QDomNode &layer_node )
const;
128 bool readXml(
const QDomNode &layer_node );
142 QgsAction action(
const QString &
id )
const;
150 void setDefaultAction(
const QString &actionScope, QUuid actionId );
158 QgsAction defaultAction(
const QString &actionScope );
161 QList<QgsAction> mActions;
163 static void ( *smPythonExecute )(
const QString & );
165 void runAction(
const QgsAction &action );
167 QMap<QString, QUuid> mDefaultActions;
169 bool mOnNotifyConnected =
false;
174 void onNotifyRunActions(
const QString &message );
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...