26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_MEASURE_H 27 #define __TERRALIB_QT_WIDGETS_INTERNAL_MEASURE_H 30 #include "../../../geometry/Coord2D.h" 31 #include "../Config.h" 36 #include <QPainterPath> 109 bool mousePressEvent(QMouseEvent* e);
111 bool mouseMoveEvent(QMouseEvent* e);
113 bool mouseReleaseEvent(QMouseEvent* e);
115 bool mouseDoubleClickEvent(QMouseEvent* e);
123 void drawLine(
Canvas& canvas);
125 void drawPolygon(
Canvas& canvas);
137 void onExtentChanged();
154 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_MEASURE_H
An utility struct for representing 2D coordinates.
LineString is a curve with linear interpolation between points.
A point with x and y coordinate values.