QGeoRoute#

Inheritance diagram of PySide6.QtLocation.QGeoRoute

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.QGeoRoute#

PySide6.QtLocation.QGeoRoute(other)

Parameters:

otherPySide6.QtLocation.QGeoRoute

Note

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

property PᅟySide6.QtLocation.QGeoRoute.bounds: PySide6.QtPositioning.QGeoRectangle#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.distance: float#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.extendedAttributes#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.legIndex: int#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.overallRoute: PySide6.QtLocation.QGeoRoute#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.path#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.routeId: str#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.routeLegs#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.segments#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.segmentsCount: qsizetype#
Access functions:
property PᅟySide6.QtLocation.QGeoRoute.travelTime: int#
Access functions:
PySide6.QtLocation.QGeoRoute.bounds()#
Return type:

PySide6.QtPositioning.QGeoRectangle

Getter of property bounds .

PySide6.QtLocation.QGeoRoute.distance()#
Return type:

float

Getter of property distance .

PySide6.QtLocation.QGeoRoute.extendedAttributes()#
Return type:

Getter of property extendedAttributes .

PySide6.QtLocation.QGeoRoute.firstRouteSegment()#
Return type:

PySide6.QtLocation.QGeoRouteSegment

PySide6.QtLocation.QGeoRoute.legIndex()#
Return type:

int

Getter of property legIndex .

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

rhsPySide6.QtLocation.QGeoRoute

Return type:

bool

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

rhsPySide6.QtLocation.QGeoRoute

Return type:

bool

PySide6.QtLocation.QGeoRoute.overallRoute()#
Return type:

PySide6.QtLocation.QGeoRoute

Getter of property overallRoute .

PySide6.QtLocation.QGeoRoute.path()#
Return type:

Getter of property path .

PySide6.QtLocation.QGeoRoute.request()#
Return type:

PySide6.QtLocation.QGeoRouteRequest

PySide6.QtLocation.QGeoRoute.routeId()#
Return type:

str

Getter of property routeId .

PySide6.QtLocation.QGeoRoute.routeLegs()#
Return type:

Getter of property routeLegs .

PySide6.QtLocation.QGeoRoute.segments()#
Return type:

Getter of property segments .

PySide6.QtLocation.QGeoRoute.segmentsCount()#
Return type:

qsizetype

Getter of property segmentsCount .

PySide6.QtLocation.QGeoRoute.setBounds(bounds)#
Parameters:

boundsPySide6.QtPositioning.QGeoRectangle

PySide6.QtLocation.QGeoRoute.setDistance(distance)#
Parameters:

distance – float

PySide6.QtLocation.QGeoRoute.setExtendedAttributes(extendedAttributes)#
Parameters:

extendedAttributes

PySide6.QtLocation.QGeoRoute.setFirstRouteSegment(routeSegment)#
Parameters:

routeSegmentPySide6.QtLocation.QGeoRouteSegment

PySide6.QtLocation.QGeoRoute.setLegIndex(idx)#
Parameters:

idx – int

PySide6.QtLocation.QGeoRoute.setOverallRoute(route)#
Parameters:

routePySide6.QtLocation.QGeoRoute

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

path

Setter of property path .

PySide6.QtLocation.QGeoRoute.setRequest(request)#
Parameters:

requestPySide6.QtLocation.QGeoRouteRequest

PySide6.QtLocation.QGeoRoute.setRouteId(id)#
Parameters:

id – str

PySide6.QtLocation.QGeoRoute.setRouteLegs(legs)#
Parameters:

legs

PySide6.QtLocation.QGeoRoute.setTravelMode(mode)#
Parameters:

modeTravelMode

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

secs – int

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

otherPySide6.QtLocation.QGeoRoute

PySide6.QtLocation.QGeoRoute.travelMode()#
Return type:

TravelMode

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

int

Getter of property travelTime .