Sophie

Sophie

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

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" />
<!-- qdeclarativelandmarkfilters.cpp -->
  <title>Qt Mobility 1.2: QML LandmarkProximityFilter 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 LandmarkProximityFilter Element</li>
    </ul>
  </div>
</div>
<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>
</ul>
</div>
<h1 class="title">QML LandmarkProximityFilter Element</h1>
<span class="subtitle"></span>
<!-- $$$LandmarkProximityFilter-brief -->
<p>The LandmarkProximityFilter element specifies a proximity filter for landmark model. <a href="#details">More...</a></p>
<!-- @@@LandmarkProximityFilter -->
<p>This element was introduced in  Mobility 1.2.</p>
<ul>
<li><a href="qml-landmarkproximityfilter-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-landmarkproximityfilter.html#center-prop">center</a></b></b> : Coordinate</li>
<li class="fn"><b><b><a href="qml-landmarkproximityfilter.html#radius-prop">radius</a></b></b> : double</li>
</ul>
<!-- $$$LandmarkProximityFilter-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>The LandmarkProximityFilter element specifies a proximity filter for landmark model. Logical combinations of this and other landmark filters can be formed using <a href="qml-landmarkintersectionfilter.html">LandmarkIntersectionFilter</a> and <a href="qml-landmarkunionfilter.html">LandmarkUnionFilter</a>.</p>
<p>This element is part of the <b>QtMobility.location 1.1</b> module.</p>
<p>The following example creates a filter which filters for landmarks located within 1500 metres of the current position.</p>
<pre class="qml"> <span class="type"><a href="qml-positionsource.html">PositionSource</a></span> {
     <span class="name">id</span>: <span class="name">myPosition</span>
     <span class="name">updateInterval</span>: <span class="number">1000</span>
 }
 <span class="type">LandmarkProximityFilter</span> {
     <span class="name">id</span>: <span class="name">landmarkFilterMyCurrentLocation</span>
     <span class="name">center</span>: <span class="name">myPosition</span>.<span class="name">position</span>.<span class="name">coordinate</span>
     <span class="name">radius</span>: <span class="number">1500</span>
 }</pre>
<p><b>See also </b><a href="qml-landmarkmodel.html">LandmarkModel</a> and <a href="qlandmarkproximityfilter.html">QLandmarkProximityFilter</a>.</p>
<!-- @@@LandmarkProximityFilter -->
<h2>Property Documentation</h2>
<!-- $$$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>Center coordinate in whose proximity landmarks should be filtered.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
<p><b>See also </b><a href="qml-landmarkproximityfilter.html#radius-prop">radius</a>.</p>
</div></div><!-- @@@center -->
<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">double</span></p></td></tr></table></div><div class="qmldoc"><p>Radius (in metres) from the <a href="qml-landmarkproximityfilter.html#center-prop">center</a> coordinate to filter (landmarks within that area).</p>
<p>This property group was introduced in  Mobility 1.2.</p>
<p><b>See also </b><a href="qml-landmarkproximityfilter.html#center-prop">center</a>.</p>
</div></div><!-- @@@radius -->
<br/>
  <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>