QGIS API Documentation 3.39.0-Master (67e056379ed)
No Matches
Public Member Functions | Public Attributes | List of all members
QgsActionMenu::ActionData Struct Reference

#include <qgsactionmenu.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 44 of file qgsactionmenu.h.

Constructor & Destructor Documentation

◆ ActionData() [1/3]

QgsActionMenu::ActionData::ActionData ( )

Constructor for ActionData.

◆ ActionData() [2/3]

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

Definition at line 213 of file qgsactionmenu.cpp.

◆ ActionData() [3/3]

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

Definition at line 205 of file qgsactionmenu.cpp.

Member Data Documentation

◆ actionData

QVariant QgsActionMenu::ActionData::actionData

Definition at line 55 of file qgsactionmenu.h.

◆ actionType

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

Definition at line 54 of file qgsactionmenu.h.

◆ featureId

QgsFeatureId QgsActionMenu::ActionData::featureId = 0

Definition at line 56 of file qgsactionmenu.h.

◆ mapLayer

QgsMapLayer* QgsActionMenu::ActionData::mapLayer = nullptr

Definition at line 57 of file qgsactionmenu.h.

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