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"
35 #include <QtCore/QRect>
36 #include <QtCore/QRectF>
37 #include <QtGui/QPixmap>
38 #include <QtGui/QWidget>
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
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
QAction * m_removeGraphicScaleAction
This is the base class for layers.
te::map::AbstractLayer * m_data
te::qt::widgets::UTMGridFrame * m_UTMGridFrame
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib.
te::qt::widgets::MultiThreadMapDisplay * m_mapDisplay
QPixmap m_lastDisplayContent
QAction * m_createGraphicScaleAction
double m_dataUnitToMilimeter
QAction * m_removeGeographicGridAction
QAction * m_removeUTMGridAction
A multi thread Qt4 widget to control the display of a set of layers.
std::list< te::map::AbstractLayerPtr > m_visibleLayers
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
te::qt::widgets::GraphicScaleFrame * m_graphicScaleFrame
QAction * m_createGeographicGridAction
An Envelope defines a 2D rectangular region.
QAction * m_magneticDeclinationAction
te::qt::widgets::GeographicGridFrame * m_geoGridFrame
QAction * m_createUTMGridAction