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);
117 bool keyPressEvent(QKeyEvent* e);
125 void drawLine(
Canvas& canvas);
127 void drawPolygon(
Canvas& canvas);
139 void onExtentChanged();
156 #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.