A connector for the te::qt::widgets::LayerExplorer class to the Application Framework. More...
#include <LayerExplorer.h>
Signals | |
| void | triggered (te::qt::af::evt::Event *e) |
Public Member Functions | |
| te::qt::widgets::LayerItemView * | getExplorer () 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::LayerItemView * | m_explorer |
| Pointer to a component te::qt::widgets::LayerExplorer. More... | |
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.
| te::qt::af::LayerExplorer::LayerExplorer | ( | te::qt::widgets::LayerItemView * | explorer, |
| QObject * | parent = 0 |
||
| ) |
Constructor.
| explorer | te::qt::widgets::LayerExplorer to be listened. |
Definition at line 71 of file LayerExplorer.cpp.
References m_explorer, onLayerOrderChanged(), onLayerVisibilityChanged(), onRuleItemDoubleClicked(), onSelectedLayersChanged(), onStyleItemDoubleClicked(), onStyleVisibilityChanged(), onTreeItemDoubleClicked(), and ~LayerExplorer().
|
default |
Destructor.
Referenced by LayerExplorer().
| te::qt::widgets::LayerItemView * te::qt::af::LayerExplorer::getExplorer | ( | ) | const |
Definition at line 88 of file LayerExplorer.cpp.
References m_explorer.
Referenced by TerraView::addPopUpMenu(), te::qt::af::BaseApplication::init(), TerraView::onAddQueryLayerTriggered(), TerraView::onAddTabularLayerTriggered(), te::qt::af::BaseApplication::onInfoToggled(), and te::qt::af::BaseApplication::onSelectionToggled().
|
protectedslot |
Listener to the application framewrork events.
| evt | An event sent by framework. |
Definition at line 93 of file LayerExplorer.cpp.
References te::qt::widgets::LayerItemView::addLayers(), te::qt::widgets::LayerItemView::addRasterLayerAction(), te::qt::af::evt::GET_AVAILABLE_LAYERS, te::qt::af::evt::GET_LAYER_SELECTED, te::qt::af::evt::GET_LAYERS_VIEW, GetAvailableLayers(), GetSelectedLayers(), te::qt::widgets::TreeItem::getType(), te::qt::af::evt::ITEM_OF_LAYER_REMOVED, te::qt::af::evt::LAYER_ADDED, te::qt::af::evt::LAYER_POPUP_ADD_ACTION, te::qt::af::evt::LAYER_POPUP_REMOVE_ACTION, te::qt::af::evt::LAYERS_ADDED, te::qt::af::evt::LayerPopUpAddAction::m_action, te::qt::af::evt::LayerPopUpRemoveAction::m_action, m_explorer, te::qt::af::evt::Event::m_id, te::qt::af::evt::LayerPopUpAddAction::m_itemType, te::qt::af::evt::LayerAdded::m_layer, te::qt::af::evt::GetLayerSelected::m_layer, te::qt::af::evt::GetLayerExplorer::m_layerExplorer, te::qt::af::evt::LayersAdded::m_layers, te::qt::af::evt::GetAvailableLayers::m_layers, and te::qt::af::evt::PROJECT_ADDED.
|
protectedslot |
Definition at line 236 of file LayerExplorer.cpp.
Referenced by LayerExplorer().
|
protectedslot |
Definition at line 224 of file LayerExplorer.cpp.
References triggered().
Referenced by LayerExplorer().
|
protectedslot |
Definition at line 254 of file LayerExplorer.cpp.
References triggered().
Referenced by LayerExplorer().
|
protectedslot |
It indicates whenever there are changes in the selection of layers in the layer explorer.
| selectedLayers | The new list of selected layers. |
Definition at line 211 of file LayerExplorer.cpp.
References triggered().
Referenced by LayerExplorer().
|
protectedslot |
Definition at line 248 of file LayerExplorer.cpp.
References triggered().
Referenced by LayerExplorer().
|
protectedslot |
Definition at line 230 of file LayerExplorer.cpp.
References triggered().
Referenced by LayerExplorer().
|
protectedslot |
Definition at line 242 of file LayerExplorer.cpp.
Referenced by LayerExplorer().
|
signal |
|
protected |
Pointer to a component te::qt::widgets::LayerExplorer.
Definition at line 127 of file LayerExplorer.h.
Referenced by getExplorer(), LayerExplorer(), and onApplicationTriggered().