- class QGeoManeuver¶
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
direction()
def
isValid()
def
__ne__()
def
__eq__()
def
position()
def
setDirection()
def
setPosition()
def
setWaypoint()
def
swap()
def
waypoint()
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__()¶
- __init__(other)
- Parameters:
other –
QGeoManeuver
- direction()¶
- Return type:
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:
rhs –
QGeoManeuver
- Return type:
bool
- __eq__(rhs)¶
- Parameters:
rhs –
QGeoManeuver
- Return type:
bool
- position()¶
- Return type:
Getter of property
positionᅟ
.- setDirection(direction)¶
- Parameters:
direction –
InstructionDirection
- 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:
position –
QGeoCoordinate
- setTimeToNextInstruction(secs)¶
- Parameters:
secs – int
- setWaypoint(coordinate)¶
- Parameters:
coordinate –
QGeoCoordinate
- swap(other)¶
- Parameters:
other –
QGeoManeuver
- timeToNextInstruction()¶
- Return type:
int
Getter of property
timeToNextInstructionᅟ
.- waypoint()¶
- Return type:
Getter of property
waypointᅟ
.