QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsActionMenu::ActionData Struct Reference

#include <qgsactionmenu.h>

Public Member Functions

 ActionData ()=default
 
 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 43 of file qgsactionmenu.h.

Constructor & Destructor Documentation

◆ ActionData() [1/3]

QgsActionMenu::ActionData::ActionData ( )
default

◆ ActionData() [2/3]

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

Definition at line 214 of file qgsactionmenu.cpp.

◆ ActionData() [3/3]

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

Definition at line 206 of file qgsactionmenu.cpp.

Member Data Documentation

◆ actionData

QVariant QgsActionMenu::ActionData::actionData

Definition at line 50 of file qgsactionmenu.h.

◆ actionType

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

Definition at line 49 of file qgsactionmenu.h.

◆ featureId

QgsFeatureId QgsActionMenu::ActionData::featureId = 0

Definition at line 51 of file qgsactionmenu.h.

◆ mapLayer

QgsMapLayer* QgsActionMenu::ActionData::mapLayer = nullptr

Definition at line 52 of file qgsactionmenu.h.


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