19 #ifndef QGSMAPOVERVIEWCANVAS_H 20 #define QGSMAPOVERVIEWCANVAS_H 23 #include <QMouseEvent> 24 #include <QWheelEvent> 26 #include <QStringList> 30 class QgsPanningWidget;
61 void updateFullExtent();
67 void drawExtentRect();
70 void hasCrsTransformEnabled(
bool flag );
73 void destinationSrsChanged();
76 void mapRenderingFinished();
77 void layerRepaintRequested();
100 void updatePanningWidget(
QPoint pos );
124 class QgsPanningWidget :
public QWidget 131 explicit QgsPanningWidget(
QWidget* parent );
133 void setPolygon(
const QPolygon& p );
QPoint mPanningCursorOffset
position of cursor inside panning widget
A rectangle specified with double values.
A widget that displays an overview map.
QgsMapCanvas * mMapCanvas
main map canvas - used to get/set extent
QgsMapRendererQImageJob * mJob
for rendering overview
Map canvas is a class for displaying all GIS data types on a canvas.
The QgsMapSettings class contains configuration for rendering of the map.
void enableAntiAliasing(bool flag)
QgsPanningWidget * mPanningWidget
widget for panning map in overview
QgsMapSettings mSettings
map settings used for rendering of the overview map
Enable anti-aliasing for map rendering.
QPixmap mPixmap
pixmap where the map is stored
Intermediate base class adding functionality that allows client to query the rendered image...