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 244 of file LayerEvents.h.

Constructor & Destructor Documentation

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 253 of file LayerEvents.h.

Member Data Documentation

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

The action to be added in pop up menu.

Definition at line 261 of file LayerEvents.h.

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().

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

The type of the selected item.

Definition at line 262 of file LayerEvents.h.

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

The selection type of the context menu.

Definition at line 263 of file LayerEvents.h.


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