26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_ROTOOLSWIDGET_H 27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_ROTOOLSWIDGET_H 30 #include "../../../geometry/Envelope.h" 32 #include "../../../geometry/Polygon.h" 33 #include "../../../maptools/AbstractLayer.h" 35 #include "../../../maptools/Enums.h" 36 #include "../Config.h" 44 #include <qactiongroup.h> 46 namespace Ui {
class RpToolsWidgetForm; }
50 namespace gm {
class Envelope; }
51 namespace rst {
class Raster; }
84 void setActionGroup(QActionGroup* actionGroup);
86 void hideEditionTools(
bool hide);
88 void enablePickerAction();
90 void enableGeomAction();
92 void enableBoxAction();
94 void setPickerTool(
bool checked);
96 void setGeomTool(
bool checked);
98 void setEnvelopeTool(
bool checked);
100 void setSelectionMode(
bool mode);
102 void onDisableToolbar();
110 void onPointPicked(QPointF& point);
112 void onPointPickerToggled(
bool checked);
114 void onGeomToggled(
bool checked);
116 void onBoxToggled(
bool checked);
120 void pointPicked(
double x,
double y);
128 std::unique_ptr<Ui::RpToolsWidgetForm>
m_ui;
147 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_ROTOOLSWIDGET_H
An Envelope defines a 2D rectangular region.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.