19 #ifndef QGSMAPOVERVIEWCANVAS_H
20 #define QGSMAPOVERVIEWCANVAS_H
23 #include <QMouseEvent>
24 #include <QWheelEvent>
26 #include <QStringList>
52 void setBackgroundColor(
const QColor& color );
55 void setLayerSet(
const QStringList& layerSet );
57 QStringList layerSet()
const;
61 void updateFullExtent();
67 void drawExtentRect();
70 void hasCrsTransformEnabled(
bool flag );
73 void destinationSrsChanged();
76 void mapRenderingFinished();
77 void layerRepaintRequested();
82 void paintEvent( QPaintEvent * pe )
override;
85 void resizeEvent( QResizeEvent * e )
override;
88 void mouseMoveEvent( QMouseEvent * e )
override;
91 void mousePressEvent( QMouseEvent * e )
override;
94 void mouseReleaseEvent( QMouseEvent * e )
override;
97 void updatePanningWidget(
const QPoint& pos );