/usr/share/qt5/doc/qtpositioning/qml-qtpositioning-qtpositioning.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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- locationsingleton.cpp -->
<title>QtPositioning 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>QtPositioning 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="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QtPositioning QML Type</h1>
<span class="subtitle"></span>
<!-- $$$QtPositioning-brief -->
<p>The <a href="qtpositioning-module.html">QtPositioning</a> global object provides useful functions for working with location-based types in QML. <a href="#details">More...</a></p>
<!-- @@@QtPositioning -->
<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-qtpositioning-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">geocircle <b><b><a href="qml-qtpositioning-qtpositioning.html#circle-method-2">circle</a></b></b>(coordinate <i> center</i>, real <i> radius</i>)</li>
<li class="fn">geocircle <b><b><a href="qml-qtpositioning-qtpositioning.html#circle-method">circle</a></b></b>()</li>
<li class="fn">coordinate <b><b><a href="qml-qtpositioning-qtpositioning.html#coordinate-method-2">coordinate</a></b></b>(real <i> latitude</i>, real <i> longitue</i>, real <i> altitude</i>)</li>
<li class="fn"><b><b><a href="qml-qtpositioning-qtpositioning.html#coordinate-method">coordinate</a></b></b>()</li>
<li class="fn">georectangle <b><b><a href="qml-qtpositioning-qtpositioning.html#rectangle-method-3">rectangle</a></b></b>(coordinate <i> topLeft</i>, coordinate <i> bottomRight</i>)</li>
<li class="fn">georectangle <b><b><a href="qml-qtpositioning-qtpositioning.html#rectangle-method-2">rectangle</a></b></b>(coordinate <i> center</i>, real <i> width</i>, real <i> height</i>)</li>
<li class="fn">georectangle <b><b><a href="qml-qtpositioning-qtpositioning.html#rectangle-method">rectangle</a></b></b>()</li>
<li class="fn">geoshape <b><b><a href="qml-qtpositioning-qtpositioning.html#shape-method">shape</a></b></b>()</li>
<li class="fn">geocircle <b><b><a href="qml-qtpositioning-qtpositioning.html#shapeToCircle-method">shapeToCircle</a></b></b>(geoshape <i> shape</i>)</li>
<li class="fn">georectangle <b><b><a href="qml-qtpositioning-qtpositioning.html#shapeToRectangle-method">shapeToRectangle</a></b></b>(geoshape <i> shape</i>)</li>
</ul>
<!-- $$$QtPositioning-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<pre class="qml">import QtPositioning 5.2
<span class="type">Item</span> {
property <span class="type">variant</span> <span class="name">coordinate</span>: <span class="name">QtPositioning</span>.<span class="name">coordinate</span>(-<span class="number">27.5</span>, <span class="number">153.1</span>)
}</pre>
<!-- @@@QtPositioning -->
<h2>Method Documentation</h2>
<!-- $$$circle -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="circle-method-2"><td class="tblQmlFuncNode"><p><a name="circle-method-2"></a><span class="type"><a href="qml-geocircle.html">geocircle</a></span> <span class="name">circle</span>(<span class="type"><a href="qml-qtpositioning-qtpositioning.html#coordinate-method">coordinate</a></span><i> center</i>, <span class="type">real</span><i> radius</i>) const</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs a geocircle centered at <i>center</i> with a radius of <i>radius</i> meters.</p>
</div></div><!-- @@@circle -->
<br/>
<!-- $$$circle -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="circle-method"><td class="tblQmlFuncNode"><p><a name="circle-method"></a><span class="type"><a href="qml-geocircle.html">geocircle</a></span> <span class="name">circle</span>() const</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs an invalid geocircle.</p>
<p><b>See also </b><a href="qml-geocircle.html">geocircle</a>.</p>
</div></div><!-- @@@circle -->
<br/>
<!-- $$$coordinate -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="coordinate-method-2"><td class="tblQmlFuncNode"><p><a name="coordinate-method-2"></a><span class="type"><a href="qml-qtpositioning-qtpositioning.html#coordinate-method">coordinate</a></span> <span class="name">coordinate</span>(<span class="type">real</span><i> latitude</i>, <span class="type">real</span><i> longitue</i>, <span class="type">real</span><i> altitude</i>) const</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs a coordinate with the specified <i>latitude</i>, <i>longitude</i> and optional <i>altitude</i>. Both <i>latitude</i> and <i>longitude</i> must be valid, otherwise an invalid coordinate is returned.</p>
<p><b>See also </b><a href="location-positioning-qml.html#coordinate">coordinate</a>.</p>
</div></div><!-- @@@coordinate -->
<br/>
<!-- $$$coordinate -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="coordinate-method"><td class="tblQmlFuncNode"><p><a name="coordinate-method"></a><span class="name">coordinate</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs an invalid coordinate.</p>
</div></div><!-- @@@coordinate -->
<br/>
<!-- $$$rectangle -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="rectangle-method-3"><td class="tblQmlFuncNode"><p><a name="rectangle-method-3"></a><span class="type"><a href="qml-georectangle.html">georectangle</a></span> <span class="name">rectangle</span>(<span class="type"><a href="qml-qtpositioning-qtpositioning.html#coordinate-method">coordinate</a></span><i> topLeft</i>, <span class="type"><a href="qml-qtpositioning-qtpositioning.html#coordinate-method">coordinate</a></span><i> bottomRight</i>) const</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs a georectangle with its top left corner positioned at <i>topLeft</i> and its bottom right corner positioned at <i>bottomLeft</i>.</p>
<p><b>See also </b><a href="qml-georectangle.html">georectangle</a>.</p>
</div></div><!-- @@@rectangle -->
<br/>
<!-- $$$rectangle -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="rectangle-method-2"><td class="tblQmlFuncNode"><p><a name="rectangle-method-2"></a><span class="type"><a href="qml-georectangle.html">georectangle</a></span> <span class="name">rectangle</span>(<span class="type"><a href="qml-qtpositioning-qtpositioning.html#coordinate-method">coordinate</a></span><i> center</i>, <span class="type">real</span><i> width</i>, <span class="type">real</span><i> height</i>) const</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs a georectangle centered at <i>center</i> with a width of <i>width</i> degrees and a hight of <i>height</i> degrees.</p>
<p><b>See also </b><a href="qml-georectangle.html">georectangle</a>.</p>
</div></div><!-- @@@rectangle -->
<br/>
<!-- $$$rectangle -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="rectangle-method"><td class="tblQmlFuncNode"><p><a name="rectangle-method"></a><span class="type"><a href="qml-georectangle.html">georectangle</a></span> <span class="name">rectangle</span>() const</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs an invalid georectangle.</p>
<p><b>See also </b><a href="qml-georectangle.html">georectangle</a>.</p>
</div></div><!-- @@@rectangle -->
<br/>
<!-- $$$shape -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="shape-method"><td class="tblQmlFuncNode"><p><a name="shape-method"></a><span class="type"><a href="qml-geoshape.html">geoshape</a></span> <span class="name">shape</span>() const</p></td></tr></table></div></div><div class="qmldoc"><p>Constructs an invalid geoshape.</p>
<p><b>See also </b><a href="qml-geoshape.html">geoshape</a>.</p>
</div></div><!-- @@@shape -->
<br/>
<!-- $$$shapeToCircle -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="shapeToCircle-method"><td class="tblQmlFuncNode"><p><a name="shapeToCircle-method"></a><span class="type"><a href="qml-geocircle.html">geocircle</a></span> <span class="name">shapeToCircle</span>(<span class="type"><a href="qml-geoshape.html">geoshape</a></span><i> shape</i>) const</p></td></tr></table></div></div><div class="qmldoc"><p>Converts <i>shape</i> to a geocircle.</p>
<p>This QML method was introduced in Qt 5.5.</p>
<p><b>See also </b><a href="qml-geocircle.html">geocircle</a>.</p>
</div></div><!-- @@@shapeToCircle -->
<br/>
<!-- $$$shapeToRectangle -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="shapeToRectangle-method"><td class="tblQmlFuncNode"><p><a name="shapeToRectangle-method"></a><span class="type"><a href="qml-georectangle.html">georectangle</a></span> <span class="name">shapeToRectangle</span>(<span class="type"><a href="qml-geoshape.html">geoshape</a></span><i> shape</i>) const</p></td></tr></table></div></div><div class="qmldoc"><p>Converts <i>shape</i> to a georectangle.</p>
<p>This QML method was introduced in Qt 5.5.</p>
<p><b>See also </b><a href="qml-georectangle.html">georectangle</a>.</p>
</div></div><!-- @@@shapeToRectangle -->
<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>
|