| CMakeLists.txt |
|
3654 |
- |
| configure.cmake |
|
799 |
- |
| configure.json |
|
1030 |
- |
| doc |
|
|
- |
| qclipperutils.cpp |
|
3500 |
- |
| qclipperutils_p.h |
This file is intended to be include only in source files of
QtPositioning/QtLocation. It is in QtPositioning to enable manipulation
of geo polygons
|
2570 |
- |
| qdoublematrix4x4.cpp |
|
33410 |
- |
| qdoublematrix4x4_p.h |
This class is a copy/paste/replace of QMatrix4x4
No algorithm has been changed.
Some methods have been removed.
|
31028 |
- |
| qdoublevector2d.cpp |
|
1713 |
- |
| qdoublevector2d_p.h |
|
6987 |
- |
| qdoublevector3d.cpp |
|
2514 |
- |
| qdoublevector3d_p.h |
|
8559 |
- |
| qgeoaddress.cpp |
Combines a list of address parts into a single line.
The parts parameter contains both address elements such as city, state and so on
as well as separators such as spaces and commas.
It is expected that an element is always followed by a separator and the last
sepator is usually a new line delimeter.
For example: Springfield, 8900
would have four parts
["Springfield", ", ", "8900", "<br>"]
The addressLine takes care of putting in separators appropriately or leaving
them out depending on whether the adjacent elements are present or not.
For example if city were empty in the above scenario the returned string is "8900<br>"
If the postal code was empty, returned string is "Springfield<br>"
If both city and postal code were empty, the returned string is "".
|
30580 |
- |
| qgeoaddress.h |
|
2293 |
- |
| qgeoaddress_p.h |
|
1494 |
- |
| qgeoareamonitorinfo.cpp |
!
\class QGeoAreaMonitorInfo
\inmodule QtPositioning
\since 5.2
\ingroup QtPositioning-positioning
\ingroup shared
\brief The QGeoAreaMonitorInfo class describes the parameters of an area or region
to be monitored for proximity.
The purpose of area monitoring is to inform a user when he/she comes close to an area of
interest. In general such an area is described by a \l QGeoCircle. The circle's center
represents the place of interest and the area around it identifies the geographical region
within which notifications are sent.
A QGeoAreaMonitorInfo object is valid if it has a non-empty name and a valid \l area().
Such objects must be registered with a \l QGeoAreaMonitorSource to start and stop the
monitoring process. Note that extensive monitoring can be very resource consuming
because the positioning engine must remain active and has to match the current position
with each QGeoAreaMonitorInfo instance.
To further reduce the burden on the system there are optional attributes which can
set. Each monitored area can have an expiry date which automatically removes the
to-be-monitored area from the monitoring source once the expiry date has been reached.
Another option is to adjust the persistence of a monitored area. A QGeoAreaMonitorInfo
that \l isPersistent() will remain active beyond
the current applications lifetime. If an area is entered while the monitoring
application is not running the application will be started. Note that this feature is
not available on all platforms. Its availability can be checked via
\l QGeoAreaMonitorSource::supportedAreaMonitorFeatures().
\sa QGeoAreaMonitorSource
|
11400 |
- |
| qgeoareamonitorinfo.h |
|
3402 |
- |
| qgeoareamonitorsource.cpp |
!
\class QGeoAreaMonitorSource
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.2
\brief The QGeoAreaMonitorSource class enables the detection of proximity
changes for a specified set of coordinates.
A QGeoAreaMonitorSource emits signals when the current position is in
range, or has moved out of range, of a specified area.
Each area is specified by a \l QGeoAreaMonitorInfo object.
For example:
\snippet cpp/cppqml.cpp BigBen
\c QGeoAreaMonitorSource follows a singleton pattern. Each instance of
the class with the same \l sourceName() shares the same area monitoring backend.
If a new \l QGeoAreaMonitorInfo object is added via \l startMonitoring()
or \l requestUpdate() it can be retrieved by another instance of this class
(provided that they are sourced from the same area monitor provider plug-in).
The same singleton pattern applies to the \l QGeoPositionInfoSource instance
used by this class. The following code snippet emphasizes the behavior:
\code
QGeoAreaMonitorSource *s1 = QGeoAreaMonitorSource::createSource("blah", this);
QGeoAreaMonitorSource *s2 = QGeoAreaMonitorSource::createSource("blah", this);
QVERIFY(s1->positionInfoSource() == s2->positionInfoSource);
\endcode
|
14747 |
- |
| qgeoareamonitorsource.h |
|
2538 |
- |
| qgeocircle.cpp |
!
\class QGeoCircle
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.2
\brief The QGeoCircle class defines a circular geographic area.
The circle is defined in terms of a QGeoCoordinate which specifies the
center of the circle and a qreal which specifies the radius of the circle
in meters.
The circle is considered invalid if the center coordinate is invalid
or if the radius is less than zero.
This class is also accessible in QML as \l[QML]{geoCircle}.
|
11715 |
- |
| qgeocircle.h |
|
1805 |
- |
| qgeocircle_p.h |
|
1536 |
- |
| qgeocoordinate.cpp |
!
\class QGeoCoordinate
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.2
\brief The QGeoCoordinate class defines a geographical position on the surface of the Earth.
A QGeoCoordinate is defined by latitude, longitude, and optionally, altitude.
Use type() to determine whether a coordinate is a 2D coordinate (has
latitude and longitude only) or 3D coordinate (has latitude, longitude
and altitude). Use distanceTo() and azimuthTo() to calculate the distance
and bearing between coordinates.
The coordinate values should be specified using the WGS84 datum. For more information
on geographical terms see this article on \l {http://en.wikipedia.org/wiki/Geographic_coordinate_system}{coordinates} and
another on \l {http://en.wikipedia.org/wiki/Geodetic_system}{geodetic systems}
including WGS84.
Azimuth in this context is equivalent to a compass bearing based on true north.
This class is also accessible in QML as \l[QML]{geoCoordinate}.
|
24139 |
- |
| qgeocoordinate.h |
|
3834 |
- |
| qgeocoordinate_p.h |
|
1716 |
- |
| qgeocoordinateobject.cpp |
Note: This class only purpose is to enable conversion between QGeoCoordinate and QDeclarativeGeoWaypoint.
Since QGeoCoordinate lives in the QtPositioning module, this class acts as a base for QDeclarativeGeoWaypoint,
and contains the bare minimum to convert/compare to a QGeoCoordinate
|
1580 |
- |
| qgeocoordinateobject_p.h |
|
1948 |
- |
| qgeolocation.cpp |
!
\class QGeoLocation
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\ingroup QtLocation-places
\ingroup QtLocation-places-data
\since 5.2
\brief The QGeoLocation class represents basic information about a location.
A QGeoLocation consists of a coordinate and corresponding address, along with an optional
bounding shape, which is the recommended region to be displayed when viewing the location.
|
6155 |
- |
| qgeolocation.h |
|
1917 |
- |
| qgeolocation_p.h |
|
1114 |
- |
| qgeopath.cpp |
!
\class QGeoPath
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.9
\brief The QGeoPath class defines a geographic path.
The path is defined by an ordered list of \l QGeoCoordinate objects.
Each two adjacent elements in the path are intended to be connected
together by the shortest line segment of constant bearing passing
through both elements.
This type of connection can cross the dateline in the longitudinal direction,
but never crosses the poles.
This is relevant for the calculation of the bounding box returned by
\l QGeoShape::boundingGeoRectangle() for this shape, which will have the latitude of
the top left corner set to the maximum latitude in the path point set.
Similarly, the latitude of the bottom right corner will be the minimum latitude
in the path point set.
This class is also accessible in QML as \l[QML]{geoPath}.
A QGeoPath is both invalid and empty if it contains no coordinate.
\note A default constructed QGeoPath is both invalid and empty as it does not contain any coordinates.
|
21578 |
- |
| qgeopath.h |
|
2528 |
- |
| qgeopath_p.h |
|
8885 |
- |
| qgeopolygon.cpp |
!
\class QGeoPolygon
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.10
\brief The QGeoPolygon class defines a geographic polygon.
The polygon is defined by an ordered list of \l QGeoCoordinate objects
representing its perimeter.
Each two adjacent elements in this list are intended to be connected
together by the shortest line segment of constant bearing passing
through both elements.
This type of connection can cross the date line in the longitudinal direction,
but never crosses the poles.
This is relevant for the calculation of the bounding box returned by
\l QGeoShape::boundingGeoRectangle() for this shape, which will have the latitude of
the top left corner set to the maximum latitude in the path point set.
Similarly, the latitude of the bottom right corner will be the minimum latitude
in the path point set.
This class is also accessible in QML as \l[QML]{geoPolygon}.
|
20596 |
- |
| qgeopolygon.h |
|
2742 |
- |
| qgeopolygon_p.h |
|
3356 |
- |
| qgeopositioninfo.cpp |
!
\class QGeoPositionInfo
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\ingroup shared
\since 5.2
\brief The QGeoPositionInfo class contains information gathered on a global position, direction and velocity at a particular point in time.
A QGeoPositionInfo contains, at a minimum, a geographical coordinate and
a timestamp. It may also have heading and speed measurements as well as
estimates of the accuracy of the provided data.
\sa QGeoPositionInfoSource
|
11581 |
- |
| qgeopositioninfo.h |
|
3981 |
- |
| qgeopositioninfo_p.h |
|
1184 |
- |
| qgeopositioninfosource.cpp |
!
\class QGeoPositionInfoSource
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.2
\brief The QGeoPositionInfoSource class is an abstract base class for the distribution of positional updates.
The static function QGeoPositionInfoSource::createDefaultSource() creates a default
position source that is appropriate for the platform, if one is available.
Otherwise, QGeoPositionInfoSource will check for available plugins that
implement the QGeoPositionInfoSourceFactory interface.
Users of a QGeoPositionInfoSource subclass can request the current position using
requestUpdate(), or start and stop regular position updates using
startUpdates() and stopUpdates(). When an update is available,
positionUpdated() is emitted. The last known position can be accessed with
lastKnownPosition().
If regular position updates are required, setUpdateInterval() can be used
to specify how often these updates should be emitted. If no interval is
specified, updates are simply provided whenever they are available.
For example:
\code
// Emit updates every 10 seconds if available
QGeoPositionInfoSource *source = QGeoPositionInfoSource::createDefaultSource(0);
if (source)
source->setUpdateInterval(10000);
\endcode
To remove an update interval that was previously set, call
setUpdateInterval() with a value of 0.
\note The position source may have a minimum value requirement for
update intervals, as returned by minimumUpdateInterval().
\note To use this class from Android service, see
\l {Qt Positioning on Android}.
|
22752 |
- |
| qgeopositioninfosource.h |
|
3331 |
- |
| qgeopositioninfosource_p.h |
|
2147 |
- |
| qgeopositioninfosourcefactory.cpp |
!
\class QGeoPositionInfoSourceFactory
\inmodule QtPositioning
\since 5.2
\brief The QGeoPositionInfoSourceFactory class is a factory class used
as the plugin interface for external providers of positioning data.
Each factory method takes a parameters argument, which allows to configure
the created source.
|
1892 |
- |
| qgeopositioninfosourcefactory.h |
|
1116 |
- |
| qgeorectangle.cpp |
!
\class QGeoRectangle
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.2
\brief The QGeoRectangle class defines a rectangular geographic area.
The rectangle is defined in terms of a QGeoCoordinate which specifies the
top left coordinate of the rectangle and a QGeoCoordinate which specifies
the bottom right coordinate of the rectangle.
A geo rectangle is considered invalid if the top left or bottom right
coordinates are invalid or if the top left coordinate is south of the
bottom right coordinate.
Geo rectangles can never cross the poles.
Several methods behave as though the geo rectangle is defined in terms of a
center coordinate, the width of the geo rectangle in degrees and the height
of the geo rectangle in degrees.
If the height or center of a geo rectangle is adjusted such that it would
cross one of the poles the height is modified such that the geo rectangle
touches but does not cross the pole and that the center coordinate is still
in the center of the geo rectangle.
This class is also accessible in QML as \l[QML]{geoRectangle}.
|
26041 |
- |
| qgeorectangle.h |
|
3316 |
- |
| qgeorectangle_p.h |
|
1393 |
- |
| qgeosatelliteinfo.cpp |
!
\class QGeoSatelliteInfo
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\ingroup shared
\since 5.2
\brief The QGeoSatelliteInfo class contains basic information about a satellite.
\sa QGeoSatelliteInfoSource
|
11634 |
- |
| qgeosatelliteinfo.h |
|
3900 |
- |
| qgeosatelliteinfo_p.h |
|
1177 |
- |
| qgeosatelliteinfosource.cpp |
!
\class QGeoSatelliteInfoSource
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.2
\brief The QGeoSatelliteInfoSource class is an abstract base class for the distribution of satellite information updates.
The static function QGeoSatelliteInfoSource::createDefaultSource() creates a default
satellite data source that is appropriate for the platform, if one is
available. Otherwise, available QGeoPositionInfoSourceFactory plugins will
be checked for one that has a satellite data source available.
Call startUpdates() and stopUpdates() to start and stop regular updates,
or requestUpdate() to request a single update.
When an update is available, satellitesInViewUpdated() and/or
satellitesInUseUpdated() will be emitted.
If regular satellite updates are required, setUpdateInterval() can be used
to specify how often these updates should be emitted. If no interval is
specified, updates are simply provided whenever they are available.
For example:
\code
// Emit updates every 10 seconds if available
QGeoSatelliteInfoSource *source = QGeoSatelliteInfoSource::createDefaultSource(0);
if (source)
source->setUpdateInterval(10000);
\endcode
To remove an update interval that was previously set, call
setUpdateInterval() with a value of 0.
\note The satellite source may have a minimum value requirement for
update intervals, as returned by minimumUpdateInterval().
\note To use this class from Android service, see
\l {Qt Positioning on Android}.
|
13336 |
- |
| qgeosatelliteinfosource.h |
|
2418 |
- |
| qgeosatelliteinfosource_p.h |
|
1201 |
- |
| qgeoshape.cpp |
!
\class QGeoShape
\inmodule QtPositioning
\ingroup QtPositioning-positioning
\since 5.2
\brief The QGeoShape class defines a geographic area.
This class is the base class for classes which specify a geographic
area.
For the sake of consistency, subclasses should describe the specific
details of the associated areas in terms of QGeoCoordinate instances
and distances in meters.
This class is also accessible in QML as \l[QML]{geoShape}.
|
10635 |
- |
| qgeoshape.h |
|
2706 |
- |
| qgeoshape_p.h |
|
1458 |
- |
| qlocationutils.cpp |
|
20468 |
- |
| qlocationutils_p.h |
|
9708 |
- |
| qnmeapositioninfosource.cpp |
|
33807 |
- |
| qnmeapositioninfosource.h |
|
2105 |
- |
| qnmeapositioninfosource_p.h |
|
3748 |
- |
| qnmeasatelliteinfosource.cpp |
|
31348 |
- |
| qnmeasatelliteinfosource.h |
|
2688 |
- |
| qnmeasatelliteinfosource_p.h |
|
4456 |
- |
| qpositioningglobal.h |
|
360 |
- |
| qpositioningglobal_p.h |
|
568 |
- |
| qwebmercator.cpp |
|
3217 |
- |
| qwebmercator_p.h |
|
1078 |
- |