26#ifndef __TERRALIB_QT_AF_EVENTS_INTERNAL_LAYEREVENTS_H
27#define __TERRALIB_QT_AF_EVENTS_INTERNAL_LAYEREVENTS_H
148 LayerRemoved(
const std::list<te::map::AbstractLayerPtr>& layers,
const bool& redraw =
true)
This is the base class for Layers.
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...
Namespace for the DataAccess API of TerraLib.
Namespace for the Vector Geometry module of TerraLib.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
@ LAYER_VISIBILITY_CHANGED
@ LAYER_SELECTED_OBJECTS_CHANGED
@ LAYER_POPUP_REMOVE_ACTION
@ HIGHLIGHT_LAYER_OBJECTS
Namespace for the Qt Application Framework module of TerraLib.
Namespace for the Qt module of TerraLib.
Namespace for the Symbology Encoding module of TerraLib.
Enumerations for the TerraLib Application Framework.
Default events used with application framework.
Event(const int &id)
Constructor.
std::list< te::map::AbstractLayerPtr > m_layers
GetLayerSelected()
Construtor.
te::map::AbstractLayerPtr m_layer
Layer selected.
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.
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.
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.
LayerSelected(te::map::AbstractLayerPtr layer)
Construtor.
te::map::AbstractLayerPtr m_layer
Pointer to the selected layer.
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)
LayerVisibilityChanged()
Constructor.
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.