/usr/share/qt5/doc/qtpositioning/qml-geocircle.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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- positioning.cpp -->
<title>geocircle QML Basic 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>geocircle QML Basic 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="#example-usage">Example Usage</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level2"><a href="#center">center</a></li>
<li class="level2"><a href="#radius">radius</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">geocircle QML Basic Type</h1>
<span class="subtitle"></span>
<!-- $$$geocircle-description -->
<div class="descr"> <a name="details"></a>
<p>The geocircle type represents a circular geographic area.</p>
<p>The <code>geocircle</code> type is a <a href="qml-geoshape.html">geoshape</a> that represents a circular geographic area. It is a direct representation of a <a href="qgeocircle.html">QGeoCircle</a> and is defined in terms of a <a href="location-positioning-qml.html#coordinate">coordinate</a> which specifies the <a href="qml-geocircle.html#center">center</a> of the circle and a qreal which specifies the <a href="qml-geocircle.html#radius">radius</a> of the circle in meters.</p>
<p>The circle is considered invalid if the <a href="qml-geocircle.html#center">center</a> coordinate is invalid or if the <a href="qml-geocircle.html#radius">radius</a> is less than zero.</p>
<a name="example-usage"></a>
<h2 id="example-usage">Example Usage</h2>
<p>Use properties of type variant to store a <code>geocircle</code>. To create a <code>geocircle</code> value, use the <a href="qml-qtpositioning-qtpositioning.html#circle-method">QtPositioning.circle()</a> function:</p>
<pre class="qml">import QtPositioning 5.2
<span class="type">Item</span> {
property <span class="type">variant</span> <span class="name">region</span>: <span class="name">QtPositioning</span>.<span class="name">circle</span>(<span class="name">QtPositioning</span>.<span class="name">coordinate</span>(-<span class="number">27.5</span>, <span class="number">153.1</span>), <span class="number">1000</span>)
}</pre>
<p>When integrating with C++, note that any <a href="qgeocircle.html">QGeoCircle</a> value passed into QML from C++ is automatically converted into a <code>geocircle</code> value, and vise-versa.</p>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<a name="center"></a>
<h3 >center</h3>
<pre class="cpp">coordinate radius</pre>
<p>This property holds the coordinate of the center of the geocircle.</p>
<a name="radius"></a>
<h3 >radius</h3>
<pre class="cpp">real radius</pre>
<p>This property holds the radius of the geocircle in meters.</p>
<p>The default value for the radius is -1 indicating an invalid geocircle area.</p>
</div>
<!-- @@@geocircle -->
</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>
|