class QGeoManeuver#

Synopsis#

Properties#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class InstructionDirection#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property directionᅟ: QGeoManeuver.InstructionDirection#
Access functions:
property distanceToNextInstructionᅟ: float#
Access functions:
property extendedAttributesᅟ: Dictionary with keys of type .QString and values of type QVariant.#
Access functions:
property instructionTextᅟ: str#
Access functions:
property positionᅟ: QGeoCoordinate#
Access functions:
property timeToNextInstructionᅟ: int#
Access functions:
property validᅟ: bool#
Access functions:
property waypointᅟ: QGeoCoordinate#
Access functions:
__init__(other)#
Parameters:

otherQGeoManeuver

__init__()
direction()#
Return type:

InstructionDirection

Getter of property directionᅟ .

distanceToNextInstruction()#
Return type:

float

Getter of property distanceToNextInstructionᅟ .

extendedAttributes()#
Return type:

Dictionary with keys of type .QString and values of type QVariant.

Getter of property extendedAttributesᅟ .

instructionText()#
Return type:

str

Getter of property instructionTextᅟ .

isValid()#
Return type:

bool

Getter of property validᅟ .

__ne__(rhs)#
Parameters:

rhsQGeoManeuver

Return type:

bool

__eq__(rhs)#
Parameters:

rhsQGeoManeuver

Return type:

bool

position()#
Return type:

QGeoCoordinate

Getter of property positionᅟ .

setDirection(direction)#
Parameters:

directionInstructionDirection

setDistanceToNextInstruction(distance)#
Parameters:

distance – float

setExtendedAttributes(extendedAttributes)#
Parameters:

extendedAttributes – Dictionary with keys of type .QString and values of type QVariant.

setInstructionText(instructionText)#
Parameters:

instructionText – str

setPosition(position)#
Parameters:

positionQGeoCoordinate

setTimeToNextInstruction(secs)#
Parameters:

secs – int

setWaypoint(coordinate)#
Parameters:

coordinateQGeoCoordinate

swap(other)#
Parameters:

otherQGeoManeuver

timeToNextInstruction()#
Return type:

int

Getter of property timeToNextInstructionᅟ .

waypoint()#
Return type:

QGeoCoordinate

Getter of property waypointᅟ .