Home
last modified time | relevance | path

Searched refs:QGeoRectangle (Results 1 – 25 of 111) sorted by relevance

12345

/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeorectangle/
H A Dtst_qgeorectangle.cpp101 QGeoRectangle box; in default_constructor()
108 QGeoRectangle b1 = QGeoRectangle(QGeoCoordinate(5.0, 5.0), 10.0, 10.0); in center_constructor()
116 QGeoRectangle b1 = QGeoRectangle(QGeoCoordinate(10.0, 0.0), in corner_constructor()
126 QGeoRectangle b1 = QGeoRectangle(coordinates); in list_constructor()
130 b1 = QGeoRectangle(coordinates); in list_constructor()
135 b1 = QGeoRectangle(coordinates); in list_constructor()
142 QGeoRectangle b1 = QGeoRectangle(QGeoCoordinate(10.0, 0.0), in copy_constructor()
144 QGeoRectangle b2 = QGeoRectangle(b1); in copy_constructor()
155 QGeoRectangle areaBox(area); in copy_constructor()
160 QGeoRectangle circleBox(circle); in copy_constructor()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeorectangle.cpp182 inline QGeoRectanglePrivate *QGeoRectangle::d_func() in d_func()
187 inline const QGeoRectanglePrivate *QGeoRectangle::d_func() const in d_func()
196 QMetaType::registerConverter<QGeoRectangle, QGeoShape>(); in RectangleVariantConversions()
197 QMetaType::registerConverter<QGeoShape, QGeoRectangle>(); in RectangleVariantConversions()
207 QGeoRectangle::QGeoRectangle() in Q_GLOBAL_STATIC()
223 QGeoRectangle::QGeoRectangle(const QGeoCoordinate &center, double degreesWidth, double degreesHeigh… in QGeoRectangle() function in QGeoRectangle
235 QGeoRectangle::QGeoRectangle(const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight) in QGeoRectangle() function in QGeoRectangle
244 QGeoRectangle::QGeoRectangle(const QList<QGeoCoordinate> &coordinates) in QGeoRectangle() function in QGeoRectangle
262 QGeoRectangle::QGeoRectangle(const QGeoRectangle &other) in QGeoRectangle() function in QGeoRectangle
271 QGeoRectangle::QGeoRectangle(const QGeoShape &other) in QGeoRectangle() function in QGeoRectangle
[all …]
H A Dqgeorectangle.h49 class Q_POSITIONING_EXPORT QGeoRectangle : public QGeoShape
61 QGeoRectangle();
62 QGeoRectangle(const QGeoCoordinate &center, double degreesWidth, double degreesHeight);
63 QGeoRectangle(const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight);
64 QGeoRectangle(const QList<QGeoCoordinate> &coordinates);
65 QGeoRectangle(const QGeoRectangle &other);
66 QGeoRectangle(const QGeoShape &other);
68 ~QGeoRectangle();
70 QGeoRectangle &operator=(const QGeoRectangle &other);
73 bool operator==(const QGeoRectangle &other) const;
[all …]
H A Dqgeopath_p.h69 QGeoRectangle &m_bbox) in computeBBox()
77 m_bbox = QGeoRectangle(); in computeBBox()
115 m_bbox = QGeoRectangle(QGeoCoordinate(m_maxLati, m_path.at(minId).longitude()), in computeBBox()
125 QGeoRectangle &m_bbox) in updateBBox()
133 m_bbox = QGeoRectangle(); in updateBBox()
139 m_bbox = QGeoRectangle(QGeoCoordinate(m_maxLati, m_path.at(0).longitude()), in updateBBox()
175 m_bbox = QGeoRectangle(QGeoCoordinate(m_maxLati, currentMinLongi), in updateBBox()
194 virtual QGeoRectangle boundingGeoRectangle() const override;
222 QGeoRectangle m_bbox; // cached
H A Dqgeolocation.h51 class QGeoRectangle; variable
73 QGeoRectangle boundingBox() const; // ### Qt6: change this into QGeoShape geometry
74 void setBoundingBox(const QGeoRectangle &box);
H A Dqgeocircle.cpp262 QGeoRectangle QGeoCirclePrivate::boundingGeoRectangle() const in boundingGeoRectangle()
282 m_bbox = QGeoRectangle(QGeoCoordinate(90.0, -180.0), QGeoCoordinate(-90.0, 180.0)); in updateBoundingBox()
285 …m_bbox = QGeoRectangle(QGeoCoordinate(90.0, -180.0), QGeoCoordinate(m_center.atDistanceAndAzimuth(… in updateBoundingBox()
287 …m_bbox = QGeoRectangle(QGeoCoordinate(m_center.atDistanceAndAzimuth(m_radius, 0.0).latitude(), -18… in updateBoundingBox()
325 m_bbox = QGeoRectangle(topLeft, bottomRight); in updateBoundingBox()
H A Dqgeoshape.cpp240 QGeoRectangle QGeoShape::boundingGeoRectangle() const in boundingGeoRectangle()
247 return QGeoRectangle(); in boundingGeoRectangle()
371 QGeoRectangle r = shape; in operator <<()
412 shape = QGeoRectangle(tl, br); in operator >>()
H A Dqgeocircle_p.h73 QGeoRectangle boundingGeoRectangle() const override;
89 QGeoRectangle m_bbox;
H A Dqgeoshape.h50 class QGeoRectangle; variable
78 Q_INVOKABLE QGeoRectangle boundingGeoRectangle() const;
H A Dqgeolocation.cpp184 QGeoRectangle QGeoLocation::boundingBox() const in boundingBox()
192 void QGeoLocation::setBoundingBox(const QGeoRectangle &boundingBox) in setBoundingBox()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/positioning/
H A Dlocationsingleton.cpp131 QGeoRectangle LocationSingleton::rectangle() const in rectangle()
133 return QGeoRectangle(); in rectangle()
144 QGeoRectangle LocationSingleton::rectangle(const QGeoCoordinate &center, in rectangle()
147 return QGeoRectangle(center, width, height); in rectangle()
158 QGeoRectangle LocationSingleton::rectangle(const QGeoCoordinate &topLeft, in rectangle()
161 return QGeoRectangle(topLeft, bottomRight); in rectangle()
172 QGeoRectangle LocationSingleton::rectangle(const QVariantList &coordinates) const in rectangle()
179 return QGeoRectangle(internalCoordinates); in rectangle()
332 QGeoRectangle LocationSingleton::shapeToRectangle(const QGeoShape &shape) const in shapeToRectangle()
334 return QGeoRectangle(shape); in shapeToRectangle()
H A Dlocationsingleton.h79 Q_INVOKABLE QGeoRectangle rectangle() const;
80 Q_INVOKABLE QGeoRectangle rectangle(const QGeoCoordinate &center,
82 Q_INVOKABLE QGeoRectangle rectangle(const QGeoCoordinate &topLeft,
84 Q_INVOKABLE QGeoRectangle rectangle(const QVariantList &coordinates) const;
97 Q_INVOKABLE QGeoRectangle shapeToRectangle(const QGeoShape &shape) const;
H A Dplugins.qmltypes33 Method { name: "rectangle"; type: "QGeoRectangle" }
36 type: "QGeoRectangle"
43 type: "QGeoRectangle"
49 type: "QGeoRectangle"
95 type: "QGeoRectangle"
146 Property { name: "boundingBox"; type: "QGeoRectangle" }
291 Method { name: "boundingGeoRectangle"; type: "QGeoRectangle" }
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoshape/
H A Dtst_qgeoshape.cpp91 QTest::newRow("uninitialized") << QGeoShape(QGeoRectangle()) << 45 in debug_data()
113 QVariant varRect = QVariant::fromValue(QGeoRectangle( in conversions()
120 QVERIFY(varShape.canConvert<QGeoRectangle>()); in conversions()
122 QVERIFY(varRect.canConvert<QGeoRectangle>()); in conversions()
125 QVERIFY(!varCircle.canConvert<QGeoRectangle>()); in conversions()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioningquick/
H A Dqdeclarativegeolocation_p.h70 …Q_PROPERTY(QGeoRectangle boundingBox READ boundingBox WRITE setBoundingBox NOTIFY boundingBoxChang…
86 QGeoRectangle boundingBox() const;
87 void setBoundingBox(const QGeoRectangle &boundingBox);
97 QGeoRectangle m_boundingBox;
H A Dqdeclarativegeolocation.cpp188 void QDeclarativeGeoLocation::setBoundingBox(const QGeoRectangle &boundingBox) in setBoundingBox()
197 QGeoRectangle QDeclarativeGeoLocation::boundingBox() const in boundingBox()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacesearchrequest/
H A Dtst_qplacesearchrequest.cpp119 QGeoRectangle box; in boundingBoxTest()
129 QGeoRectangle retrievedBox = query.searchArea(); in boundingBoxTest()
147 QGeoRectangle box; in searchAreaTest()
198 QGeoRectangle b1(QGeoCoordinate(20,20), QGeoCoordinate(10,30)); in operatorsTest()
199 QGeoRectangle b2(QGeoCoordinate(20,20), QGeoCoordinate(10,30)); in operatorsTest()
200 QGeoRectangle b3(QGeoCoordinate(40,40), QGeoCoordinate(10,40)); in operatorsTest()
225 QGeoRectangle b4(QGeoCoordinate(20,20),QGeoCoordinate(10,30)); in operatorsTest()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoroute_p.h81 virtual void setBounds(const QGeoRectangle &bounds);
82 virtual QGeoRectangle bounds() const;
136 virtual void setBounds(const QGeoRectangle &bounds) override;
137 virtual QGeoRectangle bounds() const override;
172 QGeoRectangle m_bounds;
H A Dqgeoroute.cpp191 void QGeoRoute::setBounds(const QGeoRectangle &bounds) in setBounds()
199 QGeoRectangle QGeoRoute::bounds() const in bounds()
416 void QGeoRoutePrivate::setBounds(const QGeoRectangle &bounds) in setBounds()
421 QGeoRectangle QGeoRoutePrivate::bounds() const in bounds()
423 return QGeoRectangle(); in bounds()
579 void QGeoRoutePrivateDefault::setBounds(const QGeoRectangle &bounds) in setBounds()
584 QGeoRectangle QGeoRoutePrivateDefault::bounds() const in bounds()
H A Dqgeoroute.h49 class QGeoRectangle; variable
72 void setBounds(const QGeoRectangle &bounds);
73 QGeoRectangle bounds() const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeolocation/
H A Dtst_qgeolocation.cpp117 QGeoRectangle qgeoboundingboxcopy(m_coordinate, 0.4, 0.4); in viewport()
203 location.setBoundingBox(QGeoRectangle(QGeoCoordinate(5,5),0.4,0.4)); in comparison()
218 otherLocation.setBoundingBox(QGeoRectangle(QGeoCoordinate(1,2), 0.5,0.5)); in comparison()
244 QGeoRectangle boundingBox; in isEmpty()
270 location.setBoundingBox(QGeoRectangle()); in isEmpty()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeorouterequest/
H A Dtst_qgeorouterequest.cpp50 qgeoboundingbox = new QGeoRectangle(); in init()
135 QGeoRectangle *qgeoboundingboxcopy = new QGeoRectangle(*qgeocoordinate, 0.4, 0.4); in excludeAreas()
136 QGeoRectangle *qgeoboundingboxcopy2 = new QGeoRectangle(*qgeocoordinatecopy, 1.2, 0.9); in excludeAreas()
137 QList<QGeoRectangle> areas; in excludeAreas()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocircle/
H A Dtst_qgeocircle.cpp142 QGeoRectangle b1(QGeoCoordinate(20,20),QGeoCoordinate(10,30)); in comparison()
342 QGeoRectangle box = c.boundingGeoRectangle(); in boundingGeoRectangle()
403 QGeoRectangle b(QGeoCoordinate(10.0, 0.0), QGeoCoordinate(0.0, 10.0)); in areaComparison_data()
428 QTest::addColumn<QGeoRectangle>("box"); in boxComparison_data()
433 QGeoRectangle b(QGeoCoordinate(10.0, 0.0), QGeoCoordinate(0.0, 10.0)); in boxComparison_data()
435 QTest::newRow("default constructed") << QGeoRectangle() << QGeoCircle() << false; in boxComparison_data()
441 QFETCH(QGeoRectangle, box); in boxComparison()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroute/
H A Dtst_qgeoroute.cpp60 QGeoRectangle *boundingbox = new QGeoRectangle(); in constructor()
101 QGeoRectangle *qgeoboundingbox = new QGeoRectangle(*qgeocoordinate,0.4,0.4); in bounds()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoareamonitor/
H A Dtst_qgeoareamonitor.cpp350 QGeoRectangle r_below(QGeoCoordinate(1,1),2,2); in tst_activeMonitors()
355 QGeoRectangle r_above(QGeoCoordinate(2,1),2,2); in tst_activeMonitors()
368 results = obj->activeMonitors(QGeoRectangle(QGeoCoordinate(1,1),0.2, 0.2)); in tst_activeMonitors()
401 results = secondObj->activeMonitors(QGeoRectangle(QGeoCoordinate(1,1),0.2, 0.2)); in tst_activeMonitors()
449 mon.setArea(QGeoRectangle(QGeoCoordinate(i,i), i, i)); in tst_testExpiryTimeout()
461 info.setArea(QGeoRectangle(QGeoCoordinate(10,10), 1, 1 )); in tst_testExpiryTimeout()
510 infoRectangle.setArea(QGeoRectangle(QGeoCoordinate(-27.65, 153.093), 0.2, 0.2)); in tst_enteredExitedSignal()
520 singleShot_enter.setArea(QGeoRectangle(QGeoCoordinate(-27.67, 153.093), 0.2, 0.2)); in tst_enteredExitedSignal()
526 singleShot_exit.setArea(QGeoRectangle(QGeoCoordinate(-27.70, 153.093), 0.2, 0.2)); in tst_enteredExitedSignal()
650 infoRectangle.setArea(QGeoRectangle(QGeoCoordinate(-27.70, 153.092), 0.2, 0.2)); in tst_swapOfPositionSource()
[all …]

12345