A widget that displays an overview map.
More...
#include <qgsmapoverviewcanvas.h>
Protected Member Functions |
void | paintEvent (QPaintEvent *pe) |
| Overridden paint event.
|
void | resizeEvent (QResizeEvent *e) |
| Overridden resize event.
|
void | mouseMoveEvent (QMouseEvent *e) |
| Overridden mouse move event.
|
void | mousePressEvent (QMouseEvent *e) |
| Overridden mouse press event.
|
void | mouseReleaseEvent (QMouseEvent *e) |
| Overridden mouse release event.
|
void | updatePanningWidget (const QPoint &pos) |
| called when panning to reflect mouse movement
|
Detailed Description
A widget that displays an overview map.
Constructor & Destructor Documentation
QgsMapOverviewCanvas::QgsMapOverviewCanvas |
( |
QWidget * |
parent = 0 , |
|
|
QgsMapCanvas * |
mapCanvas = NULL |
|
) |
| |
QgsMapOverviewCanvas::~QgsMapOverviewCanvas |
( |
| ) |
|
Member Function Documentation
void QgsMapOverviewCanvas::destinationSrsChanged |
( |
| ) |
|
|
slot |
void QgsMapOverviewCanvas::drawExtentRect |
( |
| ) |
|
|
slot |
used for overview canvas to reflect changed extent in main map canvas
void QgsMapOverviewCanvas::enableAntiAliasing |
( |
bool |
flag | ) |
|
|
inline |
void QgsMapOverviewCanvas::hasCrsTransformEnabled |
( |
bool |
flag | ) |
|
|
slot |
void QgsMapOverviewCanvas::layerRepaintRequested |
( |
| ) |
|
|
protectedslot |
QStringList QgsMapOverviewCanvas::layerSet |
( |
| ) |
const |
void QgsMapOverviewCanvas::mapRenderingFinished |
( |
| ) |
|
|
protectedslot |
void QgsMapOverviewCanvas::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
Overridden mouse move event.
void QgsMapOverviewCanvas::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
Overridden mouse press event.
void QgsMapOverviewCanvas::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
Overridden mouse release event.
void QgsMapOverviewCanvas::paintEvent |
( |
QPaintEvent * |
pe | ) |
|
|
protected |
void QgsMapOverviewCanvas::refresh |
( |
| ) |
|
renders overview and updates panning widget
void QgsMapOverviewCanvas::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
protected |
void QgsMapOverviewCanvas::setBackgroundColor |
( |
const QColor & |
color | ) |
|
void QgsMapOverviewCanvas::setLayerSet |
( |
const QStringList & |
layerSet | ) |
|
updates layer set for overview
void QgsMapOverviewCanvas::updateFullExtent |
( |
| ) |
|
void QgsMapOverviewCanvas::updatePanningWidget |
( |
const QPoint & |
pos | ) |
|
|
protected |
called when panning to reflect mouse movement
Member Data Documentation
main map canvas - used to get/set extent
QPoint QgsMapOverviewCanvas::mPanningCursorOffset |
|
protected |
position of cursor inside panning widget
widget for panning map in overview
QPixmap QgsMapOverviewCanvas::mPixmap |
|
protected |
pixmap where the map is stored
map settings used for rendering of the overview map
The documentation for this class was generated from the following files: