Sophie

Sophie

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

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" />
<!-- qgeomaptextobject.cpp -->
  <title>Qt Mobility 1.2: QGeoMapTextObject 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>QGeoMapTextObject</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">QGeoMapTextObject Class Reference</h1>
<!-- $$$QGeoMapTextObject-brief -->
<p>The QGeoMapTextObject class is a <a href="qgeomapobject.html">QGeoMapObject</a> used to draw text on a map. <a href="#details">More...</a></p>
<!-- @@@QGeoMapTextObject -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoMapTextObject&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="qgeomaptextobject-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qgeomaptextobject.html#alignment-prop">alignment</a></b> : Qt::Alignment</li>
<li class="fn"><b><a href="qgeomaptextobject.html#brush-prop">brush</a></b> : QBrush</li>
<li class="fn"><b><a href="qgeomaptextobject.html#coordinate-prop">coordinate</a></b> : QGeoCoordinate</li>
<li class="fn"><b><a href="qgeomaptextobject.html#font-prop">font</a></b> : QFont</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qgeomaptextobject.html#offset-prop">offset</a></b> : QPoint</li>
<li class="fn"><b><a href="qgeomaptextobject.html#pen-prop">pen</a></b> : QPen</li>
<li class="fn"><b><a href="qgeomaptextobject.html#text-prop">text</a></b> : QString</li>
</ul>
</td></tr>
</table>
<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="qgeomaptextobject.html#QGeoMapTextObject">QGeoMapTextObject</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#QGeoMapTextObject-2">QGeoMapTextObject</a></b> ( const QGeoCoordinate &amp; <i>coordinate</i>, const QString &amp; <i>text</i> = QString(), const QFont &amp; <i>font</i> = QFont(), const QPoint &amp; <i>offset</i> = QPoint(), Qt::Alignment <i>alignment</i> = Qt::AlignCenter )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#dtor.QGeoMapTextObject">~QGeoMapTextObject</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::Alignment </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#alignment-prop">alignment</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#brush-prop">brush</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoCoordinate </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#coordinate-prop">coordinate</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QFont </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#font-prop">font</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#offset-prop">offset</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPen </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#pen-prop">pen</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#alignment-prop">setAlignment</a></b> ( Qt::Alignment <i>alignment</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#brush-prop">setBrush</a></b> ( const QBrush &amp; <i>brush</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.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="qgeomaptextobject.html#font-prop">setFont</a></b> ( const QFont &amp; <i>font</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.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="qgeomaptextobject.html#pen-prop">setPen</a></b> ( const QPen &amp; <i>pen</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#text-prop">setText</a></b> ( const QString &amp; <i>text</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#text-prop">text</a></b> () const</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="qgeomaptextobject.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="qgeomaptextobject.html#alignmentChanged">alignmentChanged</a></b> ( Qt::Alignment <i>alignment</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#brushChanged">brushChanged</a></b> ( const QBrush &amp; <i>brush</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.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="qgeomaptextobject.html#fontChanged">fontChanged</a></b> ( const QFont &amp; <i>font</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.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="qgeomaptextobject.html#penChanged">penChanged</a></b> ( const QPen &amp; <i>pen</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaptextobject.html#textChanged">textChanged</a></b> ( const QString &amp; <i>text</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>
<!-- $$$QGeoMapTextObject-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoMapTextObject class is a <a href="qgeomapobject.html">QGeoMapObject</a> used to draw text on a map.</p>
<p>The text is drawn at a given coordinate on the map.</p>
<p>The text object is drawn such that the rendered size of the text object is independent of the zoom level of the map.</p>
</div>
<!-- @@@QGeoMapTextObject -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$alignment-prop$$$alignment$$$setAlignmentQt::Alignment$$$alignmentChangedQt::Alignment -->
<h3 class="fn"><a name="alignment-prop"></a><span class="name">alignment</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html#Alignment-typedef">Qt::Alignment</a></span></h3>
<p>This property holds the alignment options used to align the text when drawing this text object.</p>
<p>The default value of this property will align the text so that it is centered both horizontally and vertically around the point that is <a href="qgeomaptextobject.html#offset-prop">QGeoMapTextObject::offset</a> pixels away from the position of <a href="qgeomaptextobject.html#coordinate-prop">QGeoMapTextObject::coordinate</a> on the screen.</p>
<p>Using</p>
<pre class="cpp"> textObject<span class="operator">-</span><span class="operator">&gt;</span>setAlignment(<span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html">Qt</a></span><span class="operator">::</span>AlignLeft <span class="operator">|</span> <span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html">Qt</a></span><span class="operator">::</span>AlignVCenter);</pre>
<p>will place the text so that the point halway up the left edge of the text is at the anchor point defined by <a href="qgeomaptextobject.html#offset-prop">QGeoMapTextObject::offset</a> and <a href="qgeomaptextobject.html#coordinate-prop">QGeoMapTextObject::coordinate</a>.</p>
<p>The alignment property is a flag, so using</p>
<pre class="cpp"> textObject<span class="operator">-</span><span class="operator">&gt;</span>setAlignment(<span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html">Qt</a></span><span class="operator">::</span>AlignLeft);</pre>
<p>may alter the vertical alignment as well.</p>
<p>The <a href="http://qt.nokia.com/doc/4.7/qt.html#AlignmentFlag-enum">Qt::AlignVertical_Mask</a> and <a href="http://qt.nokia.com/doc/4.7/qt.html#AlignmentFlag-enum">Qt::AlignHorizontal_Mask</a> enum values can be used to alter one component of the alignment independent of the other.</p>
<pre class="cpp"> textObject<span class="operator">-</span><span class="operator">&gt;</span>setAlignment(<span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html">Qt</a></span><span class="operator">::</span>AlignLeft <span class="operator">|</span> (textObject<span class="operator">-</span><span class="operator">&gt;</span>alignment() <span class="operator">&amp;</span> <span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html">Qt</a></span><span class="operator">::</span>AlignVertical_Mask));</pre>
<p>The alignment does not take the width of <a href="qgeomaptextobject.html#pen-prop">QGeoMapTextObject::pen</a> into consideration.</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"> Qt::Alignment </td><td class="memItemRight bottomAlign"><span class="name"><b>alignment</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAlignment</b></span> ( Qt::Alignment <i>alignment</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="qgeomaptextobject.html#alignmentChanged">alignmentChanged</a></b></span> ( Qt::Alignment <i>alignment</i> )</td></tr>
</table>
<!-- @@@alignment -->
<!-- $$$brush-prop$$$brush$$$setBrushconstQBrush&$$$brushChangedconstQBrush& -->
<h3 class="fn"><a name="brush-prop"></a><span class="name">brush</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qbrush.html">QBrush</a></span></h3>
<p>This property holds the brush that will be used to draw this object.</p>
<p>The brush is used to fill in the glyphs of the text.</p>
<p>The outline around the perimeter of the glyphs is drawn using the <a href="qgeomaptextobject.html#pen-prop">QGeoMapTextObject::pen</a> property.</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"> QBrush </td><td class="memItemRight bottomAlign"><span class="name"><b>brush</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBrush</b></span> ( const QBrush &amp; <i>brush</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="qgeomaptextobject.html#brushChanged">brushChanged</a></b></span> ( const QBrush &amp; <i>brush</i> )</td></tr>
</table>
<!-- @@@brush -->
<!-- $$$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 at which this text object will be rendered.</p>
<p>The default value of this property is an invalid coordinate. While the value of this property is invalid the text object will not be displayed.</p>
<p>If <a href="qgeomaptextobject.html#offset-prop">QGeoMapTextObject::offset</a> and <a href="qgeomaptextobject.html#alignment-prop">QGeoMapTextObject::alignment</a> are not set the text will be drawn so that it is centered both horizontally and vertically around the position of QGeoMapTextObject::coordinate on the screen.</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="qgeomaptextobject.html#coordinateChanged">coordinateChanged</a></b></span> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
</table>
<!-- @@@coordinate -->
<!-- $$$font-prop$$$font$$$setFontconstQFont&$$$fontChangedconstQFont& -->
<h3 class="fn"><a name="font-prop"></a><span class="name">font</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qfont.html">QFont</a></span></h3>
<p>This property holds the font that will be used to render the text for this text object.</p>
<p>The default value of this property is the application's default font.</p>
<p>It is not necessary to account for the zoom level of the map, since text objects are scaled such that they appear to be independent of the zoom level.</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"> QFont </td><td class="memItemRight bottomAlign"><span class="name"><b>font</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFont</b></span> ( const QFont &amp; <i>font</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="qgeomaptextobject.html#fontChanged">fontChanged</a></b></span> ( const QFont &amp; <i>font</i> )</td></tr>
</table>
<!-- @@@font -->
<!-- $$$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 from the screen position of QGeoMapTextObject::coordinate at which the text will be rendered when drawing this text 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).</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="qgeomaptextobject.html#offsetChanged">offsetChanged</a></b></span> ( const QPoint &amp; <i>offset</i> )</td></tr>
</table>
<!-- @@@offset -->
<!-- $$$pen-prop$$$pen$$$setPenconstQPen&$$$penChangedconstQPen& -->
<h3 class="fn"><a name="pen-prop"></a><span class="name">pen</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpen.html">QPen</a></span></h3>
<p>This property holds the pen that will be used to draw this object.</p>
<p>The pen is used to draw an outline around the text. The text itself is filled using the <a href="qgeomaptextobject.html#brush-prop">QGeoMapTextObject::brush</a> property.</p>
<p>The pen will be treated as a cosmetic pen, which means that the width of the pen will be independent of the zoom level of 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"> QPen </td><td class="memItemRight bottomAlign"><span class="name"><b>pen</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPen</b></span> ( const QPen &amp; <i>pen</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="qgeomaptextobject.html#penChanged">penChanged</a></b></span> ( const QPen &amp; <i>pen</i> )</td></tr>
</table>
<!-- @@@pen -->
<!-- $$$text-prop$$$text$$$setTextconstQString&$$$textChangedconstQString& -->
<h3 class="fn"><a name="text-prop"></a><span class="name">text</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span></h3>
<p>This property holds the text that will be displayed by this text object.</p>
<p>The default value of this property is an empty string.</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"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>text</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setText</b></span> ( const QString &amp; <i>text</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="qgeomaptextobject.html#textChanged">textChanged</a></b></span> ( const QString &amp; <i>text</i> )</td></tr>
</table>
<!-- @@@text -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoMapTextObject[overload1]$$$QGeoMapTextObject -->
<h3 class="fn"><a name="QGeoMapTextObject"></a>QGeoMapTextObject::<span class="name">QGeoMapTextObject</span> ()</h3>
<p>Constructs a new text object.</p>
<!-- @@@QGeoMapTextObject -->
<!-- $$$QGeoMapTextObject$$$QGeoMapTextObjectconstQGeoCoordinate&constQString&constQFont&constQPoint&Qt::Alignment -->
<h3 class="fn"><a name="QGeoMapTextObject-2"></a>QGeoMapTextObject::<span class="name">QGeoMapTextObject</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/qstring.html">QString</a></span> &amp; <i>text</i> = QString(), const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qfont.html">QFont</a></span> &amp; <i>font</i> = QFont(), const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpoint.html">QPoint</a></span> &amp; <i>offset</i> = QPoint(), <span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html#Alignment-typedef">Qt::Alignment</a></span> <i>alignment</i> = Qt::AlignCenter )</h3>
<p>Constructs a new text object which will display the text <i>text</i> with font <i>font</i> at the coordinate <i>coordinate</i> on the map.</p>
<p>The text will be displayed at an on-screen offset from the coordinate of <i>offset</i> pixels, and will be aligned according to <i>alignment</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGeoMapTextObject -->
<!-- $$$~QGeoMapTextObject[overload1]$$$~QGeoMapTextObject -->
<h3 class="fn"><a name="dtor.QGeoMapTextObject"></a>QGeoMapTextObject::<span class="name">~QGeoMapTextObject</span> ()</h3>
<p>Destroys this text object.</p>
<!-- @@@~QGeoMapTextObject -->
<!-- $$$alignmentChanged[overload1]$$$alignmentChangedQt::Alignment -->
<h3 class="fn"><a name="alignmentChanged"></a><span class="type">void</span> QGeoMapTextObject::<span class="name">alignmentChanged</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qt.html#Alignment-typedef">Qt::Alignment</a></span> <i>alignment</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the alignment of this text object has changed.</p>
<p>The new value is <i>alignment</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@alignmentChanged -->
<!-- $$$brushChanged[overload1]$$$brushChangedconstQBrush& -->
<h3 class="fn"><a name="brushChanged"></a><span class="type">void</span> QGeoMapTextObject::<span class="name">brushChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qbrush.html">QBrush</a></span> &amp; <i>brush</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the brush used to fill the inside of the letters for this text object has changed.</p>
<p>The new value is <i>brush</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@brushChanged -->
<!-- $$$coordinateChanged[overload1]$$$coordinateChangedconstQGeoCoordinate& -->
<h3 class="fn"><a name="coordinateChanged"></a><span class="type">void</span> QGeoMapTextObject::<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 this text object will be drawn has changed.</p>
<p>The new value is <i>coordinate</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@coordinateChanged -->
<!-- $$$fontChanged[overload1]$$$fontChangedconstQFont& -->
<h3 class="fn"><a name="fontChanged"></a><span class="type">void</span> QGeoMapTextObject::<span class="name">fontChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qfont.html">QFont</a></span> &amp; <i>font</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the font use to draw this text object has changed.</p>
<p>The new value is <i>font</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@fontChanged -->
<!-- $$$offsetChanged[overload1]$$$offsetChangedconstQPoint& -->
<h3 class="fn"><a name="offsetChanged"></a><span class="type">void</span> QGeoMapTextObject::<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 text object will be drawn has changed.</p>
<p>The new value is <i>offset</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@offsetChanged -->
<!-- $$$penChanged[overload1]$$$penChangedconstQPen& -->
<h3 class="fn"><a name="penChanged"></a><span class="type">void</span> QGeoMapTextObject::<span class="name">penChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpen.html">QPen</a></span> &amp; <i>pen</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the pen used to draw the outline of the letters for this text object has changed.</p>
<p>The new value is <i>pen</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@penChanged -->
<!-- $$$textChanged[overload1]$$$textChangedconstQString& -->
<h3 class="fn"><a name="textChanged"></a><span class="type">void</span> QGeoMapTextObject::<span class="name">textChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>text</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the text to be drawn by this text object has changed.</p>
<p>The new value is <i>text</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@textChanged -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn"><a name="type"></a><span class="type"><a href="qgeomapobject.html#Type-enum">QGeoMapObject::Type</a></span> QGeoMapTextObject::<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>