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; }
93 void removeVectorial();
97 void setActionGroup(QActionGroup* actionGroup);
99 void hideEditionTools(
bool hide);
101 void enablePickerAction();
103 void enableGeomAction();
105 void enableBoxAction();
107 void setPickerTool(
bool checked);
109 void setGeomTool(
bool checked);
111 void setEnvelopeTool(
bool checked);
113 void setSelectionMode(
bool mode);
115 void onDisableToolbar();
123 void onPointPicked(QPointF& point);
125 void onMapDisplayExtentChanged();
127 void onPointPickerToggled(
bool checked);
129 void onGeomToggled(
bool checked);
131 void onBoxToggled(
bool checked);
135 void mapDisplayExtentChanged();
137 void pointPicked(
double x,
double y);
145 std::auto_ptr<Ui::RpToolsWidgetForm>
m_ui;
168 #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.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr