26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_PANEXTENT_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_PANEXTENT_H
30 #include "../../../geometry/Envelope.h"
31 #include "../Config.h"
35 #include <QtGui/QPainterPath>
74 PanExtent(
MapDisplay* display,
const QCursor& cursor,
const QCursor& actionCursor = Qt::BlankCursor, QObject* parent = 0);
86 bool mousePressEvent(QMouseEvent* e);
88 bool mouseMoveEvent(QMouseEvent* e);
90 bool mouseReleaseEvent(QMouseEvent* e);
96 void drawCurrentExtent();
119 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_PANEXTENT_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class defines an interface for objects that can receive application events and respond to them...
QBrush m_brush
The brush used to draw the path.
This class implements a concrete tool to pan a user defined extent.
A widget to control the display of a set of layers.
QPen m_pen
The pen used to draw the path.
QCursor m_actionCursor
An optional cursor to be used during the pan user action.
bool m_panStarted
Flag that indicates if pan operation was started.
An Envelope defines a 2D rectangular region.
te::gm::Envelope m_currentExtent