26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_SELECTION_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_SELECTION_H
30 #include "../../../maptools/AbstractLayer.h"
31 #include "../Config.h"
84 Selection(
MapDisplay* display,
const QCursor& cursor,
const std::list<te::map::AbstractLayerPtr>& layers, QObject* parent = 0);
96 bool mousePressEvent(QMouseEvent* e);
98 bool mouseMoveEvent(QMouseEvent* e);
100 bool mouseReleaseEvent(QMouseEvent* e);
106 void setLayers(
const std::list<te::map::AbstractLayerPtr>& layers);
129 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_SELECTION_H
This is a utility class tool that provides a rectangle that can indicate a boundary.
An Envelope defines a 2D rectangular region.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr