mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
959 lines
53 KiB
HTML
959 lines
53 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: ArrowPoint 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
|
||
 <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 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 List</span></a></li>
|
||
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||
<li><a href="functions.html"><span>Class 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_1ArrowPoint.html">ArrowPoint</a></li> </ul>
|
||
</div>
|
||
</div><!-- top -->
|
||
<div class="header">
|
||
<div class="summary">
|
||
<a href="#pub-types">Public Types</a> |
|
||
<a href="#signals">Signals</a> |
|
||
<a href="#pub-methods">Public Member Functions</a> |
|
||
<a href="#pro-methods">Protected Member Functions</a> |
|
||
<a href="classqmapcontrol_1_1ArrowPoint-members.html">List of all members</a> </div>
|
||
<div class="headertitle">
|
||
<div class="title">ArrowPoint Class Reference</div> </div>
|
||
</div><!--header-->
|
||
<div class="contents">
|
||
|
||
<p>Draws a directed arrow (showing orientation) into the map.
|
||
<a href="classqmapcontrol_1_1ArrowPoint.html#details">More...</a></p>
|
||
|
||
<p><code>#include <<a class="el" href="arrowpoint_8h_source.html">arrowpoint.h</a>></code></p>
|
||
<div class="dynheader">
|
||
Inheritance diagram for ArrowPoint:</div>
|
||
<div class="dyncontent">
|
||
<div class="center">
|
||
<img src="classqmapcontrol_1_1ArrowPoint.png" usemap="#ArrowPoint_map" alt=""/>
|
||
<map id="ArrowPoint_map" name="ArrowPoint_map">
|
||
<area href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. " alt="Point" shape="rect" coords="0,112,75,136"/>
|
||
<area href="classqmapcontrol_1_1Geometry.html" title="Main class for objects that should be painted in maps. " alt="Geometry" shape="rect" coords="0,56,75,80"/>
|
||
<area href="classQObject.html" alt="QObject" shape="rect" coords="0,0,75,24"/>
|
||
</map>
|
||
</div></div>
|
||
<table class="memberdecls">
|
||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||
Public Types</h2></td></tr>
|
||
<tr class="memitem:acdfaca60ec19c0265bac2692d7982726"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726">Alignment</a> { <br />
|
||
  <a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726a61f66ddc6702462a94d3e231f02b9017">TopLeft</a>,
|
||
<a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726a7e42a96f07eab63a8c9fa8a0526f34f4">TopRight</a>,
|
||
<a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726aaf2dc2d869f46c11d4c97c6649b2087a">TopMiddle</a>,
|
||
<a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726ae61b9b6ea2fa75ca500d5bb1eaf6f6fc">BottomLeft</a>,
|
||
<br />
|
||
  <a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726a1640f649d644701a2f4633e6bd88b20c">BottomRight</a>,
|
||
<a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726a6165fc7e37a746212ab2911513d3781f">BottomMiddle</a>,
|
||
<a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726a673e6efef9aafe98078c5552e99c923c">Middle</a>
|
||
<br />
|
||
}</td></tr>
|
||
<tr class="memdesc:acdfaca60ec19c0265bac2692d7982726"><td class="mdescLeft"> </td><td class="mdescRight">sets where the point should be aligned <a href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726">More...</a><br /></td></tr>
|
||
<tr class="separator:acdfaca60ec19c0265bac2692d7982726"><td class="memSeparator" colspan="2"> </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 </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"> </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"> </td></tr>
|
||
<tr class="memitem:a807f9cfb1b9d680ca76cf825cc9cf46a"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </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:a841a287c3d99b6e796442168cbc96cc8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1ArrowPoint.html#a841a287c3d99b6e796442168cbc96cc8">ArrowPoint</a> (qreal x, qreal y, int sideLength, qreal heading, QString <a class="el" href="classqmapcontrol_1_1Geometry.html#a2b0a198f837184bf6fff555cee3ce770">name</a>=QString(), <a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726">Alignment</a> alignment=<a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726a673e6efef9aafe98078c5552e99c923c">Middle</a>, QPen *<a class="el" href="classqmapcontrol_1_1Geometry.html#aed7be2fcd2c1d7bccb55f5ac73d7a662">pen</a>=0)</td></tr>
|
||
<tr class="separator:a841a287c3d99b6e796442168cbc96cc8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:acbb256b5f9f888e9cd3bb475108ece24"><td class="memItemLeft" align="right" valign="top">virtual QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#acbb256b5f9f888e9cd3bb475108ece24">boundingBox</a> ()</td></tr>
|
||
<tr class="memdesc:acbb256b5f9f888e9cd3bb475108ece24"><td class="mdescLeft"> </td><td class="mdescRight">returns the bounding box of the point <a href="#acbb256b5f9f888e9cd3bb475108ece24">More...</a><br /></td></tr>
|
||
<tr class="separator:acbb256b5f9f888e9cd3bb475108ece24"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a2fbb44b2ed047287d715484d2fda7299"><td class="memItemLeft" align="right" valign="top">QPointF </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#a2fbb44b2ed047287d715484d2fda7299">coordinate</a> () const </td></tr>
|
||
<tr class="memdesc:a2fbb44b2ed047287d715484d2fda7299"><td class="mdescLeft"> </td><td class="mdescRight">returns the coordinate of the point <a href="#a2fbb44b2ed047287d715484d2fda7299">More...</a><br /></td></tr>
|
||
<tr class="separator:a2fbb44b2ed047287d715484d2fda7299"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a029a8b50c439c719aac173bffe4cfb71"><td class="memItemLeft" align="right" valign="top">bool </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"> </td></tr>
|
||
<tr class="memitem:a5c08ef7caea74bc61c2fee079f45be43"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c08ef7caea74bc61c2fee079f45be43"></a>
|
||
qreal </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1ArrowPoint.html#a5c08ef7caea74bc61c2fee079f45be43">getHeading</a> () const </td></tr>
|
||
<tr class="memdesc:a5c08ef7caea74bc61c2fee079f45be43"><td class="mdescLeft"> </td><td class="mdescRight">gets the current heading of the arrow <br /></td></tr>
|
||
<tr class="separator:a5c08ef7caea74bc61c2fee079f45be43"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a08422ee75ab02691943c1ca87e2bc563"><td class="memItemLeft" align="right" valign="top">bool </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"> </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"> </td></tr>
|
||
<tr class="memitem:a6311aabecac471455760aae4790cff91"><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#a6311aabecac471455760aae4790cff91">latitude</a> () const </td></tr>
|
||
<tr class="memdesc:a6311aabecac471455760aae4790cff91"><td class="mdescLeft"> </td><td class="mdescRight">returns the latitude of the point <a href="#a6311aabecac471455760aae4790cff91">More...</a><br /></td></tr>
|
||
<tr class="separator:a6311aabecac471455760aae4790cff91"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a2b0f7ec9068af09bcf151af61a785845"><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#a2b0f7ec9068af09bcf151af61a785845">longitude</a> () const </td></tr>
|
||
<tr class="memdesc:a2b0f7ec9068af09bcf151af61a785845"><td class="mdescLeft"> </td><td class="mdescRight">returns the longitude of the point <a href="#a2b0f7ec9068af09bcf151af61a785845">More...</a><br /></td></tr>
|
||
<tr class="separator:a2b0f7ec9068af09bcf151af61a785845"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a2b0a198f837184bf6fff555cee3ce770"><td class="memItemLeft" align="right" valign="top">QString </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"> </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"> </td></tr>
|
||
<tr class="memitem:a771cc513dc079219d5da2c4b81019d7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a> * </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"> </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"> </td></tr>
|
||
<tr class="memitem:aed7be2fcd2c1d7bccb55f5ac73d7a662"><td class="memItemLeft" align="right" valign="top">QPen * </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"> </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"> </td></tr>
|
||
<tr class="memitem:ae781b15ef7d46695b2a7d2855b3f670f"><td class="memItemLeft" align="right" valign="top">QPixmap </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#ae781b15ef7d46695b2a7d2855b3f670f">pixmap</a> ()</td></tr>
|
||
<tr class="memdesc:ae781b15ef7d46695b2a7d2855b3f670f"><td class="mdescLeft"> </td><td class="mdescRight">returns the pixmap of the point <a href="#ae781b15ef7d46695b2a7d2855b3f670f">More...</a><br /></td></tr>
|
||
<tr class="separator:ae781b15ef7d46695b2a7d2855b3f670f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a91f1496833bfda9f7a7ec5fcb02a1895"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#a91f1496833bfda9f7a7ec5fcb02a1895">setBaselevel</a> (int zoomlevel)</td></tr>
|
||
<tr class="memdesc:a91f1496833bfda9f7a7ec5fcb02a1895"><td class="mdescLeft"> </td><td class="mdescRight">Sets the zoom level on which the points pixmap gets displayed on full size. <a href="#a91f1496833bfda9f7a7ec5fcb02a1895">More...</a><br /></td></tr>
|
||
<tr class="separator:a91f1496833bfda9f7a7ec5fcb02a1895"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a553a63cdc0e822aaf3f324d23b86cec7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1ArrowPoint.html#a553a63cdc0e822aaf3f324d23b86cec7">setHeading</a> (qreal heading)</td></tr>
|
||
<tr class="memdesc:a553a63cdc0e822aaf3f324d23b86cec7"><td class="mdescLeft"> </td><td class="mdescRight">sets the heading of the arrow and redraws it in the new orientation <a href="#a553a63cdc0e822aaf3f324d23b86cec7">More...</a><br /></td></tr>
|
||
<tr class="separator:a553a63cdc0e822aaf3f324d23b86cec7"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:adc2724c4e195727b823ff55c940283de"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#adc2724c4e195727b823ff55c940283de">setMaxsize</a> (QSize maxsize)</td></tr>
|
||
<tr class="memdesc:adc2724c4e195727b823ff55c940283de"><td class="mdescLeft"> </td><td class="mdescRight">sets a maximal size for the pixmap <a href="#adc2724c4e195727b823ff55c940283de">More...</a><br /></td></tr>
|
||
<tr class="separator:adc2724c4e195727b823ff55c940283de"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:ac40b3e44f54fab1330b9309ac7bd84d2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#ac40b3e44f54fab1330b9309ac7bd84d2">setMinsize</a> (QSize minsize)</td></tr>
|
||
<tr class="memdesc:ac40b3e44f54fab1330b9309ac7bd84d2"><td class="mdescLeft"> </td><td class="mdescRight">sets a minimal size for the pixmap <a href="#ac40b3e44f54fab1330b9309ac7bd84d2">More...</a><br /></td></tr>
|
||
<tr class="separator:ac40b3e44f54fab1330b9309ac7bd84d2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a6220fae15759fd0fa7d75e415df34e83"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </td></tr>
|
||
<tr class="memitem:aa92f0f1b5d2fd424196a33012ffe8ea1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1ArrowPoint.html#aa92f0f1b5d2fd424196a33012ffe8ea1">setPen</a> (QPen *<a class="el" href="classqmapcontrol_1_1Geometry.html#aed7be2fcd2c1d7bccb55f5ac73d7a662">pen</a>)</td></tr>
|
||
<tr class="memdesc:aa92f0f1b5d2fd424196a33012ffe8ea1"><td class="mdescLeft"> </td><td class="mdescRight">sets the QPen which is used for drawing the arrow <a href="#aa92f0f1b5d2fd424196a33012ffe8ea1">More...</a><br /></td></tr>
|
||
<tr class="separator:aa92f0f1b5d2fd424196a33012ffe8ea1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a3a013a6edb6d10a71297978bc31a796b"><td class="memItemLeft" align="right" valign="top">QString </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"> </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"> </td></tr>
|
||
<tr class="memitem:ad1eaabeb2b227cd055ccf4b4e2818480"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQWidget.html">QWidget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#ad1eaabeb2b227cd055ccf4b4e2818480">widget</a> ()</td></tr>
|
||
<tr class="memdesc:ad1eaabeb2b227cd055ccf4b4e2818480"><td class="mdescLeft"> </td><td class="mdescRight">returns the widget of the point <a href="#ad1eaabeb2b227cd055ccf4b4e2818480">More...</a><br /></td></tr>
|
||
<tr class="separator:ad1eaabeb2b227cd055ccf4b4e2818480"><td class="memSeparator" colspan="2"> </td></tr>
|
||
</table><table class="memberdecls">
|
||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||
Protected Member Functions</h2></td></tr>
|
||
<tr class="memitem:a7dee2100a2d2056511aca25c9390d253"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classqmapcontrol_1_1Point.html#a7dee2100a2d2056511aca25c9390d253">Touches</a> (<a class="el" href="classqmapcontrol_1_1Point.html">Point</a> *click, const <a class="el" href="classqmapcontrol_1_1MapAdapter.html">MapAdapter</a> *mapadapter)</td></tr>
|
||
<tr class="memdesc:a7dee2100a2d2056511aca25c9390d253"><td class="mdescLeft"> </td><td class="mdescRight">returns true if the given <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a> touches this <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a> <a href="#a7dee2100a2d2056511aca25c9390d253">More...</a><br /></td></tr>
|
||
<tr class="separator:a7dee2100a2d2056511aca25c9390d253"><td class="memSeparator" colspan="2"> </td></tr>
|
||
</table>
|
||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
<div class="textblock"><p>Draws a directed arrow (showing orientation) into the map. </p>
|
||
<p>This is a convenience class for <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a>. It configures the pixmap of a <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a> to draw an arrow in a specific direction. A QPen could be used to change the color or line-width of the arrow</p>
|
||
<dl class="section author"><dt>Author</dt><dd>Jeffery MacEachern <a href="#" onclick="location.href='mai'+'lto:'+'j.m'+'ac'+'eac'+'he'+'rn@'+'gm'+'ail'+'.c'+'om'; return false;">j.mac<span style="display: none;">.nosp@m.</span>each<span style="display: none;">.nosp@m.</span>ern@g<span style="display: none;">.nosp@m.</span>mail<span style="display: none;">.nosp@m.</span>.com</a> </dd></dl>
|
||
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
|
||
<a class="anchor" id="acdfaca60ec19c0265bac2692d7982726"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">enum <a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726">Alignment</a></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>sets where the point should be aligned </p>
|
||
<table class="fieldtable">
|
||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="acdfaca60ec19c0265bac2692d7982726a61f66ddc6702462a94d3e231f02b9017"></a>TopLeft </td><td class="fielddoc">
|
||
<p>Align on TopLeft </p>
|
||
</td></tr>
|
||
<tr><td class="fieldname"><a class="anchor" id="acdfaca60ec19c0265bac2692d7982726a7e42a96f07eab63a8c9fa8a0526f34f4"></a>TopRight </td><td class="fielddoc">
|
||
<p>Align on TopRight </p>
|
||
</td></tr>
|
||
<tr><td class="fieldname"><a class="anchor" id="acdfaca60ec19c0265bac2692d7982726aaf2dc2d869f46c11d4c97c6649b2087a"></a>TopMiddle </td><td class="fielddoc">
|
||
<p>Align on TopLeft </p>
|
||
</td></tr>
|
||
<tr><td class="fieldname"><a class="anchor" id="acdfaca60ec19c0265bac2692d7982726ae61b9b6ea2fa75ca500d5bb1eaf6f6fc"></a>BottomLeft </td><td class="fielddoc">
|
||
<p>Align on BottomLeft </p>
|
||
</td></tr>
|
||
<tr><td class="fieldname"><a class="anchor" id="acdfaca60ec19c0265bac2692d7982726a1640f649d644701a2f4633e6bd88b20c"></a>BottomRight </td><td class="fielddoc">
|
||
<p>Align on BottomRight </p>
|
||
</td></tr>
|
||
<tr><td class="fieldname"><a class="anchor" id="acdfaca60ec19c0265bac2692d7982726a6165fc7e37a746212ab2911513d3781f"></a>BottomMiddle </td><td class="fielddoc">
|
||
<p>Align on BottomMiddle </p>
|
||
</td></tr>
|
||
<tr><td class="fieldname"><a class="anchor" id="acdfaca60ec19c0265bac2692d7982726a673e6efef9aafe98078c5552e99c923c"></a>Middle </td><td class="fielddoc">
|
||
<p>Align on Middle </p>
|
||
</td></tr>
|
||
</table>
|
||
|
||
</div>
|
||
</div>
|
||
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
<a class="anchor" id="a841a287c3d99b6e796442168cbc96cc8"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname"><a class="el" href="classqmapcontrol_1_1ArrowPoint.html">ArrowPoint</a> </td>
|
||
<td>(</td>
|
||
<td class="paramtype">qreal </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">qreal </td>
|
||
<td class="paramname"><em>y</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">int </td>
|
||
<td class="paramname"><em>sideLength</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">qreal </td>
|
||
<td class="paramname"><em>heading</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">QString </td>
|
||
<td class="paramname"><em>name</em> = <code>QString()</code>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype"><a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726">Alignment</a> </td>
|
||
<td class="paramname"><em>alignment</em> = <code><a class="el" href="classqmapcontrol_1_1Point.html#acdfaca60ec19c0265bac2692d7982726a673e6efef9aafe98078c5552e99c923c">Middle</a></code>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">QPen * </td>
|
||
<td class="paramname"><em>pen</em> = <code>0</code> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
<dl class="params"><dt>Parameters</dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramname">x</td><td>longitude </td></tr>
|
||
<tr><td class="paramname">y</td><td>latitude </td></tr>
|
||
<tr><td class="paramname">sideLength</td><td>side length of the arrow's bounding box (square) </td></tr>
|
||
<tr><td class="paramname">heading</td><td>compass heading determining direction that arrow faces, measured in degrees clockwise from North </td></tr>
|
||
<tr><td class="paramname">name</td><td>name of the arrow point </td></tr>
|
||
<tr><td class="paramname">alignment</td><td>alignment (Middle or TopLeft) </td></tr>
|
||
<tr><td class="paramname">pen</td><td>QPen for drawing </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
|
||
<p>References <a class="el" href="classqmapcontrol_1_1Geometry.html#aed7be2fcd2c1d7bccb55f5ac73d7a662">Geometry::pen()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<h2 class="groupheader">Member Function Documentation</h2>
|
||
<a class="anchor" id="acbb256b5f9f888e9cd3bb475108ece24"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">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">virtual</span><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>returns the bounding box of the point </p>
|
||
<p>The Bounding contains the coordinate of the point and its size. The size is set, if the point contains a pixmap or a widget </p><dl class="section return"><dt>Returns</dt><dd>the bounding box of the point </dd></dl>
|
||
|
||
<p>Implements <a class="el" href="classqmapcontrol_1_1Geometry.html#af92c4fa46f711bea92efe5ab80f9084d">Geometry</a>.</p>
|
||
|
||
<p>References <a class="el" href="classqmapcontrol_1_1Point.html#a6311aabecac471455760aae4790cff91">Point::latitude()</a>, and <a class="el" href="classqmapcontrol_1_1Point.html#a2b0f7ec9068af09bcf151af61a785845">Point::longitude()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="a2fbb44b2ed047287d715484d2fda7299"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">QPointF coordinate </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td> const</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>returns the coordinate of the point </p>
|
||
<p>The x component of the returned QPointF is the longitude value, the y component the latitude </p><dl class="section return"><dt>Returns</dt><dd>the coordinate of a point </dd></dl>
|
||
|
||
<p>Referenced by <a class="el" href="classqmapcontrol_1_1MapControl.html#a4ea85421ec8df905fba209510c909e2c">MapControl::setView()</a>, and <a class="el" href="classqmapcontrol_1_1Point.html#a7dee2100a2d2056511aca25c9390d253">Point::Touches()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="a029a8b50c439c719aac173bffe4cfb71"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<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> * </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">inherited</span></span> </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> * </td>
|
||
<td class="paramname"><em>geometry</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">QPoint </td>
|
||
<td class="paramname"><em>point</em> </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 class="mlabel">inherited</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="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">bool isVisible </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td> const</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </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="a6311aabecac471455760aae4790cff91"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">qreal latitude </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td> const</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>returns the latitude of the point </p>
|
||
<dl class="section return"><dt>Returns</dt><dd>the latitude of the point </dd></dl>
|
||
|
||
<p>Referenced by <a class="el" href="classqmapcontrol_1_1LineString.html#acbb256b5f9f888e9cd3bb475108ece24">LineString::boundingBox()</a>, and <a class="el" href="classqmapcontrol_1_1Point.html#acbb256b5f9f888e9cd3bb475108ece24">Point::boundingBox()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="a2b0f7ec9068af09bcf151af61a785845"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">qreal longitude </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td> const</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>returns the longitude of the point </p>
|
||
<dl class="section return"><dt>Returns</dt><dd>the longitude of the point </dd></dl>
|
||
|
||
<p>Referenced by <a class="el" href="classqmapcontrol_1_1LineString.html#acbb256b5f9f888e9cd3bb475108ece24">LineString::boundingBox()</a>, and <a class="el" href="classqmapcontrol_1_1Point.html#acbb256b5f9f888e9cd3bb475108ece24">Point::boundingBox()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="a2b0a198f837184bf6fff555cee3ce770"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">QString name </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td> const</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </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="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<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>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </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="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">QPen * pen </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td> const</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </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="ae781b15ef7d46695b2a7d2855b3f670f"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">QPixmap pixmap </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>returns the pixmap of the point </p>
|
||
<dl class="section return"><dt>Returns</dt><dd>the pixmap of the point </dd></dl>
|
||
|
||
<p>Referenced by <a class="el" href="classqmapcontrol_1_1FixedImageOverlay.html#aa5c420b6584232328fc12d8bc699129c">FixedImageOverlay::FixedImageOverlay()</a>, and <a class="el" href="classqmapcontrol_1_1ImagePoint.html#a5859a1a7467f65a24ef7009acb927446">ImagePoint::ImagePoint()</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> * </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 class="mlabel">inherited</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="a91f1496833bfda9f7a7ec5fcb02a1895"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void setBaselevel </td>
|
||
<td>(</td>
|
||
<td class="paramtype">int </td>
|
||
<td class="paramname"><em>zoomlevel</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>Sets the zoom level on which the points pixmap gets displayed on full size. </p>
|
||
<p>Use this method to set a zoom level on which the pixmap gets displayed with its real size. On zoomlevels below it will be displayed smaller, and on zoom levels thereover it will be displayed larger </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classqmapcontrol_1_1Point.html#ac40b3e44f54fab1330b9309ac7bd84d2" title="sets a minimal size for the pixmap ">setMinsize</a>, <a class="el" href="classqmapcontrol_1_1Point.html#adc2724c4e195727b823ff55c940283de" title="sets a maximal size for the pixmap ">setMaxsize</a> </dd></dl>
|
||
<dl class="params"><dt>Parameters</dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramname">zoomlevel</td><td>the zoomlevel on which the point will be displayed on full size </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="a553a63cdc0e822aaf3f324d23b86cec7"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void setHeading </td>
|
||
<td>(</td>
|
||
<td class="paramtype">qreal </td>
|
||
<td class="paramname"><em>heading</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>sets the heading of the arrow and redraws it in the new orientation </p>
|
||
<dl class="params"><dt>Parameters</dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramname">heading</td><td>new heading </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="adc2724c4e195727b823ff55c940283de"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void setMaxsize </td>
|
||
<td>(</td>
|
||
<td class="paramtype">QSize </td>
|
||
<td class="paramname"><em>maxsize</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>sets a maximal size for the pixmap </p>
|
||
<p>When the point´s pixmap should change its size on zooming, this method sets the maximal size. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classqmapcontrol_1_1Point.html#a91f1496833bfda9f7a7ec5fcb02a1895" title="Sets the zoom level on which the points pixmap gets displayed on full size. ">setBaselevel</a> </dd></dl>
|
||
<dl class="params"><dt>Parameters</dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramname">maxsize</td><td>the maximal size which the pixmap should have </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ac40b3e44f54fab1330b9309ac7bd84d2"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void setMinsize </td>
|
||
<td>(</td>
|
||
<td class="paramtype">QSize </td>
|
||
<td class="paramname"><em>minsize</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>sets a minimal size for the pixmap </p>
|
||
<p>When the point's pixmap should change its size on zooming, this method sets the minimal size. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classqmapcontrol_1_1Point.html#a91f1496833bfda9f7a7ec5fcb02a1895" title="Sets the zoom level on which the points pixmap gets displayed on full size. ">setBaselevel</a> </dd></dl>
|
||
<dl class="params"><dt>Parameters</dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramname">minsize</td><td>the minimal size which the pixmap should have </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="a6220fae15759fd0fa7d75e415df34e83"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void setName </td>
|
||
<td>(</td>
|
||
<td class="paramtype">QString </td>
|
||
<td class="paramname"><em>name</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </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="aa92f0f1b5d2fd424196a33012ffe8ea1"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void setPen </td>
|
||
<td>(</td>
|
||
<td class="paramtype">QPen * </td>
|
||
<td class="paramname"><em>pen</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>sets the QPen which is used for drawing the arrow </p>
|
||
<p>A QPen can be used to modify the look of the drawn arrow </p><dl class="params"><dt>Parameters</dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramname">pen</td><td>the QPen which should be used for drawing </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
<dl class="section see"><dt>See also</dt><dd><a href="http://doc.trolltech.com/4.3/qpen.html">http://doc.trolltech.com/4.3/qpen.html</a> </dd></dl>
|
||
|
||
<p>Reimplemented from <a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a>.</p>
|
||
|
||
<p>References <a class="el" href="classqmapcontrol_1_1Geometry.html#aed7be2fcd2c1d7bccb55f5ac73d7a662">Geometry::pen()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="a3a013a6edb6d10a71297978bc31a796b"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">QString toString </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </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>
|
||
<a class="anchor" id="a7dee2100a2d2056511aca25c9390d253"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">bool Touches </td>
|
||
<td>(</td>
|
||
<td class="paramtype"><a class="el" href="classqmapcontrol_1_1Point.html">Point</a> * </td>
|
||
<td class="paramname"><em>click</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">const <a class="el" href="classqmapcontrol_1_1MapAdapter.html">MapAdapter</a> * </td>
|
||
<td class="paramname"><em>mapadapter</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>returns true if the given <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a> touches this <a class="el" href="classqmapcontrol_1_1Point.html" title="A geometric point to draw objects into maps. ">Point</a> </p>
|
||
<p>The collision detection checks for the bounding rectangulars. </p><dl class="params"><dt>Parameters</dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramname">geom</td><td>the other point which should be tested on collision </td></tr>
|
||
<tr><td class="paramname">mapadapter</td><td>the mapadapter which is used for calculations </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
||
|
||
<p>Implements <a class="el" href="classqmapcontrol_1_1Geometry.html">Geometry</a>.</p>
|
||
|
||
<p>References <a class="el" href="classqmapcontrol_1_1Point.html#a2fbb44b2ed047287d715484d2fda7299">Point::coordinate()</a>, <a class="el" href="classqmapcontrol_1_1MapAdapter.html#a0a7f30d12395e615eec9440070795349">MapAdapter::coordinateToDisplay()</a>, <a class="el" href="classqmapcontrol_1_1Geometry.html#a685dcab83356e5cc449475f177bb487d">Geometry::geometryClicked()</a>, and <a class="el" href="classqmapcontrol_1_1Geometry.html#a08422ee75ab02691943c1ca87e2bc563">Geometry::isVisible()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ad1eaabeb2b227cd055ccf4b4e2818480"></a>
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname"><a class="el" href="classQWidget.html">QWidget</a> * widget </td>
|
||
<td>(</td>
|
||
<td class="paramname"></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>returns the widget of the point </p>
|
||
<dl class="section return"><dt>Returns</dt><dd>the widget of the point </dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<hr/>The documentation for this class was generated from the following files:<ul>
|
||
<li><a class="el" href="arrowpoint_8h_source.html">arrowpoint.h</a></li>
|
||
<li>arrowpoint.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  <a href="http://www.doxygen.org/index.html">
|
||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
</a> 1.8.8
|
||
</small></address>
|
||
</body>
|
||
</html>
|