All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 249 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 258 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 266 of file LayerEvents.h.

Referenced by te::qt::af::LayerExplorer::onApplicationTriggered().

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

The type of the selected item.

Definition at line 267 of file LayerEvents.h.

Referenced by te::qt::af::LayerExplorer::onApplicationTriggered().

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

The selection type of the context menu.

Definition at line 268 of file LayerEvents.h.

Referenced by te::qt::af::LayerExplorer::onApplicationTriggered().


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