Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 1324

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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" />
<!-- qdeclarativegeomapcircleobject.cpp -->
  <title>Qt Mobility 1.2: QML MapCircle Element</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="http://qt.nokia.com/doc/4.7/qdeclarativeelements.html">QML Elements</a></li>
<li>QML MapCircle Element</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<p class="naviNextPrevious headerNavi">
</p><p/>
<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>
</ul>
</div>
<h1 class="title">QML MapCircle Element</h1>
<span class="subtitle"></span>
<!-- $$$MapCircle-brief -->
<p>The MapCircle element displays a circle on a map. <a href="#details">More...</a></p>
<!-- @@@MapCircle -->
<p>This element was introduced in  Mobility 1.2.</p>
<ul>
<li><a href="qml-mapcircle-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-mapcircle.html#border.color-prop">border.color</a></b></b> : color</li>
<li class="fn"><b><b><a href="qml-mapcircle.html#border.width-prop">border.width</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-mapcircle.html#center-prop">center</a></b></b> : Coordinate</li>
<li class="fn"><b><b><a href="qml-mapcircle.html#color-prop">color</a></b></b> : color</li>
<li class="fn"><b><b><a href="qml-mapcircle.html#radius-prop">radius</a></b></b> : qreal</li>
<li class="fn"><b><b><a href="qml-mapcircle.html#visible-prop">visible</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-mapcircle.html#z-prop">z</a></b></b> : int</li>
</ul>
<!-- $$$MapCircle-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>The circle is specified in terms of a central coordinate and a radius in metres.</p>
<p>If <a href="qml-mapcircle.html#center-prop">center</a> and <a href="qml-mapcircle.html#radius-prop">radius</a> are not specified and valid the circle will not be displayed.</p>
<p>An example, a MapCircle positioned at your current position (assuming there is a <a href="qml-positionsource.html">PositionSource</a>):</p>
<pre class="qml"> <span class="type">MapCircle</span> {
     <span class="name">id</span>: <span class="name">myPositionMarker</span>
     <span class="name">center</span>: <span class="name">myPositionSource</span>.<span class="name">position</span>.<span class="name">coordinate</span>
     <span class="name">radius</span>: <span class="number">100</span>
     <span class="name">color</span>: <span class="string">&quot;yellow&quot;</span>
 }</pre>
<p>The element is used with a Map element.</p>
<p>The MapCircle element is part of the <b>QtMobility.location 1.2</b> module.</p>
<!-- @@@MapCircle -->
<h2>Property Documentation</h2>
<!-- $$$border.width -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="border.width-prop"></a><span class="name">border.width</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-int.html">int</a></span></p></td></tr><tr valign="top" class="even"><td class="tblQmlPropNode"><p><a name="border.color-prop"></a><span class="name">border.color</span> : <span class="type"><a href="qml-mapcircle.html#color-prop">color</a></span></p></td></tr></table></div><div class="qmldoc"><p>These properties hold the width and color used to draw the border of the circle.</p>
<p>The width is in pixels and is independent of the zoom level of the map.</p>
<p>The default values correspond to a black border with a width of 1 pixel.</p>
<p>For no line, use a width of 0 or a transparent color.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@border.width -->
<br/>
<!-- $$$center -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="center-prop"></a><span class="name">center</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 coordinate at the center of the circle.</p>
<p>The default value is an invalid coordinate.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@center -->
<br/>
<!-- $$$color -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="color-prop"></a><span class="name">color</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-color.html">color</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the color used to fill the circle.</p>
<p>The default value corresponds to a transparent color.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@color -->
<br/>
<!-- $$$radius -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="radius-prop"></a><span class="name">radius</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the radius of the circle in metres.</p>
<p>A negative value is used to indicate that the radius is invalid and the default value is a radius of -1.0&#x2e;</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@radius -->
<br/>
<!-- $$$visible -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="visible-prop"></a><span class="name">visible</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-bool.html">bool</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds a boolean corresponding to whether or not the circle is visible.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@visible -->
<br/>
<!-- $$$z -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="z-prop"></a><span class="name">z</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-int.html">int</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the z-value of the circle.</p>
<p>Map objects are drawn in z-value order, and objects with the same z-value will be drawn in insertion order.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@z -->
<br/>
<p class="naviNextPrevious footerNavi">
</p>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used 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.</p>
</div>
</body>
</html>