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"
315 #endif //__TERRALIB_QT_AF_EVENTS_INTERNAL_LAYEREVENTS_H
This event signals that a new layer was created.
LayerSelectedObjectsChanged(te::map::AbstractLayerPtr layer, te::gm::Envelope *e=0)
Constructor.
te::map::AbstractLayerPtr m_layer
Layer selected.
This event is used to get a single layer selected in layer tree.
te::map::AbstractLayerPtr m_layer
Layer whose selected objects were changed.
A base class for application events.
This event indicates that the objects of the given layer must be highlighted.
te::map::AbstractLayerPtr m_layer
Pointer to the selected layer.
This event indicates that the selected objects of the layer were changed.
This event indicates that the layer style was selected on the layer explorer.
HighlightLayerObjects(te::map::AbstractLayerPtr layer, te::da::DataSet *dataset, const QColor &color)
Constructor.
te::map::Visibility m_visibility
Layer visibility.
This event indicates that the layer has been selected.
te::map::AbstractLayerPtr m_parentLayer
The parent layer where the layer will be added.
An Envelope defines a 2D rectangular region.
LayerVisibilityChanged(te::map::AbstractLayerPtr layer, te::map::Visibility visibility)
Constructor.
This event signals that the layer visibility has changed.
LayerRemoved(te::map::AbstractLayerPtr layer)
Constructor.
ItemOfLayerRemoved(te::qt::widgets::AbstractTreeItem *item)
Constructor.
GetLayerSelected()
Construtor.
This event signals that a item belonging to a layer will be removed from the layer explorer...
te::map::AbstractLayerPtr m_layer
Layer whose visibility has changed.
LayerSelected(te::map::AbstractLayerPtr layer)
Construtor.
A dataset is the unit of information manipulated by the data access module of TerraLib.
te::map::AbstractLayerPtr m_layer
Layer removed.
te::da::DataSet * m_dataset
The dataset that represents the objects that must be highlighted.
LayerStyleSelected(te::map::AbstractLayerPtr layer)
Construtor.
This event signals that a layer is to be removed from the layer explorer.
QColor m_color
The color used to highlight.
te::map::AbstractLayerPtr m_layer
Tha layer to be added.
Visibility
Each layer can have three states of visibility.
te::gm::Envelope * m_envelope
The box of the last selected object.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
te::qt::widgets::AbstractTreeItem * m_item
Item of the layer to be removed.
LayerAdded(const te::map::AbstractLayerPtr &layer, const te::map::AbstractLayerPtr &parentLayer=te::map::AbstractLayerPtr())
Constructor.
te::map::AbstractLayerPtr m_layer
The layer whose objects must be highlighted.
te::map::AbstractLayerPtr m_layer
Layer whose style was selected.