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" 58 class EyeBirdMapDisplayWidget;
61 class ZoomInMapDisplayWidget;
67 class ApplicationController;
105 bool eventFilter(QObject* watched, QEvent* e);
112 void draw(
const std::list<te::map::AbstractLayerPtr>& layers);
119 void previousExtent();
121 void fit(
const std::list<te::map::AbstractLayerPtr>& layers);
123 void pan(
const std::list<te::map::AbstractLayerPtr>& layers);
127 void onCoordTracked(QPointF& coordinate);
129 void onCoordLLTracked(QPointF& coordinate, QPointF& llCoordinate);
131 void onDrawLayersFinished(
const QMap<QString, QString>& errors);
133 void onExtentChanged();
147 bool isPanToSelectedEnabled();
151 void drawLayersSelection(
const std::list<te::map::AbstractLayerPtr>& layers);
155 void drawDataSet(
te::da::DataSet* dataset,
const std::string& geomPropertyName,
int srid,
const QColor& color,
bool isLinked =
false);
159 void configSRS(
const std::list<te::map::AbstractLayerPtr>& layers);
161 std::list<te::map::AbstractLayerPtr> getSelectedLayer();
165 void hasNextExtent(
bool value);
167 void hasPreviousExtent(
bool value);
173 std::list<te::map::AbstractLayerPtr> getVisibleLayers();
199 #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::ZoomWheel * m_zoomWheel
Tool for zoom using the wheel mouse button.
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::CoordTracking * m_coordTracking
Tool for tracking mouse position.
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.
bool m_autoPanEnabled
Define if auto pan is enabled.
te::qt::widgets::PanMiddleClick * m_pan
Tool for pan using the middle mouse button.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
te::qt::widgets::MapDisplay * m_display
Pointer to a component te::qt::widgets::MapDisplay.