Sophie

Sophie

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

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" />
<!-- qdeclarativegeomapgroupobject.cpp -->
  <title>Qt Mobility 1.2: QML MapGroup 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 MapGroup 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 MapGroup Element</h1>
<span class="subtitle"></span>
<!-- $$$MapGroup-brief -->
<p>The MapGroup element aggregates a set of map objects. <a href="#details">More...</a></p>
<!-- @@@MapGroup -->
<p>This element was introduced in  Mobility 1.2.</p>
<ul>
<li><a href="qml-mapgroup-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-mapgroup.html#objects-prop">objects</a></b></b> : list&lt;QGeoMapObject&gt;</li>
<li class="fn"><b><b><a href="qml-mapgroup.html#visible-prop">visible</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-mapgroup.html#zValue-prop">zValue</a></b></b> : int</li>
</ul>
<!-- $$$MapGroup-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>Grouping is provided to make it easier to quickly add, remove, show and hide groups of objects.</p>
<p>It also allows users to specify an ordering of objects local to the group via the z-values and insertion order of the objects in the group.</p>
<p>An example of group having a small red circle on top of bigger green circle:</p>
<pre class="qml"> <span class="type">MapGroup</span> {
     <span class="type"><a href="qml-mapcircle.html">MapCircle</a></span> {
         <span class="name">color</span>: <span class="string">&quot;green&quot;</span>
         <span class="name">radius</span>: <span class="number">100</span>
         <span class="name">center</span>: <span class="name">landmark</span>.<span class="name">coordinate</span>
     }
     <span class="type"><a href="qml-mapcircle.html">MapCircle</a></span> {
         <span class="name">color</span>: <span class="string">&quot;red&quot;</span>
         <span class="name">radius</span>: <span class="number">30</span>
         <span class="name">center</span>: <span class="name">landmark</span>.<span class="name">coordinate</span>
     }
 }</pre>
<p>The MapGroup element is part of the <b>QtMobility.location 1.2</b> module.</p>
<!-- @@@MapGroup -->
<h2>Property Documentation</h2>
<!-- $$$objects -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="objects-prop"></a><span class="qmldefault">default</span><span class="name">objects</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds the list of objects which make up the group.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@objects -->
<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 group is visible.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@visible -->
<br/>
<!-- $$$zValue -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="zValue-prop"></a><span class="name">zValue</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 group.</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>The objects inside the group are drawn according to the z-values and insertion order of the other elements of the group. This is indpendent of the z-value and insertion order of the group element itself.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@zValue -->
<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>