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"
148 LayerRemoved(
const std::list<te::map::AbstractLayerPtr>& layers,
const bool& redraw =
true)
A dataset is the unit of information manipulated by the data access module of TerraLib.
An Envelope defines a 2D rectangular region.
This is the base class for layers.
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
@ LAYER_VISIBILITY_CHANGED
@ LAYER_SELECTED_OBJECTS_CHANGED
@ LAYER_POPUP_REMOVE_ACTION
@ HIGHLIGHT_LAYER_OBJECTS
This file contains a class to represent an event.
A base class for application events.
std::list< te::map::AbstractLayerPtr > m_layers
This event is used to get a single layer selected in layer tree.
GetLayerSelected()
Construtor.
te::map::AbstractLayerPtr m_layer
Layer selected.
This event indicates that the objects of the given layer must be highlighted.
te::se::Style * m_style
The color used to highlight.
HighlightLayerObjects(te::map::AbstractLayerPtr layer, te::da::DataSet *dataset, te::se::Style *style)
Constructor.
te::map::AbstractLayerPtr m_layer
The layer whose objects must be highlighted.
te::da::DataSet * m_dataset
The dataset that represents the objects that must be highlighted.
This event signals that a new layer was created.
te::map::AbstractLayerPtr m_layer
The layer to be added.
te::map::AbstractLayerPtr m_parentLayer
The parent layer where the layer will be added.
LayerAdded(const te::map::AbstractLayerPtr &layer, const te::map::AbstractLayerPtr &parentLayer=te::map::AbstractLayerPtr())
Constructor.
te::map::AbstractLayer * m_layer
Layer selected.
LayerChanged(te::map::AbstractLayer *layer, bool redraw=false)
Construtor.
bool m_redraw
Flag used to indicate if has to redraw the layer.
LayerRemoved(const std::list< te::map::AbstractLayerPtr > &layers, const bool &redraw=true)
Constructor.
bool m_redraw
This flag is used to redraw layers after a layers was removed.
std::list< te::map::AbstractLayerPtr > m_layers
Layer removed.
This event indicates that the selected objects of the layer were changed.
LayerSelectedObjectsChanged(te::map::AbstractLayerPtr layer, te::gm::Envelope *e=0)
Constructor.
te::gm::Envelope * m_envelope
The box of the last selected object.
te::map::AbstractLayerPtr m_layer
Layer whose selected objects were changed.
This event indicates that the layer has been selected.
LayerSelected(te::map::AbstractLayerPtr layer)
Construtor.
te::map::AbstractLayerPtr m_layer
Pointer to the selected layer.
This event indicates that the layer style was selected on the layer explorer.
LayerStyleSelected(te::map::AbstractLayerPtr layer, te::se::Style *style, te::se::Rule *rule)
Construtor.
te::map::AbstractLayerPtr m_layer
Layer whose style was selected.
te::se::Rule * m_rule
Rule whose style was selected.
te::se::Style * m_style
Style selected (could be visual or selection style)
This event signals that the layer visibility has changed.
LayerVisibilityChanged()
Constructor.
This event signals that a list of layers have been created.
LayersAdded(const std::list< te::map::AbstractLayerPtr > layers, const te::map::AbstractLayerPtr &parentLayer=te::map::AbstractLayerPtr())
Constructor.
te::map::AbstractLayerPtr m_parentLayer
The parent layer where the layers will be added.
std::list< te::map::AbstractLayerPtr > m_layers
The layers to be added.
Enumerations of XML module.