/usr/share/qt5/doc/qtpositioning/qml-qtpositioning-position.html is in qtlocation5-doc-html 5.5.1-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativeposition.cpp -->
<title>Position QML Type | Qt Positioning 5.5</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.5</li>
<li><a href="qtpositioning-index.html">Qt Positioning</a></li>
<li><a href="qtpositioning-qmlmodule.html">QML Types</a></li>
<li>Position QML Type</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#example-usage">Example Usage</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Position QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Position-brief -->
<p>The Position type holds positional data at a particular point in time, such as coordinate (longitude, latitude, altitude) and speed. <a href="#details">More...</a></p>
<!-- @@@Position -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtPositioning 5.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.2</td></tr></table></div><ul>
<li><a href="qml-qtpositioning-position-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#altitudeValid-prop">altitudeValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#coordinate-prop">coordinate</a></b></b> : coordinate</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#direction-prop">direction</a></b></b> : double</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#directionValid-prop">directionValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#horizontalAccuracy-prop">horizontalAccuracy</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#horizontalAccuracyValid-prop">horizontalAccuracyValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#latitudeValid-prop">latitudeValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#longitudeValid-prop">longitudeValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#magneticVariation-prop">magneticVariation</a></b></b> : double</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#magneticVariationValid-prop">magneticVariationValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#speed-prop">speed</a></b></b> : double</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#speedValid-prop">speedValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#timestamp-prop">timestamp</a></b></b> : date</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#verticalAccuracy-prop">verticalAccuracy</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#verticalAccuracyValid-prop">verticalAccuracyValid</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#verticalSpeed-prop">verticalSpeed</a></b></b> : double</li>
<li class="fn"><b><b><a href="qml-qtpositioning-position.html#verticalSpeedValid-prop">verticalSpeedValid</a></b></b> : bool</li>
</ul>
<!-- $$$Position-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>The Position type holds values related to geographic location such as a <a href="location-positioning-qml.html#coordinate">coordinate</a> (longitude, latitude, and altitude), the <a href="qml-qtpositioning-position.html#timestamp-prop">timestamp</a> when the Position was obtained, the <a href="qml-qtpositioning-position.html#speed-prop">speed</a> at that time, and the accuracy of the data.</p>
<p>Primarily, it is used in the <a href="qml-qtpositioning-positionsource.html#position-prop">position</a> property of a <a href="location-positioning-qml.html#positionsource">PositionSource</a>, as the basic unit of data available from the system location data source.</p>
<p>Not all properties of a Position object are necessarily valid or available (for example latitude and longitude may be valid, but speed update has not been received or set manually). As a result, corresponding "valid" properties are available (for example <a href="location-positioning-qml.html#coordinate">coordinate</a> and <a href="qml-qtpositioning-position.html#longitudeValid-prop">longitudeValid</a>, <a href="qml-qtpositioning-position.html#latitudeValid-prop">latitudeValid</a> etc) to discern whether the data is available and valid in this position update.</p>
<p>Position objects are read-only and can only be produced by a <a href="location-positioning-qml.html#positionsource">PositionSource</a>.</p>
<a name="example-usage"></a>
<h3 >Example Usage</h3>
<p>See the example given for the <a href="location-positioning-qml.html#positionsource">PositionSource</a> type, or the <a href="qtpositioning-geoflickr-example.html">GeoFlickr</a> example application.</p>
<p><b>See also </b><a href="location-positioning-qml.html#positionsource">PositionSource</a> and <a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
<!-- @@@Position -->
<h2>Property Documentation</h2>
<!-- $$$altitudeValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="altitudeValid-prop"><td class="tblQmlPropNode"><p><a name="altitudeValid-prop"></a><span class="name">altitudeValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if coordinate's altitude has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p><b>See also </b><a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
</div></div><!-- @@@altitudeValid -->
<br/>
<!-- $$$coordinate -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="coordinate-prop"><td class="tblQmlPropNode"><p><a name="coordinate-prop"></a><span class="name">coordinate</span> : <span class="type"><a href="qml-qtpositioning-position.html#coordinate-prop">coordinate</a></span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the latitude, longitude, and altitude value of the Position.</p>
<p>It is a read-only property.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#longitudeValid-prop">longitudeValid</a>, <a href="qml-qtpositioning-position.html#latitudeValid-prop">latitudeValid</a>, and <a href="qml-qtpositioning-position.html#altitudeValid-prop">altitudeValid</a>.</p>
</div></div><!-- @@@coordinate -->
<br/>
<!-- $$$direction -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="direction-prop"><td class="tblQmlPropNode"><p><a name="direction-prop"></a><span class="name">direction</span> : <span class="type">double</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the value of the direction of travel in degrees from true north.</p>
<p>It is a read-only property.</p>
<p>This QML property was introduced in Qt Positioning 5.3.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#directionValid-prop">directionValid</a>.</p>
</div></div><!-- @@@direction -->
<br/>
<!-- $$$directionValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="directionValid-prop"><td class="tblQmlPropNode"><p><a name="directionValid-prop"></a><span class="name">directionValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if <a href="qml-qtpositioning-position.html#direction-prop">direction</a> has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p>This QML property was introduced in Qt Positioning 5.3.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#direction-prop">direction</a>.</p>
</div></div><!-- @@@directionValid -->
<br/>
<!-- $$$horizontalAccuracy -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="horizontalAccuracy-prop"><td class="tblQmlPropNode"><p><a name="horizontalAccuracy-prop"></a><span class="name">horizontalAccuracy</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the horizontal accuracy of the coordinate (in meters).</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#horizontalAccuracyValid-prop">horizontalAccuracyValid</a> and <a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
</div></div><!-- @@@horizontalAccuracy -->
<br/>
<!-- $$$horizontalAccuracyValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="horizontalAccuracyValid-prop"><td class="tblQmlPropNode"><p><a name="horizontalAccuracyValid-prop"></a><span class="name">horizontalAccuracyValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if <a href="qml-qtpositioning-position.html#horizontalAccuracy-prop">horizontalAccuracy</a> has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#horizontalAccuracy-prop">horizontalAccuracy</a>.</p>
</div></div><!-- @@@horizontalAccuracyValid -->
<br/>
<!-- $$$latitudeValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="latitudeValid-prop"><td class="tblQmlPropNode"><p><a name="latitudeValid-prop"></a><span class="name">latitudeValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if coordinate's latitude has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p><b>See also </b><a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
</div></div><!-- @@@latitudeValid -->
<br/>
<!-- $$$longitudeValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="longitudeValid-prop"><td class="tblQmlPropNode"><p><a name="longitudeValid-prop"></a><span class="name">longitudeValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if coordinate's longitude has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p><b>See also </b><a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
</div></div><!-- @@@longitudeValid -->
<br/>
<!-- $$$magneticVariation -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="magneticVariation-prop"><td class="tblQmlPropNode"><p><a name="magneticVariation-prop"></a><span class="name">magneticVariation</span> : <span class="type">double</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the angle between the horizontal component of the magnetic field and true north, in degrees. Also known as magnetic declination. A positive value indicates a clockwise direction from true north and a negative value indicates a counter-clockwise direction.</p>
<p>It is a read-only property.</p>
<p>This QML property was introduced in Qt Positioning 5.4.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#magneticVariationValid-prop">magneticVariationValid</a>.</p>
</div></div><!-- @@@magneticVariation -->
<br/>
<!-- $$$magneticVariationValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="magneticVariationValid-prop"><td class="tblQmlPropNode"><p><a name="magneticVariationValid-prop"></a><span class="name">magneticVariationValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if <a href="qml-qtpositioning-position.html#magneticVariation-prop">magneticVariation</a> has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p>This QML property was introduced in Qt Positioning 5.4.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#magneticVariation-prop">magneticVariation</a>.</p>
</div></div><!-- @@@magneticVariationValid -->
<br/>
<!-- $$$speed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="speed-prop"><td class="tblQmlPropNode"><p><a name="speed-prop"></a><span class="name">speed</span> : <span class="type">double</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the value of speed (groundspeed, meters / second).</p>
<p>It is a read-only property.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#speedValid-prop">speedValid</a> and <a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
</div></div><!-- @@@speed -->
<br/>
<!-- $$$speedValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="speedValid-prop"><td class="tblQmlPropNode"><p><a name="speedValid-prop"></a><span class="name">speedValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if <a href="qml-qtpositioning-position.html#speed-prop">speed</a> has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#speed-prop">speed</a>.</p>
</div></div><!-- @@@speedValid -->
<br/>
<!-- $$$timestamp -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="timestamp-prop"><td class="tblQmlPropNode"><p><a name="timestamp-prop"></a><span class="name">timestamp</span> : <span class="type">date</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the timestamp when this position was received. If the property has not been set, it is invalid.</p>
<p>It is a read-only property.</p>
</div></div><!-- @@@timestamp -->
<br/>
<!-- $$$verticalAccuracy -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="verticalAccuracy-prop"><td class="tblQmlPropNode"><p><a name="verticalAccuracy-prop"></a><span class="name">verticalAccuracy</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the vertical accuracy of the coordinate (in meters).</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#verticalAccuracyValid-prop">verticalAccuracyValid</a> and <a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
</div></div><!-- @@@verticalAccuracy -->
<br/>
<!-- $$$verticalAccuracyValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="verticalAccuracyValid-prop"><td class="tblQmlPropNode"><p><a name="verticalAccuracyValid-prop"></a><span class="name">verticalAccuracyValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if <a href="qml-qtpositioning-position.html#verticalAccuracy-prop">verticalAccuracy</a> has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#verticalAccuracy-prop">verticalAccuracy</a>.</p>
</div></div><!-- @@@verticalAccuracyValid -->
<br/>
<!-- $$$verticalSpeed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="verticalSpeed-prop"><td class="tblQmlPropNode"><p><a name="verticalSpeed-prop"></a><span class="name">verticalSpeed</span> : <span class="type">double</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the value of the vertical speed in meters per second.</p>
<p>It is a read-only property.</p>
<p>This QML property was introduced in Qt Positioning 5.3.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#verticalSpeedValid-prop">verticalSpeedValid</a>.</p>
</div></div><!-- @@@verticalSpeed -->
<br/>
<!-- $$$verticalSpeedValid -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="verticalSpeedValid-prop"><td class="tblQmlPropNode"><p><a name="verticalSpeedValid-prop"></a><span class="name">verticalSpeedValid</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property is true if <a href="qml-qtpositioning-position.html#verticalSpeed-prop">verticalSpeed</a> has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data).</p>
<p>This QML property was introduced in Qt Positioning 5.3.</p>
<p><b>See also </b><a href="qml-qtpositioning-position.html#verticalSpeed-prop">verticalSpeed</a>.</p>
</div></div><!-- @@@verticalSpeedValid -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|