26 #ifndef __TERRALIB_QT_AF_CONNECTORS_INTERNAL_MAPDISPLAY_H
27 #define __TERRALIB_QT_AF_CONNECTORS_INTERNAL_MAPDISPLAY_H
30 #include "../../../maptools/AbstractLayer.h"
31 #include "../Config.h"
34 #include <QtCore/QObject>
35 #include <QtCore/QPoint>
36 #include <QtCore/QString>
37 #include <QtCore/QMap>
38 #include <QtGui/QColor>
39 #include <QtGui/QMenu>
40 #include <QtGui/QPixmap>
54 class EyeBirdMapDisplayWidget;
56 class ZoomInMapDisplayWidget;
97 bool eventFilter(QObject* watched, QEvent* e);
104 void draw(
const std::list<te::map::AbstractLayerPtr>& layers);
120 void previousExtent();
122 void fit(
const std::list<te::map::AbstractLayerPtr>& layers);
126 void onCoordTracked(QPointF& coordinate);
128 void onDrawLayersFinished(
const QMap<QString, QString>& errors);
130 void onExtentChanged();
141 void drawLayersSelection(
const std::list<te::map::AbstractLayerPtr>& layers);
145 void drawDataSet(
te::da::DataSet* dataset,
int srid,
const QColor& color);
147 void configSRS(
const std::list<te::map::AbstractLayerPtr>& layers);
151 void hasNextExtent(
bool value);
153 void hasPreviousExtent(
bool value);
172 #endif // __TERRALIB_QT_AF_CONNECTORS_INTERNAL_MAPDISPLAY_H
te::qt::widgets::ZoomInMapDisplayWidget * m_zoomInDisplay
Pointer to a component that represents a zoom in display.
te::qt::widgets::EyeBirdMapDisplayWidget * m_eyeBirdDisplay
Pointer to a component that represents a eye bird display.
te::qt::widgets::AbstractTool * m_tool
Pointer to the current tool being used.
QMenu * m_menu
The map display popup menu.
This class defines an interface for objects that can receive application events and respond to them...
te::qt::widgets::MapDisplay * m_display
Pointer to a component te::qt::widgets::MapDisplay.
This class defines the map display ZoomIn, this component is only a specific map that shows the curre...
std::vector< te::gm::Envelope > m_extentStack
The stack of MapDisplay extents.
QPixmap m_lastDisplayContent
The last map display content. i.e. a "clean" pixmap.
int m_currentExtentIndex
The current extent index.
A widget to control the display of a set of layers.
int m_extentStackMaxSize
The max size of the extent stack. Used on previousExtent and nextExtent.
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
A base class for application events.
A connector of the te::qt::widgets::MapDisplay class to the Application Framework.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
This class defines the map display EyeBird, this component is only a specific map that shows the orig...
A dataset is the unit of information manipulated by the data access module of TerraLib.