|
libosmscout 0.1
|
Input handler that animates jumps to target map view. More...
#include <InputHandler.h>
Public Member Functions | |
| bool | animationInProgress () override |
| JumpHandler (const MapView &view, double moveAnimationDuration=(double) ANIMATION_DURATION, double zoomAnimationDuration=(double) ANIMATION_DURATION) | |
| bool | showCoordinates (const osmscout::GeoCoord &coord, const osmscout::Magnification &magnification, const osmscout::Bearing &bearing) override |
| ~JumpHandler () override=default | |
| Public Member Functions inherited from osmscout::InputHandler | |
| virtual bool | currentPosition (bool locationValid, osmscout::GeoCoord currentPosition) |
| virtual bool | focusOutEvent (QFocusEvent *event) |
| InputHandler (const MapView &view) | |
| virtual bool | isFollowVehicle () |
| virtual bool | isLockedToPosition () |
| virtual bool | move (const QVector2D &vector) |
| virtual void | painted () |
| virtual bool | pivotBy (double angleChange) |
| virtual bool | rotateBy (double angleChange) |
| virtual bool | rotateTo (double angle) |
| virtual bool | touch (const QTouchEvent &event) |
| virtual bool | vehiclePosition (const VehiclePosition &vehiclePosition, bool autoRotateMap) |
| virtual void | widgetResized (const QSizeF &widgetSize) |
| virtual bool | zoom (double zoomFactor, const QPoint &widgetPosition, const QRect &widgetDimension) |
| ~InputHandler () override=default | |
Additional Inherited Members | |
| Signals inherited from osmscout::InputHandler | |
| void | viewChanged (const MapView &view) |
| Protected Attributes inherited from osmscout::InputHandler | |
| MapView | view |
Input handler that animates jumps to target map view.
|
explicit |
References osmscout::InputHandler::InputHandler(), and osmscout::InputHandler::view.
Referenced by osmscout::LockHandler::LockHandler(), and osmscout::VehicleFollowHandler::VehicleFollowHandler().
|
overridedefault |
References animationInProgress(), and showCoordinates().
|
overridevirtual |
Reimplemented from osmscout::InputHandler.
Referenced by ~JumpHandler().
|
overridevirtual |
Reimplemented from osmscout::InputHandler.
Reimplemented in osmscout::LockHandler.
References osmscout::InputHandler::view.
Referenced by osmscout::LockHandler::currentPosition(), osmscout::VehicleFollowHandler::vehiclePosition(), and ~JumpHandler().