Home
last modified time | relevance | path

Searched refs:maneuver (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroutexmlparser/
H A Dtst_qgeoroutexmlparser.cpp94 QGeoManeuver first = segments.at(0).maneuver(); in test_realData1()
102 QGeoManeuver secondLast = segments.at(6).maneuver(); in test_realData1()
108 QGeoManeuver last = segments.at(7).maneuver(); in test_realData1()
151 QVERIFY(segments.at(0).maneuver().instructionText().contains("Head toward Electronics St")); in test_realData2()
152 QCOMPARE(segments.at(0).maneuver().direction(), QGeoManeuver::DirectionForward); in test_realData2()
153 … QVERIFY(segments.at(1).maneuver().instructionText().contains("Turn left onto Miles Platting")); in test_realData2()
154 QCOMPARE(segments.at(1).maneuver().direction(), QGeoManeuver::DirectionLeft); in test_realData2()
155 QVERIFY(segments.at(2).maneuver().instructionText().contains("Turn right onto Logan Rd")); in test_realData2()
156 QCOMPARE(segments.at(2).maneuver().direction(), QGeoManeuver::DirectionRight); in test_realData2()
157 QVERIFY(segments.at(3).maneuver().instructionText().contains("Take exit #14/M3/City")); in test_realData2()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqgeoroutexmlparser.cpp249 QGeoManeuverContainer &maneuver = maneuvers[j]; in postProcessRoute() local
253 extendedAttributes["first"] = maneuver.first; in postProcessRoute()
254 extendedAttributes["last"] = maneuver.last; in postProcessRoute()
256 extendedAttributes["id"] = maneuver.id; in postProcessRoute()
257 extendedAttributes["toLink"] = maneuver.toLink; in postProcessRoute()
259 maneuver.maneuver.setExtendedAttributes(extendedAttributes); in postProcessRoute()
261 segment.setDistance(maneuver.maneuver.distanceToNextInstruction()); in postProcessRoute()
262 segment.setTravelTime(maneuver.maneuver.timeToNextInstruction()); in postProcessRoute()
263 segment.setPath(maneuver.path); in postProcessRoute()
264 segment.setManeuver(maneuver.maneuver); in postProcessRoute()
[all …]
H A Dqgeoroutexmlparser.h60 QGeoManeuver maneuver;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoroutesegment.cpp250 void QGeoRouteSegment::setManeuver(const QGeoManeuver &maneuver) in setManeuver() argument
253 d_ptr->setManeuver(maneuver); in setManeuver()
262 QGeoManeuver QGeoRouteSegment::maneuver() const in maneuver() function in QGeoRouteSegment
264 return d_ptr->maneuver(); in maneuver()
291 && (maneuver() == other.maneuver())); in equals()
344 QGeoManeuver QGeoRouteSegmentPrivate::maneuver() const in maneuver() function in QGeoRouteSegmentPrivate
349 void QGeoRouteSegmentPrivate::setManeuver(const QGeoManeuver &maneuver) in setManeuver() argument
351 Q_UNUSED(maneuver); in setManeuver()
456 QGeoManeuver QGeoRouteSegmentPrivateDefault::maneuver() const in maneuver() function in QGeoRouteSegmentPrivateDefault
461 void QGeoRouteSegmentPrivateDefault::setManeuver(const QGeoManeuver &maneuver) in setManeuver() argument
[all …]
H A Dqgeorouteparserosrmv5.cpp236 static QString instructionDepart(const QJsonObject &maneuver, const QString &wayName) in instructionDepart() argument
238 double bearing = maneuver.value(QLatin1String("bearing_after")).toDouble(-1.0); in instructionDepart()
531 static QString instructionRotary(const QJsonObject &step, const QJsonObject &maneuver, const QStrin… in instructionRotary() argument
536 int exit = maneuver.value(QLatin1String("exit")).toInt(0); in instructionRotary()
546 static QString instructionRoundabout(const QJsonObject &maneuver, const QString &wayName) in instructionRoundabout() argument
550 int exit = maneuver.value(QLatin1String("exit")).toInt(0); in instructionRoundabout()
649 static QString instructionUseLane(const QJsonObject &maneuver, const QString &wayName, QGeoManeuver… in instructionUseLane() argument
651 QString laneTypes = maneuver.value(QLatin1String("laneTypes")).toString(); in instructionUseLane()
720 static QString instructionText(const QJsonObject &step, const QJsonObject &maneuver, QGeoManeuver::… in instructionText() argument
722 if (maneuver.value(QLatin1String("modifier")).isString()) in instructionText()
[all …]
H A Dqgeoroutesegment_p.h89 virtual QGeoManeuver maneuver() const;
90 virtual void setManeuver(const QGeoManeuver &maneuver);
129 virtual QGeoManeuver maneuver() const override;
130 virtual void setManeuver(const QGeoManeuver &maneuver) override;
H A Dqgeorouteparserosrmv4.cpp280 QGeoManeuver maneuver; in constructRoute() local
281 maneuver.setDirection(osrmInstructionDirection(instructionCode, trafficSide)); in constructRoute()
282 maneuver.setDistanceToNextInstruction(segmentLength); in constructRoute()
283 maneuver.setInstructionText(osrmInstructionText(instructionCode, wayname)); in constructRoute()
284 maneuver.setPosition(path.at(position)); in constructRoute()
285 maneuver.setTimeToNextInstruction(time); in constructRoute()
287 segment.setManeuver(maneuver); in constructRoute()
H A Dqgeoroutesegment.h78 void setManeuver(const QGeoManeuver &maneuver);
79 QGeoManeuver maneuver() const;
H A Dqgeorouteparserosrmv5_p.h70 …Segment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const = 0;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeoroutesegment_p.h67 Q_PROPERTY(QDeclarativeGeoManeuver *maneuver READ maneuver CONSTANT)
77 QDeclarativeGeoManeuver *maneuver() const;
H A Dqdeclarativegeomaneuver.cpp75 QDeclarativeGeoManeuver::QDeclarativeGeoManeuver(const QGeoManeuver &maneuver, QObject *parent) in QDeclarativeGeoManeuver() argument
77 maneuver_(maneuver) in QDeclarativeGeoManeuver()
H A Dqdeclarativegeoroutesegment.cpp88 maneuver_ = new QDeclarativeGeoManeuver(segment_.maneuver(), this); in QDeclarativeGeoRouteSegment()
127 QDeclarativeGeoManeuver *QDeclarativeGeoRouteSegment::maneuver() const in maneuver() function in QDeclarativeGeoRouteSegment
H A Dqdeclarativegeomaneuver_p.h93 QDeclarativeGeoManeuver(const QGeoManeuver &maneuver, QObject *parent = 0);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dgeoroutejsonparser_esri.cpp198 QGeoManeuver maneuver; in parseDirection() local
200 maneuver.setDirection(esriDirectionsManeuverTypes.value(type)); in parseDirection()
202maneuver.setInstructionText(attributes.value(kDirectionsFeaturesAttributesTextKey).toString() + ".… in parseDirection()
203 maneuver.setDistanceToNextInstruction(length); in parseDirection()
204 maneuver.setTimeToNextInstruction(time); in parseDirection()
206 segment.setManeuver(maneuver); in parseDirection()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/declarative/
H A Drouting.qml97 property bool hasManeuver : modelData.maneuver && modelData.maneuver.valid
100 Text { text: hasManeuver ? modelData.maneuver.instructionText : "" }
102 property RouteManeuver routeManeuver: modelData.maneuver
107 text: "Distance till next maneuver: " + routeManeuver.distanceToNextInstruction
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroutesegment/
H A Dtst_qgeoroutesegment.cpp62 QCOMPARE(qgeoroutesegment->maneuver(),*qgeomaneuver); in constructor()
74 QCOMPARE(qgeoroutesegmentcopy->maneuver(), *qgeomaneuver); in copy_constructor()
202 void tst_QGeoRouteSegment::maneuver() in maneuver() function in tst_QGeoRouteSegment
208 QCOMPARE(sgmt.maneuver(), *qgeomaneuver); in maneuver()
H A Dtst_qgeoroutesegment.h65 void maneuver();
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqgeoroutingmanagerenginemapbox.cpp61 …nt(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const override;
197 …pdateSegment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const in updateSegment()
199 QGeoManeuver m = segment.maneuver(); in updateSegment()
201 if (m_useMapboxTextInstructions && maneuver.value(QLatin1String("instruction")).isString()) { in updateSegment()
202 QString maneuverInstructionText = maneuver.value(QLatin1String("instruction")).toString(); in updateSegment()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/routing/
H A Dtst_routing.cpp288 const QGeoManeuver maneuver = segment.maneuver(); in verifySaneRoute() local
290 if (maneuver.isValid()) { in verifySaneRoute()
291 QVERIFY(!maneuver.instructionText().isEmpty()); in verifySaneRoute()
292 QVERIFY(maneuver.position().isValid()); in verifySaneRoute()
294 QVERIFY(bounds.contains(maneuver.position())); // on pt and pedestrian in verifySaneRoute()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeorouterequest/
H A Dtst_qgeorouterequest.cpp267 QFETCH(QGeoRouteRequest::ManeuverDetail,maneuver); in maneuverDetail()
271 qgeorouterequest->setManeuverDetail(maneuver); in maneuverDetail()
272 QCOMPARE(qgeorouterequest->maneuverDetail(), maneuver); in maneuverDetail()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/mapviewer/forms/
H A DRouteList.qml86 "instruction": routeModel.get(0).segments[i].maneuver.instructionText,
87 …"distance": Helper.formatDistance(routeModel.get(0).segments[i].maneuver.distanceToNextInstruction)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/src/
H A Dqml-maps.qdoc125 is a vertex called a \e maneuver. The \e segments contain information about
128 a \e maneuver contains navigational information, for example "turn right now".
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/
H A Dtst_routing.qml142 compare(emptySegment.maneuver.valid, emptyManeuver.valid)
143 compare(emptySegment.maneuver.instructionText, emptyManeuver.instructionText)
144 compare(emptySegment.maneuver.waypointValid, emptyManeuver.waypointValid)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/location/
H A Dplugins.qmltypes989 … Property { name: "maneuver"; type: "QDeclarativeGeoManeuver"; isReadonly: true; isPointer: true }