- class QGeoRoute#
Synopsis#
Properties#
Methods#
def
__init__()
def
bounds()
def
distance()
def
legIndex()
def
__ne__()
def
__eq__()
def
overallRoute()
def
path()
def
request()
def
routeId()
def
routeLegs()
def
segments()
def
segmentsCount()
def
setBounds()
def
setDistance()
def
setLegIndex()
def
setPath()
def
setRequest()
def
setRouteId()
def
setRouteLegs()
def
setTravelMode()
def
setTravelTime()
def
swap()
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#
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property boundsᅟ: QGeoRectangle#
- Access functions:
- property distanceᅟ: float#
- Access functions:
- property extendedAttributesᅟ: Dictionary with keys of type .QString and values of type QVariant.#
- Access functions:
- property legIndexᅟ: int#
- Access functions:
- Access functions:
- property pathᅟ: list of QGeoCoordinate#
- property routeIdᅟ: str#
- Access functions:
- property routeLegsᅟ: list of QGeoRoute#
- Access functions:
- property segmentsᅟ: list of QGeoRouteSegment#
- Access functions:
- property segmentsCountᅟ: int#
- Access functions:
- property travelTimeᅟ: int#
- Access functions:
- __init__()
- bounds()#
- Return type:
Getter of property
boundsᅟ
.- distance()#
- Return type:
float
Getter of property
distanceᅟ
.- extendedAttributes()#
- Return type:
Dictionary with keys of type .QString and values of type QVariant.
Getter of property
extendedAttributesᅟ
.- firstRouteSegment()#
- Return type:
- legIndex()#
- Return type:
int
Getter of property
legIndexᅟ
.Getter of property
overallRouteᅟ
.- path()#
- Return type:
.list of QGeoCoordinate
Getter of property
pathᅟ
.- request()#
- Return type:
- routeId()#
- Return type:
str
Getter of property
routeIdᅟ
.Getter of property
routeLegsᅟ
.- segments()#
- Return type:
.list of QGeoRouteSegment
Getter of property
segmentsᅟ
.- segmentsCount()#
- Return type:
int
Getter of property
segmentsCountᅟ
.- setBounds(bounds)#
- Parameters:
bounds –
QGeoRectangle
- setDistance(distance)#
- Parameters:
distance – float
- setExtendedAttributes(extendedAttributes)#
- Parameters:
extendedAttributes – Dictionary with keys of type .QString and values of type QVariant.
- setFirstRouteSegment(routeSegment)#
- Parameters:
routeSegment –
QGeoRouteSegment
- setLegIndex(idx)#
- Parameters:
idx – int
- setPath(path)#
- Parameters:
path – .list of QGeoCoordinate
Setter of property
pathᅟ
.- setRequest(request)#
- Parameters:
request –
QGeoRouteRequest
- setRouteId(id)#
- Parameters:
id – str
- setRouteLegs(legs)#
- Parameters:
legs – .list of QGeoRoute
- setTravelMode(mode)#
- Parameters:
mode –
TravelMode
- setTravelTime(secs)#
- Parameters:
secs – int
- travelMode()#
- Return type:
- travelTime()#
- Return type:
int
Getter of property
travelTimeᅟ
.