|
libosmscout 0.1
|
InputHandler with support of multitouch input. More...
#include <InputHandler.h>
Inheritance diagram for osmscout::MultitouchHandler: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 | |
Public Member Functions inherited from osmscout::MoveHandler | |
| MoveHandler (const MapView &view) | |
| bool | moveNow (const QVector2D &vector) |
| Called from DragHandler or MultitouchHandler when gesture moves with map. | |
| bool | pivotBy (double angleChange) override |
| bool | rotateTo (double angle) override |
| ~MoveHandler () 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 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 | |
Signals inherited from osmscout::InputHandler | |
| void | viewChanged (const MapView &view) |
Protected Attributes inherited from osmscout::InputHandler | |
| 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.