QGeoManeuver#
Synopsis#
Properties#
Functions#
def
direction
()def
distanceToNextInstruction
()def
extendedAttributes
()def
instructionText
()def
isValid
()def
__ne__
(rhs)def
__eq__
(rhs)def
position
()def
setDirection
(direction)def
setDistanceToNextInstruction
(distance)def
setExtendedAttributes
(extendedAttributes)def
setInstructionText
(instructionText)def
setPosition
(position)def
setTimeToNextInstruction
(secs)def
setWaypoint
(coordinate)def
swap
(other)def
timeToNextInstruction
()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 PySide6.QtLocation.QGeoManeuver#
PySide6.QtLocation.QGeoManeuver(other)
- Parameters:
other –
PySide6.QtLocation.QGeoManeuver
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtLocation.QGeoManeuver.direction: InstructionDirection#
- Access functions:
direction
()
- property PᅟySide6.QtLocation.QGeoManeuver.distanceToNextInstruction: float#
- Access functions:
- property PᅟySide6.QtLocation.QGeoManeuver.extendedAttributes: Dictionary with keys of type .QString and values of type QVariant.#
- Access functions:
- property PᅟySide6.QtLocation.QGeoManeuver.instructionText: str#
- Access functions:
- property PᅟySide6.QtLocation.QGeoManeuver.position: PySide6.QtPositioning.QGeoCoordinate#
- Access functions:
position
()
- property PᅟySide6.QtLocation.QGeoManeuver.timeToNextInstruction: int#
- Access functions:
- property PᅟySide6.QtLocation.QGeoManeuver.valid: bool#
- Access functions:
isValid
()
- property PᅟySide6.QtLocation.QGeoManeuver.waypoint: PySide6.QtPositioning.QGeoCoordinate#
- Access functions:
waypoint
()
- PySide6.QtLocation.QGeoManeuver.InstructionDirection#
- PySide6.QtLocation.QGeoManeuver.direction()#
- Return type:
Getter of property direction
.
- PySide6.QtLocation.QGeoManeuver.distanceToNextInstruction()#
- Return type:
float
Getter of property distanceToNextInstruction
.
- PySide6.QtLocation.QGeoManeuver.extendedAttributes()#
- Return type:
Dictionary with keys of type .QString and values of type QVariant.
Getter of property extendedAttributes
.
- PySide6.QtLocation.QGeoManeuver.instructionText()#
- Return type:
str
Getter of property instructionText
.
- PySide6.QtLocation.QGeoManeuver.isValid()#
- Return type:
bool
Getter of property valid
.
- PySide6.QtLocation.QGeoManeuver.__ne__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoManeuver.__eq__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoManeuver.position()#
- Return type:
Getter of property position
.
- PySide6.QtLocation.QGeoManeuver.setDirection(direction)#
- Parameters:
direction –
InstructionDirection
- PySide6.QtLocation.QGeoManeuver.setDistanceToNextInstruction(distance)#
- Parameters:
distance – float
- PySide6.QtLocation.QGeoManeuver.setExtendedAttributes(extendedAttributes)#
- Parameters:
extendedAttributes – Dictionary with keys of type .QString and values of type QVariant.
- PySide6.QtLocation.QGeoManeuver.setInstructionText(instructionText)#
- Parameters:
instructionText – str
- PySide6.QtLocation.QGeoManeuver.setPosition(position)#
- Parameters:
position –
PySide6.QtPositioning.QGeoCoordinate
- PySide6.QtLocation.QGeoManeuver.setTimeToNextInstruction(secs)#
- Parameters:
secs – int
- PySide6.QtLocation.QGeoManeuver.setWaypoint(coordinate)#
- Parameters:
coordinate –
PySide6.QtPositioning.QGeoCoordinate
- PySide6.QtLocation.QGeoManeuver.swap(other)#
- Parameters:
other –
PySide6.QtLocation.QGeoManeuver
- PySide6.QtLocation.QGeoManeuver.timeToNextInstruction()#
- Return type:
int
Getter of property timeToNextInstruction
.
- PySide6.QtLocation.QGeoManeuver.waypoint()#
- Return type:
Getter of property waypoint
.