Serial-Studio/libs/QMapControl/html/classqmapcontrol_1_1Geometry.html
2021-12-06 10:56:03 -06:00

428 lines
27 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>QMapControl: Geometry Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">QMapControl
&#160;<span id="projectnumber">0.9.7.4</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceqmapcontrol.html">qmapcontrol</a></li><li class="navelem"><a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classqmapcontrol_1_1Geometry-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Geometry Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>Main class for objects that should be painted in maps.
<a href="classqmapcontrol_1_1Geometry.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="geometry_8h_source.html">geometry.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Geometry:</div>
<div class="dyncontent">
<div class="center">
<img src="classqmapcontrol_1_1Geometry.png" usemap="#Geometry_map" alt=""/>
<map id="Geometry_map" name="Geometry_map">
<area href="classQObject.html" alt="QObject" shape="rect" coords="165,0,287,24"/>
<area href="classqmapcontrol_1_1Curve.html" title="A Curve Geometry, implemented to fullfil OGC Spec. " alt="Curve" shape="rect" coords="0,112,122,136"/>
<area href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. " alt="Point" shape="rect" coords="330,112,452,136"/>
<area href="classqmapcontrol_1_1LineString.html" title="A collection of Point objects to describe a line. " alt="LineString" shape="rect" coords="0,168,122,192"/>
<area href="classqmapcontrol_1_1ArrowPoint.html" title="Draws a directed arrow (showing orientation) into the map. " alt="ArrowPoint" shape="rect" coords="132,168,254,192"/>
<area href="classqmapcontrol_1_1CirclePoint.html" title="Draws a circle into the map. " alt="CirclePoint" shape="rect" coords="264,168,386,192"/>
<area href="classqmapcontrol_1_1ImagePoint.html" title="Draws an image into the map. " alt="ImagePoint" shape="rect" coords="396,168,518,192"/>
<area href="classqmapcontrol_1_1InvisiblePoint.html" title="Draws an invisible point into the map. " alt="InvisiblePoint" shape="rect" coords="528,168,650,192"/>
<area href="classqmapcontrol_1_1FixedImageOverlay.html" title="Draws a fixed image into the map. " alt="FixedImageOverlay" shape="rect" coords="396,224,518,248"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:a18e44e30b31525a243960ca3928125aa"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a18e44e30b31525a243960ca3928125aa">setVisible</a> (bool visible)</td></tr>
<tr class="memdesc:a18e44e30b31525a243960ca3928125aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">if visible is true, the layer is made visible <a href="#a18e44e30b31525a243960ca3928125aa">More...</a><br /></td></tr>
<tr class="separator:a18e44e30b31525a243960ca3928125aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a685dcab83356e5cc449475f177bb487d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a685dcab83356e5cc449475f177bb487d">geometryClicked</a> (<a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> *geometry, QPoint point)</td></tr>
<tr class="memdesc:a685dcab83356e5cc449475f177bb487d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when a <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is clicked. <a href="#a685dcab83356e5cc449475f177bb487d">More...</a><br /></td></tr>
<tr class="separator:a685dcab83356e5cc449475f177bb487d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a807f9cfb1b9d680ca76cf825cc9cf46a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a807f9cfb1b9d680ca76cf825cc9cf46a">positionChanged</a> (<a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> *geom)</td></tr>
<tr class="memdesc:a807f9cfb1b9d680ca76cf825cc9cf46a"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> emits this signal, when its position gets changed. <a href="#a807f9cfb1b9d680ca76cf825cc9cf46a">More...</a><br /></td></tr>
<tr class="separator:a807f9cfb1b9d680ca76cf825cc9cf46a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af92c4fa46f711bea92efe5ab80f9084d"><td class="memItemLeft" align="right" valign="top">virtual QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#af92c4fa46f711bea92efe5ab80f9084d">boundingBox</a> ()=0</td></tr>
<tr class="memdesc:af92c4fa46f711bea92efe5ab80f9084d"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the BoundingBox <a href="#af92c4fa46f711bea92efe5ab80f9084d">More...</a><br /></td></tr>
<tr class="separator:af92c4fa46f711bea92efe5ab80f9084d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a029a8b50c439c719aac173bffe4cfb71"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a029a8b50c439c719aac173bffe4cfb71">Equals</a> (<a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> *geom)</td></tr>
<tr class="separator:a029a8b50c439c719aac173bffe4cfb71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08422ee75ab02691943c1ca87e2bc563"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a08422ee75ab02691943c1ca87e2bc563">isVisible</a> () const </td></tr>
<tr class="memdesc:a08422ee75ab02691943c1ca87e2bc563"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true if this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is visible <a href="#a08422ee75ab02691943c1ca87e2bc563">More...</a><br /></td></tr>
<tr class="separator:a08422ee75ab02691943c1ca87e2bc563"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b0a198f837184bf6fff555cee3ce770"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a2b0a198f837184bf6fff555cee3ce770">name</a> () const </td></tr>
<tr class="memdesc:a2b0a198f837184bf6fff555cee3ce770"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> <a href="#a2b0a198f837184bf6fff555cee3ce770">More...</a><br /></td></tr>
<tr class="separator:a2b0a198f837184bf6fff555cee3ce770"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a771cc513dc079219d5da2c4b81019d7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a771cc513dc079219d5da2c4b81019d7c">parentGeometry</a> () const </td></tr>
<tr class="memdesc:a771cc513dc079219d5da2c4b81019d7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the parent <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> <a href="#a771cc513dc079219d5da2c4b81019d7c">More...</a><br /></td></tr>
<tr class="separator:a771cc513dc079219d5da2c4b81019d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed7be2fcd2c1d7bccb55f5ac73d7a662"><td class="memItemLeft" align="right" valign="top">QPen *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#aed7be2fcd2c1d7bccb55f5ac73d7a662">pen</a> () const </td></tr>
<tr class="memdesc:aed7be2fcd2c1d7bccb55f5ac73d7a662"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the QPen which is used on drawing <a href="#aed7be2fcd2c1d7bccb55f5ac73d7a662">More...</a><br /></td></tr>
<tr class="separator:aed7be2fcd2c1d7bccb55f5ac73d7a662"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6220fae15759fd0fa7d75e415df34e83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a6220fae15759fd0fa7d75e415df34e83">setName</a> (QString <a class="el" href="classqmapcontrol_1_1Geometry.html#a2b0a198f837184bf6fff555cee3ce770">name</a>)</td></tr>
<tr class="memdesc:a6220fae15759fd0fa7d75e415df34e83"><td class="mdescLeft">&#160;</td><td class="mdescRight">sets the name of the geometry <a href="#a6220fae15759fd0fa7d75e415df34e83">More...</a><br /></td></tr>
<tr class="separator:a6220fae15759fd0fa7d75e415df34e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a013a6edb6d10a71297978bc31a796b"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Geometry.html#a3a013a6edb6d10a71297978bc31a796b">toString</a> ()</td></tr>
<tr class="memdesc:a3a013a6edb6d10a71297978bc31a796b"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns a String representation of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> <a href="#a3a013a6edb6d10a71297978bc31a796b">More...</a><br /></td></tr>
<tr class="separator:a3a013a6edb6d10a71297978bc31a796b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Main class for objects that should be painted in maps. </p>
<p><a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is the root class of the hierarchy. <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is an abstract (non-instantiable) class.</p>
<p>This class and the derived classes <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a>, <a class="el" href="classqmapcontrol_1_1Curve.html" title="A Curve Geometry, implemented to fullfil OGC Spec. ">Curve</a> and <a class="el" href="classqmapcontrol_1_1LineString.html" title="A collection of Point objects to describe a line. ">LineString</a> are leant on the Simple Feature Specification of the Open Geospatial Consortium. </p><dl class="section see"><dt>See also</dt><dd>www.opengeospatial.com</dd></dl>
<dl class="section author"><dt>Author</dt><dd>Kai Winter <a href="#" onclick="location.href='mai'+'lto:'+'kai'+'wi'+'nte'+'r@'+'gmx'+'.d'+'e'; return false;">kaiwi<span style="display: none;">.nosp@m.</span>nter<span style="display: none;">.nosp@m.</span>@gmx.<span style="display: none;">.nosp@m.</span>de</a> </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af92c4fa46f711bea92efe5ab80f9084d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual QRectF boundingBox </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>returns the BoundingBox </p>
<p>The bounding box in world coordinates </p><dl class="section return"><dt>Returns</dt><dd>the BoundingBox </dd></dl>
<p>Implemented in <a class="el" href="classqmapcontrol_1_1Point.html#acbb256b5f9f888e9cd3bb475108ece24">Point</a>, and <a class="el" href="classqmapcontrol_1_1LineString.html#acbb256b5f9f888e9cd3bb475108ece24">LineString</a>.</p>
<p>Referenced by <a class="el" href="classqmapcontrol_1_1Layer.html#ab692d7d08414ed2b744946b88872827f">Layer::addGeometry()</a>, <a class="el" href="classqmapcontrol_1_1MapControl.html#a81804b97ecc3e2fff3a64314ff866587">MapControl::isGeometryVisible()</a>, <a class="el" href="classqmapcontrol_1_1Layer.html#af2a2f7fec3f6e5fbf623f466a961bfb7">Layer::removeGeometry()</a>, and <a class="el" href="classqmapcontrol_1_1Geometry.html#a18e44e30b31525a243960ca3928125aa">Geometry::setVisible()</a>.</p>
</div>
</div>
<a class="anchor" id="a029a8b50c439c719aac173bffe4cfb71"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Equals </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>returns true if the given <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is equal to this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> not implemented yet! </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">geom</td><td>The <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> to be tested </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the given <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is equal to this </dd></dl>
</div>
</div>
<a class="anchor" id="a685dcab83356e5cc449475f177bb487d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geometryClicked </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> *&#160;</td>
<td class="paramname"><em>geometry</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPoint&#160;</td>
<td class="paramname"><em>point</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is clicked. </p>
<p>A <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is clickable, if the containing layer is clickable. The objects emits a signal if it gets clicked </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">geometry</td><td>The clicked <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </td></tr>
<tr><td class="paramname">point</td><td>-unused- </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="classqmapcontrol_1_1Point.html#a7dee2100a2d2056511aca25c9390d253">Point::Touches()</a>.</p>
</div>
</div>
<a class="anchor" id="a08422ee75ab02691943c1ca87e2bc563"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool isVisible </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>returns true if this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is visible </p>
<dl class="section return"><dt>Returns</dt><dd>true if this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> is visible </dd></dl>
<p>Referenced by <a class="el" href="classqmapcontrol_1_1Point.html#a7dee2100a2d2056511aca25c9390d253">Point::Touches()</a>.</p>
</div>
</div>
<a class="anchor" id="a2b0a198f837184bf6fff555cee3ce770"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString name </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>returns the name of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </p>
<dl class="section return"><dt>Returns</dt><dd>the name of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </dd></dl>
<p>Referenced by <a class="el" href="classqmapcontrol_1_1Geometry.html#a6220fae15759fd0fa7d75e415df34e83">Geometry::setName()</a>.</p>
</div>
</div>
<a class="anchor" id="a771cc513dc079219d5da2c4b81019d7c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> * parentGeometry </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>returns the parent <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </p>
<p>A <a class="el" href="classqmapcontrol_1_1LineString.html" title="A collection of Point objects to describe a line. ">LineString</a> is a composition of many Points. This methods returns the parent (the <a class="el" href="classqmapcontrol_1_1LineString.html" title="A collection of Point objects to describe a line. ">LineString</a>) of a <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a> </p><dl class="section return"><dt>Returns</dt><dd>the parent <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aed7be2fcd2c1d7bccb55f5ac73d7a662"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QPen * pen </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>returns the QPen which is used on drawing </p>
<p>The pen is set depending on the <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a>. A <a class="el" href="classqmapcontrol_1_1CirclePoint.html" title="Draws a circle into the map. ">CirclePoint</a> for example takes one with the constructor. </p><dl class="section return"><dt>Returns</dt><dd>the QPen which is used for drawing </dd></dl>
<p>Referenced by <a class="el" href="classqmapcontrol_1_1ArrowPoint.html#a841a287c3d99b6e796442168cbc96cc8">ArrowPoint::ArrowPoint()</a>, <a class="el" href="classqmapcontrol_1_1CirclePoint.html#a13300765d52da11cc8cbb4384e8e9e23">CirclePoint::CirclePoint()</a>, <a class="el" href="classqmapcontrol_1_1LineString.html#ad8efdad1cc0ff6c63357cb72180c3a0a">LineString::LineString()</a>, <a class="el" href="classqmapcontrol_1_1ArrowPoint.html#aa92f0f1b5d2fd424196a33012ffe8ea1">ArrowPoint::setPen()</a>, and <a class="el" href="classqmapcontrol_1_1CirclePoint.html#aa92f0f1b5d2fd424196a33012ffe8ea1">CirclePoint::setPen()</a>.</p>
</div>
</div>
<a class="anchor" id="a807f9cfb1b9d680ca76cf825cc9cf46a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void positionChanged </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> emits this signal, when its position gets changed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">geom</td><td>the <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6220fae15759fd0fa7d75e415df34e83"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void setName </td>
<td>(</td>
<td class="paramtype">QString&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>sets the name of the geometry </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>the new name of the geometry </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="classqmapcontrol_1_1Geometry.html#a2b0a198f837184bf6fff555cee3ce770">Geometry::name()</a>.</p>
</div>
</div>
<a class="anchor" id="a18e44e30b31525a243960ca3928125aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void setVisible </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>visible</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>if visible is true, the layer is made visible </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">visible</td><td>if the layer should be visible </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="classqmapcontrol_1_1Geometry.html#af92c4fa46f711bea92efe5ab80f9084d">Geometry::boundingBox()</a>.</p>
</div>
</div>
<a class="anchor" id="a3a013a6edb6d10a71297978bc31a796b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString toString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>returns a String representation of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </p>
<p>not implemented yet! </p><dl class="section return"><dt>Returns</dt><dd>a String representation of this <a class="el" href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. ">Geometry</a> </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="geometry_8h_source.html">geometry.h</a></li>
<li>geometry.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 16 2014 18:28:17 for QMapControl by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>