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"
56 class EyeBirdMapDisplayWidget;
58 class ZoomInMapDisplayWidget;
63 class ApplicationController;
101 bool eventFilter(QObject* watched, QEvent* e);
108 void draw(
const std::list<te::map::AbstractLayerPtr>& layers);
126 void previousExtent();
128 void fit(
const std::list<te::map::AbstractLayerPtr>& layers);
132 void onCoordTracked(QPointF& coordinate);
134 void onDrawLayersFinished(
const QMap<QString, QString>& errors);
136 void onExtentChanged();
150 bool isPanToSelectedEnabled();
154 void drawLayersSelection(
const std::list<te::map::AbstractLayerPtr>& layers);
158 void drawDataSet(
te::da::DataSet* dataset,
const std::string& geomPropertyName,
int srid,
const QColor& color,
bool isLinked =
false);
160 void configSRS(
const std::list<te::map::AbstractLayerPtr>& layers);
162 std::list<te::map::AbstractLayerPtr> getSelectedLayer();
166 void hasNextExtent(
bool value);
168 void hasPreviousExtent(
bool value);
174 std::list<te::map::AbstractLayerPtr> getVisibleLayers();
195 #endif // __TERRALIB_QT_AF_CONNECTORS_INTERNAL_MAPDISPLAY_H
QPixmap m_lastDisplayContent
The last map display content. i.e. a "clean" pixmap.
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::widgets::AbstractTool * m_tool
Pointer to the current tool being used.
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.