te::qt::af::evt::LayerPopUpAddAction Struct Reference

This event is used to add a action in a layer tree pop up. More...

#include <LayerEvents.h>

Inheritance diagram for te::qt::af::evt::LayerPopUpAddAction:
te::qt::af::evt::Event

Public Member Functions

 LayerPopUpAddAction (QAction *action, std::string itemType, int menuSelectionType)
 Construtor. More...
 

Public Attributes

QAction * m_action
 The action to be added in pop up menu. More...
 
int m_id
 Identifier. More...
 
std::string m_itemType
 The type of the selected item. More...
 
int m_menuSelectionType
 The selection type of the context menu. More...
 

Detailed Description

This event is used to add a action in a layer tree pop up.

Definition at line 277 of file LayerEvents.h.

Constructor & Destructor Documentation

◆ LayerPopUpAddAction()

te::qt::af::evt::LayerPopUpAddAction::LayerPopUpAddAction ( QAction *  action,
std::string  itemType,
int  menuSelectionType 
)
inline

Construtor.

Parameters
actionThe action to be added to the context menu.
itemTypeThe type of the selected item.
menuSelectionTypeThe selection type of the context menu

Definition at line 286 of file LayerEvents.h.

Member Data Documentation

◆ m_action

QAction* te::qt::af::evt::LayerPopUpAddAction::m_action

The action to be added in pop up menu.

Definition at line 294 of file LayerEvents.h.

◆ m_id

int te::qt::af::evt::Event::m_id
inherited

Identifier.

Definition at line 70 of file Event.h.

Referenced by te::qt::af::evt::Event::Event().

◆ m_itemType

std::string te::qt::af::evt::LayerPopUpAddAction::m_itemType

The type of the selected item.

Definition at line 295 of file LayerEvents.h.

◆ m_menuSelectionType

int te::qt::af::evt::LayerPopUpAddAction::m_menuSelectionType

The selection type of the context menu.

Definition at line 296 of file LayerEvents.h.


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