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"
35 #include <QtGui/QColor>
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
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
bool m_selectionByPointing
Flag that indicates if the selection is by pointing.
bool m_selectionStarted
Flag that indicates if selection operation was started.
std::list< te::map::AbstractLayerPtr > m_layers
The layer list that will be selected.
This class implements a concrete tool to select layer features using an extent.
A widget to control the display of a set of layers.
This is a utility class tool that provides a rectangle that can indicate a boundary.
bool m_keepPreviousSelection
Flag that indicates if the tool must keep the previous selection.
This class provides a rectangle that can indicate a boundary.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
An Envelope defines a 2D rectangular region.