te::qt::af::LayerExplorer Class Reference

A connector for the te::qt::widgets::LayerExplorer class to the Application Framework. More...

#include <LayerExplorer.h>

Inheritance diagram for te::qt::af::LayerExplorer:
QObject

Signals

void triggered (te::qt::af::evt::Event *e)
 

Public Member Functions

te::qt::widgets::LayerItemViewgetExplorer () const
 
 LayerExplorer (te::qt::widgets::LayerItemView *explorer, QObject *parent=0)
 Constructor. More...
 
 ~LayerExplorer ()
 Destructor. More...
 

Protected Slots

void onApplicationTriggered (te::qt::af::evt::Event *evt)
 Listener to the application framewrork events. More...
 
void onLayerOrderChanged ()
 
void onLayerVisibilityChanged ()
 
void onRuleItemDoubleClicked (te::map::AbstractLayerPtr layer, te::se::Rule *rule)
 
void onSelectedLayersChanged (const std::list< te::map::AbstractLayerPtr > &selectedLayers)
 It indicates whenever there are changes in the selection of layers in the layer explorer. More...
 
void onStyleItemDoubleClicked (te::map::AbstractLayerPtr layer)
 
void onStyleVisibilityChanged (te::map::AbstractLayerPtr layer)
 
void onTreeItemDoubleClicked (te::map::AbstractLayerPtr layer)
 

Protected Attributes

te::qt::widgets::LayerItemViewm_explorer
 Pointer to a component te::qt::widgets::LayerExplorer. More...
 

Detailed Description

A connector for the te::qt::widgets::LayerExplorer class to the Application Framework.

It is used to listen events sent by the application framework. It is a proxy for the te::qt::widgets::LayerExplorer.

Definition at line 75 of file LayerExplorer.h.

Constructor & Destructor Documentation

te::qt::af::LayerExplorer::LayerExplorer ( te::qt::widgets::LayerItemView explorer,
QObject parent = 0 
)
te::qt::af::LayerExplorer::~LayerExplorer ( )
default

Destructor.

Referenced by LayerExplorer().

Member Function Documentation

void te::qt::af::LayerExplorer::onLayerOrderChanged ( )
protectedslot

Definition at line 236 of file LayerExplorer.cpp.

Referenced by LayerExplorer().

void te::qt::af::LayerExplorer::onLayerVisibilityChanged ( )
protectedslot

Definition at line 224 of file LayerExplorer.cpp.

References triggered().

Referenced by LayerExplorer().

void te::qt::af::LayerExplorer::onRuleItemDoubleClicked ( te::map::AbstractLayerPtr  layer,
te::se::Rule rule 
)
protectedslot

Definition at line 254 of file LayerExplorer.cpp.

References triggered().

Referenced by LayerExplorer().

void te::qt::af::LayerExplorer::onSelectedLayersChanged ( const std::list< te::map::AbstractLayerPtr > &  selectedLayers)
protectedslot

It indicates whenever there are changes in the selection of layers in the layer explorer.

Parameters
selectedLayersThe new list of selected layers.

Definition at line 211 of file LayerExplorer.cpp.

References triggered().

Referenced by LayerExplorer().

void te::qt::af::LayerExplorer::onStyleItemDoubleClicked ( te::map::AbstractLayerPtr  layer)
protectedslot

Definition at line 248 of file LayerExplorer.cpp.

References triggered().

Referenced by LayerExplorer().

void te::qt::af::LayerExplorer::onStyleVisibilityChanged ( te::map::AbstractLayerPtr  layer)
protectedslot

Definition at line 230 of file LayerExplorer.cpp.

References triggered().

Referenced by LayerExplorer().

void te::qt::af::LayerExplorer::onTreeItemDoubleClicked ( te::map::AbstractLayerPtr  layer)
protectedslot

Definition at line 242 of file LayerExplorer.cpp.

Referenced by LayerExplorer().

Member Data Documentation

te::qt::widgets::LayerItemView* te::qt::af::LayerExplorer::m_explorer
protected

Pointer to a component te::qt::widgets::LayerExplorer.

Definition at line 127 of file LayerExplorer.h.

Referenced by getExplorer(), LayerExplorer(), and onApplicationTriggered().


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