libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::DragHandler Class Reference

#include <libosmscout-client-qt/include/osmscoutclientqt/InputHandler.h>

Inheritance diagram for osmscout::DragHandler:
Collaboration diagram for osmscout::DragHandler:

Public Member Functions

 DragHandler (const MapView &view)
 ~DragHandler () override=default
bool animationInProgress () override
bool zoom (double zoomFactor, const QPoint &widgetPosition, const QRect &widgetDimension) override
bool move (const QVector2D &vector) override
bool rotateBy (double angleChange) override
bool touch (const QTouchEvent &event) override
Public Member Functions inherited from osmscout::MoveHandler
 MoveHandler (const MapView &view)
 ~MoveHandler () override=default
bool animationInProgress () override
bool moveNow (const QVector2D &vector)
bool zoom (double zoomFactor, const QPoint &widgetPosition, const QRect &widgetDimension) override
bool move (const QVector2D &vector) override
bool rotateTo (double angle) override
bool rotateBy (double angleChange) override
bool touch (const QTouchEvent &event) override
Public Member Functions inherited from osmscout::InputHandler
 InputHandler (const MapView &view)
 ~InputHandler () override=default
virtual void painted ()
virtual bool showCoordinates (const osmscout::GeoCoord &coord, const osmscout::Magnification &magnification, const osmscout::Bearing &bearing)
virtual bool currentPosition (bool locationValid, osmscout::GeoCoord currentPosition)
virtual bool vehiclePosition (const VehiclePosition &vehiclePosition, bool autoRotateMap)
virtual bool isLockedToPosition ()
virtual bool isFollowVehicle ()
virtual bool focusOutEvent (QFocusEvent *event)
virtual void widgetResized (const QSizeF &widgetSize)

Additional Inherited Members

Signals inherited from osmscout::InputHandler
void viewChanged (const MapView &view)
Protected Attributes inherited from osmscout::InputHandler
MapView view

Detailed Description

InputHandler with support of dragg gesture.

Constructor & Destructor Documentation

◆ DragHandler()

osmscout::DragHandler::DragHandler ( const MapView & view)
explicit

◆ ~DragHandler()

osmscout::DragHandler::~DragHandler ( )
overridedefault

Member Function Documentation

◆ animationInProgress()

bool osmscout::DragHandler::animationInProgress ( )
overridevirtual

Reimplemented from osmscout::InputHandler.

◆ move()

bool osmscout::DragHandler::move ( const QVector2D & vector)
overridevirtual

Reimplemented from osmscout::InputHandler.

◆ rotateBy()

bool osmscout::DragHandler::rotateBy ( double angleChange)
overridevirtual

Reimplemented from osmscout::InputHandler.

◆ touch()

bool osmscout::DragHandler::touch ( const QTouchEvent & event)
overridevirtual

Reimplemented from osmscout::InputHandler.

◆ zoom()

bool osmscout::DragHandler::zoom ( double zoomFactor,
const QPoint & widgetPosition,
const QRect & widgetDimension )
overridevirtual

Reimplemented from osmscout::InputHandler.


The documentation for this class was generated from the following file: