QGeoRoute#
Synopsis#
Properties#
Functions#
def
bounds
()def
distance
()def
extendedAttributes
()def
firstRouteSegment
()def
legIndex
()def
__ne__
(rhs)def
__eq__
(rhs)def
overallRoute
()def
path
()def
request
()def
routeId
()def
routeLegs
()def
segments
()def
segmentsCount
()def
setBounds
(bounds)def
setDistance
(distance)def
setExtendedAttributes
(extendedAttributes)def
setFirstRouteSegment
(routeSegment)def
setLegIndex
(idx)def
setOverallRoute
(route)def
setPath
(path)def
setRequest
(request)def
setRouteId
(id)def
setRouteLegs
(legs)def
setTravelMode
(mode)def
setTravelTime
(secs)def
swap
(other)def
travelMode
()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.QGeoRoute#
PySide6.QtLocation.QGeoRoute(other)
- Parameters:
other –
PySide6.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:
bounds
()
- property PᅟySide6.QtLocation.QGeoRoute.distance: float#
- Access functions:
distance
()
- property PᅟySide6.QtLocation.QGeoRoute.extendedAttributes: Dictionary with keys of type .QString and values of type QVariant.#
- Access functions:
- property PᅟySide6.QtLocation.QGeoRoute.legIndex: int#
- Access functions:
legIndex
()
- property PᅟySide6.QtLocation.QGeoRoute.overallRoute: PySide6.QtLocation.QGeoRoute#
- Access functions:
overallRoute
()
- property PᅟySide6.QtLocation.QGeoRoute.path: list of QGeoCoordinate#
- property PᅟySide6.QtLocation.QGeoRoute.routeId: str#
- Access functions:
routeId
()
- property PᅟySide6.QtLocation.QGeoRoute.routeLegs: list of QGeoRoute#
- Access functions:
routeLegs
()
- property PᅟySide6.QtLocation.QGeoRoute.segments: list of QGeoRouteSegment#
- Access functions:
segments
()
- property PᅟySide6.QtLocation.QGeoRoute.segmentsCount: int#
- Access functions:
- property PᅟySide6.QtLocation.QGeoRoute.travelTime: int#
- Access functions:
travelTime
()
- PySide6.QtLocation.QGeoRoute.bounds()#
- Return type:
Getter of property bounds
.
- PySide6.QtLocation.QGeoRoute.distance()#
- Return type:
float
Getter of property distance
.
- PySide6.QtLocation.QGeoRoute.extendedAttributes()#
- Return type:
Dictionary with keys of type .QString and values of type QVariant.
Getter of property extendedAttributes
.
- PySide6.QtLocation.QGeoRoute.firstRouteSegment()#
- Return type:
- PySide6.QtLocation.QGeoRoute.legIndex()#
- Return type:
int
Getter of property legIndex
.
- PySide6.QtLocation.QGeoRoute.__ne__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoRoute.__eq__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtLocation.QGeoRoute.overallRoute()#
- Return type:
Getter of property overallRoute
.
- PySide6.QtLocation.QGeoRoute.path()#
- Return type:
.list of QGeoCoordinate
Getter of property path
.
- PySide6.QtLocation.QGeoRoute.request()#
- Return type:
- PySide6.QtLocation.QGeoRoute.routeId()#
- Return type:
str
Getter of property routeId
.
Getter of property routeLegs
.
- PySide6.QtLocation.QGeoRoute.segments()#
- Return type:
.list of QGeoRouteSegment
Getter of property segments
.
- PySide6.QtLocation.QGeoRoute.segmentsCount()#
- Return type:
int
Getter of property segmentsCount
.
- PySide6.QtLocation.QGeoRoute.setBounds(bounds)#
- Parameters:
bounds –
PySide6.QtPositioning.QGeoRectangle
- PySide6.QtLocation.QGeoRoute.setDistance(distance)#
- Parameters:
distance – float
- PySide6.QtLocation.QGeoRoute.setExtendedAttributes(extendedAttributes)#
- Parameters:
extendedAttributes – Dictionary with keys of type .QString and values of type QVariant.
- PySide6.QtLocation.QGeoRoute.setFirstRouteSegment(routeSegment)#
- Parameters:
routeSegment –
PySide6.QtLocation.QGeoRouteSegment
- PySide6.QtLocation.QGeoRoute.setLegIndex(idx)#
- Parameters:
idx – int
- PySide6.QtLocation.QGeoRoute.setOverallRoute(route)#
- Parameters:
route –
PySide6.QtLocation.QGeoRoute
- PySide6.QtLocation.QGeoRoute.setPath(path)#
- Parameters:
path – .list of QGeoCoordinate
Setter of property path
.
- PySide6.QtLocation.QGeoRoute.setRequest(request)#
- Parameters:
request –
PySide6.QtLocation.QGeoRouteRequest
- PySide6.QtLocation.QGeoRoute.setRouteId(id)#
- Parameters:
id – str
- PySide6.QtLocation.QGeoRoute.setRouteLegs(legs)#
- Parameters:
legs – .list of QGeoRoute
- PySide6.QtLocation.QGeoRoute.setTravelMode(mode)#
- Parameters:
mode –
TravelMode
- PySide6.QtLocation.QGeoRoute.setTravelTime(secs)#
- Parameters:
secs – int
- PySide6.QtLocation.QGeoRoute.swap(other)#
- Parameters:
other –
PySide6.QtLocation.QGeoRoute
- PySide6.QtLocation.QGeoRoute.travelMode()#
- Return type:
- PySide6.QtLocation.QGeoRoute.travelTime()#
- Return type:
int
Getter of property travelTime
.