All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::LayerTreeView::Impl Class Reference

LayerTreeView implementation. More...

Public Types

typedef boost::tuple< QAction
*, std::string, std::string,
te::qt::widgets::LayerTreeView::ContextMenuSelectionType,
bool > 
tuple_type
 

Public Member Functions

void add (QAction *action, const std::string &menu, const std::string &layerType, te::qt::widgets::LayerTreeView::ContextMenuSelectionType menuSelectionType)
 
 Impl (te::qt::widgets::LayerTreeView *ltv)
 
void remove (QAction *action)
 
void showContextMenu (const QPoint &pos)
 

Private Attributes

te::qt::widgets::LayerTreeViewm_ltv
 The layer tree view associated to this implementation. More...
 
std::list< tuple_typem_menus
 A list of information about context menus. More...
 

Detailed Description

LayerTreeView implementation.

Definition at line 52 of file LayerTreeView.cpp.

Member Typedef Documentation

Definition at line 56 of file LayerTreeView.cpp.

Constructor & Destructor Documentation

te::qt::widgets::LayerTreeView::Impl::Impl ( te::qt::widgets::LayerTreeView ltv)
inline

Definition at line 58 of file LayerTreeView.cpp.

Member Function Documentation

void te::qt::widgets::LayerTreeView::Impl::add ( QAction *  action,
const std::string &  menu,
const std::string &  layerType,
te::qt::widgets::LayerTreeView::ContextMenuSelectionType  menuSelectionType 
)
inline

Definition at line 63 of file LayerTreeView.cpp.

References m_menus.

void te::qt::widgets::LayerTreeView::Impl::remove ( QAction *  action)
inline

Definition at line 71 of file LayerTreeView.cpp.

References m_menus.

Member Data Documentation

te::qt::widgets::LayerTreeView* te::qt::widgets::LayerTreeView::Impl::m_ltv
private

The layer tree view associated to this implementation.

Definition at line 245 of file LayerTreeView.cpp.

Referenced by showContextMenu().

std::list<tuple_type> te::qt::widgets::LayerTreeView::Impl::m_menus
private

A list of information about context menus.

Definition at line 244 of file LayerTreeView.cpp.

Referenced by add(), remove(), and showContextMenu().


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