26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_DATA_FRAME_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_DATA_FRAME_H
30 #include "../Config.h"
31 #include "../canvas/MultiThreadMapDisplay.h"
50 class GeographicGridFrame;
52 class GraphicScaleFrame;
73 void setDataRect(QRectF& r);
75 void adjustWidgetToFrameRect(
const QRectF& r);
77 void setScale(
double v);
78 void sendEventToChildren(
bool);
79 bool eventFilter(QObject*, QEvent*);
83 double getDataUnitToMilimeter();
88 void getSelectionPoint(
const QPoint& p);
89 QPoint getCenterSelected();
90 void verifyConstraints();
91 void showSelectionPoints();
92 void hideSelectionPoints();
93 void toolTip(
const QPoint&,
const QString&);
94 QPoint getGlobalPositionCenter();
95 void setDataChanged(
bool);
96 void drawButtonClicked();
97 QPixmap* getLastDisplayContent();
99 void setMagneticDeclination(
double angle);
100 double getMagneticDeclination();
105 void createUTMGrid();
106 void removeUTMGrid();
107 void createGeographicGrid();
108 void removeGeographicGrid();
109 void createGraphicScale();
110 void removeGraphicScale();
111 void magneticDeclination();
120 void setSelectionColor(QColor selColor);
121 void drawLayerSelection();
124 void onDrawLayersFinished(
const QMap<QString, QString>& errors);
160 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_DATA_FRAME_H
This is the base class for layers.
An Envelope defines a 2D rectangular region.
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr