26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_ZOOM_H 27 #define __TERRALIB_QT_WIDGETS_INTERNAL_ZOOM_H 30 #include "../Config.h" 76 Zoom(
MapDisplay* display,
const double& zoomFactor = 2.0,
const ZoomType& type = In, QObject* parent = 0);
83 virtual bool mousePressEvent(QMouseEvent* e);
85 virtual bool mouseMoveEvent(QMouseEvent* e);
87 virtual bool mouseReleaseEvent(QMouseEvent* e);
96 void setZoomType(
const ZoomType& type);
106 void applyZoom(
const QPointF& point = QPointF(),
bool centralize =
true);
118 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_ZOOM_H