QGIS API Documentation  3.6.0-Noosa (5873452)
Public Member Functions | Public Attributes | List of all members
QgsActionMenu::ActionData Struct Reference

#include <qgsactionmenu.h>

Public Member Functions

 ActionData ()=default
 Constructor for ActionData. More...
 
 ActionData (const QgsAction &action, QgsFeatureId featureId, QgsMapLayer *mapLayer)
 
 ActionData (QgsMapLayerAction *action, QgsFeatureId featureId, QgsMapLayer *mapLayer)
 

Public Attributes

QVariant actionData
 
QgsActionMenu::ActionType actionType = Invalid
 
QgsFeatureId featureId = 0
 
QgsMapLayermapLayer = nullptr
 

Detailed Description

Definition at line 50 of file qgsactionmenu.h.

Constructor & Destructor Documentation

◆ ActionData() [1/3]

QgsActionMenu::ActionData::ActionData ( )
default

Constructor for ActionData.

◆ ActionData() [2/3]

QgsActionMenu::ActionData::ActionData ( const QgsAction action,
QgsFeatureId  featureId,
QgsMapLayer mapLayer 
)

Definition at line 189 of file qgsactionmenu.cpp.

◆ ActionData() [3/3]

QgsActionMenu::ActionData::ActionData ( QgsMapLayerAction action,
QgsFeatureId  featureId,
QgsMapLayer mapLayer 
)

Definition at line 181 of file qgsactionmenu.cpp.

Member Data Documentation

◆ actionData

QVariant QgsActionMenu::ActionData::actionData

Definition at line 61 of file qgsactionmenu.h.

◆ actionType

QgsActionMenu::ActionType QgsActionMenu::ActionData::actionType = Invalid

Definition at line 60 of file qgsactionmenu.h.

◆ featureId

QgsFeatureId QgsActionMenu::ActionData::featureId = 0

Definition at line 62 of file qgsactionmenu.h.

◆ mapLayer

QgsMapLayer* QgsActionMenu::ActionData::mapLayer = nullptr

Definition at line 63 of file qgsactionmenu.h.


The documentation for this struct was generated from the following files: