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::LayerTreeView * | m_ltv | 
| The layer tree view associated to this implementation.  More... | |
| std::list< tuple_type > | m_menus | 
| A list of information about context menus.  More... | |
LayerTreeView implementation.
Definition at line 52 of file LayerTreeView.cpp.
| typedef boost::tuple<QAction*, std::string, std::string, te::qt::widgets::LayerTreeView::ContextMenuSelectionType, bool> te::qt::widgets::LayerTreeView::Impl::tuple_type | 
Definition at line 56 of file LayerTreeView.cpp.
      
  | 
  inline | 
Definition at line 58 of file LayerTreeView.cpp.
      
  | 
  inline | 
Definition at line 63 of file LayerTreeView.cpp.
References m_menus.
      
  | 
  inline | 
Definition at line 71 of file LayerTreeView.cpp.
References m_menus.
      
  | 
  inline | 
Definition at line 90 of file LayerTreeView.cpp.
References te::qt::widgets::AbstractTreeItem::getItemType(), te::qt::widgets::AbstractTreeItem::getLayer(), te::qt::widgets::LayerTreeView::getSelectedItems(), m_ltv, m_menus, te::qt::widgets::LayerTreeView::MULTIPLE_ITEMS_SELECTED, te::qt::widgets::LayerTreeView::NO_ITEM_SELECTED, and te::qt::widgets::LayerTreeView::UNIQUE_ITEM_SELECTED.
      
  | 
  private | 
The layer tree view associated to this implementation.
Definition at line 245 of file LayerTreeView.cpp.
Referenced by showContextMenu().
      
  | 
  private | 
A list of information about context menus.
Definition at line 244 of file LayerTreeView.cpp.
Referenced by add(), remove(), and showContextMenu().