libosmscout
0.1
|
#include <InputHandler.h>
Public Member Functions | |
bool | animationInProgress () override |
bool | move (const QVector2D &vector) override |
MultitouchHandler (const MapView &view) | |
bool | rotateBy (double angleChange) override |
bool | touch (const QTouchEvent &event) override |
bool | zoom (double zoomFactor, const QPoint &widgetPosition, const QRect &widgetDimension) override |
~MultitouchHandler () override=default | |
![]() | |
MoveHandler (const MapView &view) | |
bool | moveNow (const QVector2D &vector) |
Called from DragHandler or MultitouchHandler when gesture moves with map. More... | |
bool | pivotBy (double angleChange) override |
bool | rotateTo (double angle) override |
~MoveHandler () override=default | |
![]() | |
virtual bool | currentPosition (bool locationValid, osmscout::GeoCoord currentPosition) |
virtual bool | focusOutEvent (QFocusEvent *event) |
InputHandler (const MapView &view) | |
virtual bool | isFollowVehicle () |
virtual bool | isLockedToPosition () |
virtual void | painted () |
virtual bool | showCoordinates (const osmscout::GeoCoord &coord, const osmscout::Magnification &magnification, const osmscout::Bearing &bearing) |
virtual bool | vehiclePosition (const VehiclePosition &vehiclePosition, bool autoRotateMap) |
virtual void | widgetResized (const QSizeF &widgetSize) |
~InputHandler () override=default | |
Additional Inherited Members | |
![]() | |
void | viewChanged (const MapView &view) |
![]() | |
MapView | view |
InputHandler with support of multitouch input. It use just first two touch points from touch events.
|
explicit |
|
overridedefault |
|
overridevirtual |
Reimplemented from osmscout::MoveHandler.
References osmscout::MoveHandler::animationInProgress().
|
overridevirtual |
Reimplemented from osmscout::MoveHandler.
Referenced by touch().
|
overridevirtual |
Reimplemented from osmscout::MoveHandler.
|
overridevirtual |
Reimplemented from osmscout::MoveHandler.
References osmscout::MoveAccumulator::collect(), osmscout::Magnification::GetMagnification(), osmscout::MapView::magnification, osmscout::MoveHandler::move(), move(), osmscout::MoveHandler::moveNow(), osmscout::Magnification::SetMagnification(), osmscout::InputHandler::view, and osmscout::InputHandler::viewChanged().
|
overridevirtual |
Reimplemented from osmscout::MoveHandler.