QGeoRouteSegment#
Synopsis#
Properties#
Functions#
def
distance
()def
isLegLastSegment
()def
isValid
()def
maneuver
()def
nextRouteSegment
()def
__ne__
(rhs)def
__eq__
(rhs)def
path
()def
setDistance
(distance)def
setManeuver
(maneuver)def
setNextRouteSegment
(routeSegment)def
setPath
(path)def
setTravelTime
(secs)def
swap
(other)def
travelTime
()
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.QGeoRouteSegment#
PySide6.QtLocation.QGeoRouteSegment(other)
- Parameters:
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtLocation.QGeoRouteSegment.distance: float#
- Access functions:
distance
()
- property PᅟySide6.QtLocation.QGeoRouteSegment.maneuver: PySide6.QtLocation.QGeoManeuver#
- Access functions:
maneuver
()
- property PᅟySide6.QtLocation.QGeoRouteSegment.path#
- Access functions:
path
()
- property PᅟySide6.QtLocation.QGeoRouteSegment.travelTime: int#
- Access functions:
travelTime
()
- PySide6.QtLocation.QGeoRouteSegment.distance()#
- Return type:
float
Getter of property distance
.
- PySide6.QtLocation.QGeoRouteSegment.isLegLastSegment()#
- Return type:
bool
- PySide6.QtLocation.QGeoRouteSegment.isValid()#
- Return type:
bool
- PySide6.QtLocation.QGeoRouteSegment.maneuver()#
- Return type:
Getter of property maneuver
.
- PySide6.QtLocation.QGeoRouteSegment.nextRouteSegment()#
- Return type:
- PySide6.QtLocation.QGeoRouteSegment.__ne__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoRouteSegment.__eq__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoRouteSegment.path()#
Getter of property path
.
- PySide6.QtLocation.QGeoRouteSegment.setDistance(distance)#
- Parameters:
distance – float
- PySide6.QtLocation.QGeoRouteSegment.setManeuver(maneuver)#
- Parameters:
maneuver –
PySide6.QtLocation.QGeoManeuver
- PySide6.QtLocation.QGeoRouteSegment.setNextRouteSegment(routeSegment)#
- Parameters:
routeSegment –
PySide6.QtLocation.QGeoRouteSegment
- PySide6.QtLocation.QGeoRouteSegment.setPath(path)#
- Parameters:
path –
- PySide6.QtLocation.QGeoRouteSegment.setTravelTime(secs)#
- Parameters:
secs – int
- PySide6.QtLocation.QGeoRouteSegment.swap(other)#
- Parameters:
- PySide6.QtLocation.QGeoRouteSegment.travelTime()#
- Return type:
int
Getter of property travelTime
.