QGeoRouteSegment#

Inheritance diagram of PySide6.QtLocation.QGeoRouteSegment

Synopsis#

Properties#

Functions#

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:

otherPySide6.QtLocation.QGeoRouteSegment

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:
property PᅟySide6.QtLocation.QGeoRouteSegment.maneuver: PySide6.QtLocation.QGeoManeuver#
Access functions:
property PᅟySide6.QtLocation.QGeoRouteSegment.path#
Access functions:
property PᅟySide6.QtLocation.QGeoRouteSegment.travelTime: int#
Access functions:
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:

PySide6.QtLocation.QGeoManeuver

Getter of property maneuver .

PySide6.QtLocation.QGeoRouteSegment.nextRouteSegment()#
Return type:

PySide6.QtLocation.QGeoRouteSegment

PySide6.QtLocation.QGeoRouteSegment.__ne__(rhs)#
Parameters:

rhsPySide6.QtLocation.QGeoRouteSegment

Return type:

bool

PySide6.QtLocation.QGeoRouteSegment.__eq__(rhs)#
Parameters:

rhsPySide6.QtLocation.QGeoRouteSegment

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:

maneuverPySide6.QtLocation.QGeoManeuver

PySide6.QtLocation.QGeoRouteSegment.setNextRouteSegment(routeSegment)#
Parameters:

routeSegmentPySide6.QtLocation.QGeoRouteSegment

PySide6.QtLocation.QGeoRouteSegment.setPath(path)#
Parameters:

path

PySide6.QtLocation.QGeoRouteSegment.setTravelTime(secs)#
Parameters:

secs – int

PySide6.QtLocation.QGeoRouteSegment.swap(other)#
Parameters:

otherPySide6.QtLocation.QGeoRouteSegment

PySide6.QtLocation.QGeoRouteSegment.travelTime()#
Return type:

int

Getter of property travelTime .