Sophie

Sophie

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

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" />
<!-- qgeomappixmapobject.cpp -->
  <title>Qt Mobility 1.2: QGeoMapPixmapObject Class Reference</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="modules.html">Modules</a></li>
<li><a href="qtlocation.html">QtLocation</a></li>
<li>QGeoMapPixmapObject</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="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoMapPixmapObject Class Reference</h1>
<!-- $$$QGeoMapPixmapObject-brief -->
<p>The QGeoMapPixmapObject class is a <a href="qgeomapobject.html">QGeoMapObject</a> used to draw a pixmap on a map. <a href="#details">More...</a></p>
<!-- @@@QGeoMapPixmapObject -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoMapPixmapObject&gt;</span></pre><p><b>Inherits: </b><a href="qgeomapobject.html">QGeoMapObject</a>.</p>
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgeomappixmapobject-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><a href="qgeomappixmapobject.html#coordinate-prop">coordinate</a></b> : QGeoCoordinate</li>
<li class="fn"><b><a href="qgeomappixmapobject.html#offset-prop">offset</a></b> : QPoint</li>
<li class="fn"><b><a href="qgeomappixmapobject.html#pixmap-prop">pixmap</a></b> : QPixmap</li>
</ul>
<ul>
<li class="fn">6 properties inherited from <a href="qgeomapobject.html#properties">QGeoMapObject</a></li>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#QGeoMapPixmapObject">QGeoMapPixmapObject</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#QGeoMapPixmapObject-2">QGeoMapPixmapObject</a></b> ( const QGeoCoordinate &amp; <i>coordinate</i>, const QPoint &amp; <i>offset</i> = QPoint( 0, 0 ), const QPixmap &amp; <i>pixmap</i> = QPixmap() )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#dtor.QGeoMapPixmapObject">~QGeoMapPixmapObject</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoCoordinate </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#coordinate-prop">coordinate</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#offset-prop">offset</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPixmap </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#pixmap-prop">pixmap</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#coordinate-prop">setCoordinate</a></b> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#offset-prop">setOffset</a></b> ( const QPoint &amp; <i>offset</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#pixmap-prop">setPixmap</a></b> ( const QPixmap &amp; <i>pixmap</i> )</td></tr>
</table>
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoMapObject::Type </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#type">type</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">15 public functions inherited from <a href="qgeomapobject.html#public-functions">QGeoMapObject</a></li>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#coordinateChanged">coordinateChanged</a></b> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#offsetChanged">offsetChanged</a></b> ( const QPoint &amp; <i>offset</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomappixmapobject.html#pixmapChanged">pixmapChanged</a></b> ( const QPixmap &amp; <i>pixmap</i> )</td></tr>
</table>
<ul>
<li class="fn">6 signals inherited from <a href="qgeomapobject.html#signals">QGeoMapObject</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">3 protected functions inherited from <a href="qgeomapobject.html#protected-functions">QGeoMapObject</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QGeoMapPixmapObject-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoMapPixmapObject class is a <a href="qgeomapobject.html">QGeoMapObject</a> used to draw a pixmap on a map.</p>
<p>The pixmap object is rendered such that the upper left corner of <a href="qgeomappixmapobject.html#pixmap-prop">QGeoMapPixmapObject::pixmap</a> will be drawn <a href="qgeomappixmapobject.html#offset-prop">QGeoMapPixmapObject::offset</a> pixels away from the position of <a href="qgeomappixmapobject.html#coordinate-prop">QGeoMapPixmapObject::coordinate</a> on the map.</p>
</div>
<!-- @@@QGeoMapPixmapObject -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$coordinate-prop$$$coordinate$$$setCoordinateconstQGeoCoordinate&$$$coordinateChangedconstQGeoCoordinate& -->
<h3 class="fn"><a name="coordinate-prop"></a><span class="name">coordinate</span> : <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span></h3>
<p>This property holds the coordinate that specifies where the pixmap will be drawn by this pixmap object.</p>
<p>The default value of this property is an invalid coordinate. While the value of this property is invalid the pixmap object will not be displayed.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QGeoCoordinate </td><td class="memItemRight bottomAlign"><span class="name"><b>coordinate</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setCoordinate</b></span> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomappixmapobject.html#coordinateChanged">coordinateChanged</a></b></span> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
</table>
<!-- @@@coordinate -->
<!-- $$$offset-prop$$$offset$$$setOffsetconstQPoint&$$$offsetChangedconstQPoint& -->
<h3 class="fn"><a name="offset-prop"></a><span class="name">offset</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpoint.html">QPoint</a></span></h3>
<p>This property holds the offset in pixels at which the pixmap will be drawn by this pixmap object.</p>
<p>The default value of this property is <a href="http://qt.nokia.com/doc/4.7/qpoint.html">QPoint</a>(0, 0). If this value is not changed the upper left coordinate of the pixmap will be drawn at the coordinate specified by <a href="qgeomappixmapobject.html#coordinate-prop">QGeoMapPixmapObject::coordinate</a>.</p>
<p>The offset is in pixels and is independent of the zoom level of the map. The offset property is provided so that pixmaps such as arrows can be drawn with the point of the arrow placed exactly on the associated coordinate.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QPoint </td><td class="memItemRight bottomAlign"><span class="name"><b>offset</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOffset</b></span> ( const QPoint &amp; <i>offset</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomappixmapobject.html#offsetChanged">offsetChanged</a></b></span> ( const QPoint &amp; <i>offset</i> )</td></tr>
</table>
<!-- @@@offset -->
<!-- $$$pixmap-prop$$$pixmap$$$setPixmapconstQPixmap&$$$pixmapChangedconstQPixmap& -->
<h3 class="fn"><a name="pixmap-prop"></a><span class="name">pixmap</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpixmap.html">QPixmap</a></span></h3>
<p>This property holds the pixmap that will be drawn by this pixmap object.</p>
<p>The default value of this property is a null pixmap. While the value of this property is the null pixmap the pixmap object will not be displayed.</p>
<p>The pixmap will be drawn such that the upper left corner of the pixmap will be drawn <a href="qgeomappixmapobject.html#offset-prop">QGeoMapPixmapObject::offset</a> pixels away from the position of <a href="qgeomappixmapobject.html#coordinate-prop">QGeoMapPixmapObject::coordinate</a> on the map.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QPixmap </td><td class="memItemRight bottomAlign"><span class="name"><b>pixmap</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPixmap</b></span> ( const QPixmap &amp; <i>pixmap</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomappixmapobject.html#pixmapChanged">pixmapChanged</a></b></span> ( const QPixmap &amp; <i>pixmap</i> )</td></tr>
</table>
<!-- @@@pixmap -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoMapPixmapObject[overload1]$$$QGeoMapPixmapObject -->
<h3 class="fn"><a name="QGeoMapPixmapObject"></a>QGeoMapPixmapObject::<span class="name">QGeoMapPixmapObject</span> ()</h3>
<p>Constructs a new pixmap object.</p>
<!-- @@@QGeoMapPixmapObject -->
<!-- $$$QGeoMapPixmapObject$$$QGeoMapPixmapObjectconstQGeoCoordinate&constQPoint&constQPixmap& -->
<h3 class="fn"><a name="QGeoMapPixmapObject-2"></a>QGeoMapPixmapObject::<span class="name">QGeoMapPixmapObject</span> ( const <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> &amp; <i>coordinate</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpoint.html">QPoint</a></span> &amp; <i>offset</i> = QPoint( 0, 0 ), const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpixmap.html">QPixmap</a></span> &amp; <i>pixmap</i> = QPixmap() )</h3>
<p>Constructs a new pixmap object which will draw the pixmap <i>pixmap</i> at an offset of <i>offset</i> pixels from the coordinate <i>coordinate</i>.</p>
<!-- @@@QGeoMapPixmapObject -->
<!-- $$$~QGeoMapPixmapObject[overload1]$$$~QGeoMapPixmapObject -->
<h3 class="fn"><a name="dtor.QGeoMapPixmapObject"></a>QGeoMapPixmapObject::<span class="name">~QGeoMapPixmapObject</span> ()</h3>
<p>Destroys this pixmap object.</p>
<!-- @@@~QGeoMapPixmapObject -->
<!-- $$$coordinateChanged[overload1]$$$coordinateChangedconstQGeoCoordinate& -->
<h3 class="fn"><a name="coordinateChanged"></a><span class="type">void</span> QGeoMapPixmapObject::<span class="name">coordinateChanged</span> ( const <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> &amp; <i>coordinate</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the coordinate at which the pixmap should be drawn has changed.</p>
<p>The new value will be <i>coordinate</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@coordinateChanged -->
<!-- $$$offsetChanged[overload1]$$$offsetChangedconstQPoint& -->
<h3 class="fn"><a name="offsetChanged"></a><span class="type">void</span> QGeoMapPixmapObject::<span class="name">offsetChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpoint.html">QPoint</a></span> &amp; <i>offset</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the on-screen offset from the coordinate at which this pixmap object should be drawn has changed.</p>
<p>The new value will be <i>offset</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@offsetChanged -->
<!-- $$$pixmapChanged[overload1]$$$pixmapChangedconstQPixmap& -->
<h3 class="fn"><a name="pixmapChanged"></a><span class="type">void</span> QGeoMapPixmapObject::<span class="name">pixmapChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpixmap.html">QPixmap</a></span> &amp; <i>pixmap</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the pixmap associated with this pixmap object has changed.</p>
<p>The new value will be <i>pixmap</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@pixmapChanged -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn"><a name="type"></a><span class="type"><a href="qgeomapobject.html#Type-enum">QGeoMapObject::Type</a></span> QGeoMapPixmapObject::<span class="name">type</span> () const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qgeomapobject.html#type">QGeoMapObject::type</a>().</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@type -->
</div>
  <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>