/usr/share/qt5/doc/qtpositioning/qml-qtpositioning-position.html is in qtlocation5-doc-html 5.2.1-1ubuntu2.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativeposition.cpp -->
<title>Position | QtPositioning 5.2</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.2</li>
<li><a href="qtpositioning-index.html">Qt Positioning</a></li>
<li><a href="qtpositioning-qmlmodule.html">QML Types</a></li>
<li>Position</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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>
<h1 class="title">Position</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 -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> </b><tt>import QtPositioning 5.2</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.2</td></tr></table><ul>
<li><a href="qml-qtpositioning-position-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>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#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#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>
</ul>
<!-- $$$Position-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>The Position type holds values related to geographic location such as a <a href="qml-qtpositioning-position.html#coordinate-prop">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="qml-qtpositioning-positionsource.html">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="qml-qtpositioning-position.html#coordinate-prop">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="qml-qtpositioning-positionsource.html">PositionSource</a>.</p>
<a name="example-usage"></a>
<h3>Example Usage</h3>
<p>See the example given for the <a href="qml-qtpositioning-positionsource.html">PositionSource</a> type, or the <a href="qtpositioning-flickr-example.html">Flickr</a> example application.</p>
<p><b>See also </b><a href="qml-qtpositioning-positionsource.html">PositionSource</a> and <a href="qml-qtpositioning-position.html#coordinate-prop">coordinate</a>.</p>
<!-- @@@Position -->
<h2>Property Documentation</h2>
<!-- $$$altitudeValid -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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="qml-qtpositioning-position.html#coordinate-prop">coordinate</a>.</p>
</div></div><!-- @@@altitudeValid -->
<br/>
<!-- $$$coordinate -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="coordinate-prop"></a><span class="name">coordinate</span> : <span class="type"><a href="qml-coordinate.html">coordinate</a></span></p></td></tr></table></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/>
<!-- $$$horizontalAccuracy -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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="qml-qtpositioning-position.html#coordinate-prop">coordinate</a>.</p>
</div></div><!-- @@@horizontalAccuracy -->
<br/>
<!-- $$$horizontalAccuracyValid -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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"><table class="qmlname"><tr valign="top" class="odd"><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 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="qml-qtpositioning-position.html#coordinate-prop">coordinate</a>.</p>
</div></div><!-- @@@latitudeValid -->
<br/>
<!-- $$$longitudeValid -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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="qml-qtpositioning-position.html#coordinate-prop">coordinate</a>.</p>
</div></div><!-- @@@longitudeValid -->
<br/>
<!-- $$$speed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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="qml-qtpositioning-position.html#coordinate-prop">coordinate</a>.</p>
</div></div><!-- @@@speed -->
<br/>
<!-- $$$speedValid -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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"><table class="qmlname"><tr valign="top" class="odd"><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 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"><table class="qmlname"><tr valign="top" class="odd"><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 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="qml-qtpositioning-position.html#coordinate-prop">coordinate</a>.</p>
</div></div><!-- @@@verticalAccuracy -->
<br/>
<!-- $$$verticalAccuracyValid -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|