27 #include "../canvas/MapDisplay.h"
32 #include <QWheelEvent>
35 :
Zoom(display, zoomFactor, In, parent)
45 if(watched != m_display)
52 QWheelEvent* wheelEvent =
static_cast<QWheelEvent*
>(e);
53 wheelEvent->delta() > 0 ? setZoomType(In) : setZoomType(Out);
55 QPixmap* draft = m_display->getDraftPixmap();
56 draft->fill(Qt::transparent);
This class implements a concrete tool to geographic zoom operation using the mouse wheel...