26 #ifndef __TERRALIB_QT_AF_CONNECTORS_INTERNAL_MAPDISPLAY_H
27 #define __TERRALIB_QT_AF_CONNECTORS_INTERNAL_MAPDISPLAY_H
31 #include "../../../maptools/AbstractLayer.h"
33 #include "../Config.h"
57 class EyeBirdMapDisplayWidget;
59 class ZoomInMapDisplayWidget;
64 class ApplicationController;
102 bool eventFilter(QObject* watched, QEvent* e);
109 void draw(
const std::list<te::map::AbstractLayerPtr>& layers);
116 void previousExtent();
118 void fit(
const std::list<te::map::AbstractLayerPtr>& layers);
122 void onCoordTracked(QPointF& coordinate);
124 void onDrawLayersFinished(
const QMap<QString, QString>& errors);
126 void onExtentChanged();
140 bool isPanToSelectedEnabled();
144 void drawLayersSelection(
const std::list<te::map::AbstractLayerPtr>& layers);
148 void drawDataSet(
te::da::DataSet* dataset,
const std::string& geomPropertyName,
int srid,
const QColor& color,
bool isLinked =
false);
152 void configSRS(
const std::list<te::map::AbstractLayerPtr>& layers);
154 std::list<te::map::AbstractLayerPtr> getSelectedLayer();
158 void hasNextExtent(
bool value);
160 void hasPreviousExtent(
bool value);
166 std::list<te::map::AbstractLayerPtr> getVisibleLayers();
186 #endif // __TERRALIB_QT_AF_CONNECTORS_INTERNAL_MAPDISPLAY_H
QPixmap m_lastDisplayContent
The last map display content. i.e. a "clean" pixmap.
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
te::qt::widgets::EyeBirdMapDisplayWidget * m_eyeBirdDisplay
Pointer to a component that represents a eye bird display.
int m_extentStackMaxSize
The max size of the extent stack. Used on previousExtent and nextExtent.
A base class for application events.
QMenu * m_menu
The map display popup menu.
std::vector< te::gm::Envelope > m_extentStack
The stack of MapDisplay extents.
The base API for TerraLib applications.
A connector of the te::qt::widgets::MapDisplay class to the Application Framework.
te::qt::widgets::ZoomInMapDisplayWidget * m_zoomInDisplay
Pointer to a component that represents a zoom in display.
QAction * m_pantoSelectedAction
Action to enable / disable pan to selected operation.
te::qt::af::ApplicationController * m_app
Pointer to applicatin controller;.
int m_currentExtentIndex
The current extent index.
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
A dataset is the unit of information manipulated by the data access module of TerraLib.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
te::qt::widgets::MapDisplay * m_display
Pointer to a component te::qt::widgets::MapDisplay.