26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_PAN_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_PAN_H
30 #include "../Config.h"
69 Pan(
MapDisplay* display,
const QCursor& cursor,
const QCursor& actionCursor = Qt::BlankCursor, QObject* parent = 0);
81 bool mousePressEvent(QMouseEvent* e);
83 bool mouseMoveEvent(QMouseEvent* e);
85 bool mouseReleaseEvent(QMouseEvent* e);
102 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_PAN_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
QPoint m_origin
Origin point on mouse pressed.
This class defines an interface for objects that can receive application events and respond to them...
This class implements a concrete tool to geographic pan operation.
bool m_panStarted
Flag that indicates if pan operation was started.
QCursor m_actionCursor
An optional cursor to be used during the pan user action.
A widget to control the display of a set of layers.
QPoint m_delta
Difference between pressed point and destination point on mouse move.