26 #ifndef __TERRALIB_QT_AF_EVENTS_INTERNAL_LAYEREVENTS_H
27 #define __TERRALIB_QT_AF_EVENTS_INTERNAL_LAYEREVENTS_H
29 #include "../../../maptools/Enums.h"
30 #include "../../../maptools/AbstractLayer.h"
31 #include "../../widgets/layer/explorer/AbstractTreeItem.h"
36 #include <QtGui/QAction>
37 #include <QtGui/QColor>
308 #endif //__TERRALIB_QT_AF_EVENTS_INTERNAL_LAYEREVENTS_H
te::map::AbstractLayerPtr m_layer
Pointer to the selected layer.
te::map::AbstractLayerPtr m_layer
Layer whose style was selected.
LayerSelectedObjectsChanged(te::map::AbstractLayerPtr layer)
Constructor.
This event is used to add a action in a layer tree pop up.
te::map::AbstractLayerPtr m_layer
Tha layer to be added.
te::map::AbstractLayerPtr m_layer
Layer selected.
This event indicates that the layer has been selected.
QAction * m_action
Action to be removed in the pop up menu.
LayerSelected(te::map::AbstractLayerPtr layer)
Construtor.
This event is used to get a single layer selected in layer tree.
Visibility
Each layer can have three states of visibility.
te::map::AbstractLayerPtr m_layer
Layer whose selected objects were changed.
This event signals that the layer visibility has changed.
QColor m_color
The color used to highlight.
HighlightLayerObjects(te::map::AbstractLayerPtr layer, te::da::DataSet *dataset, const QColor &color)
Constructor.
te::map::AbstractLayerPtr m_parentLayer
The parent layer where the layer will be added.
This event indicates that the objects of the given layer must be highlighted.
LayerPopUpRemoveAction(QAction *action)
Construtor.
This event signals that a new layer was created.
te::da::DataSet * m_dataset
The dataset that represents the objects that must be highlighted.
int m_menuSelectionType
The selection type of the context menu.
GetLayerSelected()
Construtor.
te::map::AbstractLayerPtr m_layer
Layer removed.
This event indicates that the layer style was selected on the layer explorer.
te::map::Visibility m_visibility
Layer visibility.
te::qt::widgets::AbstractTreeItem * m_item
Item of the layer to be removed.
The class that represents an item in a LayerTreeModel.
This event signals that a item belonging to a layer will be removed from the layer explorer...
te::map::AbstractLayerPtr m_layer
The layer whose objects must be highlighted.
This event is used to remove a action in a layer tree pop up.
te::map::AbstractLayerPtr m_layer
Layer whose visibility has changed.
ItemOfLayerRemoved(te::qt::widgets::AbstractTreeItem *item)
Constructor.
std::string m_itemType
The type of the selected item.
A base class for application events.
This event signals that a layer is to be removed from the layer explorer.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
LayerRemoved(te::map::AbstractLayerPtr layer)
Constructor.
This event indicates that the selected objects of the layer were changed.
QAction * m_action
The action to be added in pop up menu.
LayerPopUpAddAction(QAction *action, std::string itemType, int menuSelectionType)
Construtor.
LayerStyleSelected(te::map::AbstractLayerPtr layer)
Construtor.
A dataset is the unit of information manipulated by the data access module of TerraLib.
LayerVisibilityChanged(te::map::AbstractLayerPtr layer, te::map::Visibility visibility)
Constructor.