1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>Qanava: qan::EdgeItem Class Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
5 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css">
7 <!-- Generated by Doxygen 1.5.1-p1 -->
10 <li><a href=
"index.html"><span>Main
Page
</span></a></li>
11 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
12 <li id=
"current"><a href=
"annotated.html"><span>Classes
</span></a></li>
13 <li><a href=
"files.html"><span>Files
</span></a></li>
14 <li><a href=
"dirs.html"><span>Directories
</span></a></li>
15 <li><a href=
"pages.html"><span>Related
Pages
</span></a></li>
19 <li><a href=
"annotated.html"><span>Class
List
</span></a></li>
20 <li><a href=
"hierarchy.html"><span>Class
Hierarchy
</span></a></li>
21 <li><a href=
"functions.html"><span>Class
Members
</span></a></li>
24 <a class=
"el" href=
"namespaceqan.html">qan
</a>::
<a class=
"el" href=
"classqan_1_1_edge_item.html">EdgeItem
</a></div>
25 <h1>qan::EdgeItem Class Reference
</h1><!-- doxytag: class="qan::EdgeItem" --><code>#include
<qanItemGeom.h
></code>
27 Collaboration diagram for qan::EdgeItem:
<p><center><img src=
"classqan_1_1_edge_item__coll__graph.png" border=
"0" usemap=
"#qan_1_1_edge_item__coll__map" alt=
"Collaboration graph"></center>
28 <map name=
"qan_1_1_edge_item__coll__map">
29 <area href=
"classqan_1_1_node_item.html" shape=
"rect" coords=
"83,265,192,292" alt=
"">
30 <area href=
"classqan_1_1_abstract_node_item.html" shape=
"rect" coords=
"59,188,216,215" alt=
"">
31 <area href=
"classqan_1_1_node.html" shape=
"rect" coords=
"7,97,90,124" alt=
"">
32 <area href=
"classqan_1_1_style.html" shape=
"rect" coords=
"142,7,222,33" alt=
"">
33 <area href=
"classqan_1_1_style_1_1_manager.html" shape=
"rect" coords=
"199,97,340,124" alt=
"">
35 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center><a href=
"classqan_1_1_edge_item-members.html">List of all members.
</a><table border=
"0" cellpadding=
"0" cellspacing=
"0">
37 <tr><td colspan=
"2"><br><h2>Public Member Functions
</h2></td></tr>
38 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#6b883e3c96fbe545b6d9ceb86476f8fa">EdgeItem
</a> (QGraphicsItem *parent, QGraphicsScene *scene,
<a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *src,
<a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *dst)
</td></tr>
40 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#bb61af8419dc3c89c909543c9934dffd">~EdgeItem
</a> ()
</td></tr>
42 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">QRectF
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#b16bdc382e4b80152a4a08d34769ed64">boundingRect
</a> () const
</td></tr>
44 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#fd59360fd28cab1ef71178b65cabe5a2">paint
</a> (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=
0)
</td></tr>
46 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#924532fd50faebae521e289fcffcf9a6">update
</a> (
<a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *src,
<a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *dst)
</td></tr>
48 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#26408af159e2c09c47f27b826d496299">getSrc
</a> ()
</td></tr>
50 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#854fe608e7e37cbffd9b3a8da4329d1f">getDst
</a> ()
</td></tr>
52 <tr><td colspan=
"2"><br><h2>Private Attributes
</h2></td></tr>
53 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#c067fb53d55d8cbff84d253beed6cf5c">_src
</a></td></tr>
55 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#eea90da6f594e7839e274aa83962000e">_dst
</a></td></tr>
57 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">QPointF
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#a3f06fd452f05fec9833fe8742a4a600">_sourcePoint
</a></td></tr>
59 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">QPointF
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#3abff72a71859a6ead6ba74a8bcefb99">_destinationPoint
</a></td></tr>
61 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">bool
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_edge_item.html#a6ebe4a73dceb714fb076c6d57548fa7">_hasArrow
</a></td></tr>
64 <hr><h2>Constructor
& Destructor Documentation
</h2>
65 <a class=
"anchor" name=
"6b883e3c96fbe545b6d9ceb86476f8fa"></a><!-- doxytag: member="qan::EdgeItem::EdgeItem" ref="6b883e3c96fbe545b6d9ceb86476f8fa" args="(QGraphicsItem *parent, QGraphicsScene *scene, NodeItem *src, NodeItem *dst)" -->
67 <div class=
"memproto">
68 <table class=
"memname">
70 <td class=
"memname">qan::EdgeItem::EdgeItem
</td>
72 <td class=
"paramtype">QGraphicsItem *
</td>
73 <td class=
"paramname"> <em>parent
</em>,
</td>
76 <td class=
"paramkey"></td>
78 <td class=
"paramtype">QGraphicsScene *
</td>
79 <td class=
"paramname"> <em>scene
</em>,
</td>
82 <td class=
"paramkey"></td>
84 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td>
85 <td class=
"paramname"> <em>src
</em>,
</td>
88 <td class=
"paramkey"></td>
90 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td>
91 <td class=
"paramname"> <em>dst
</em></td><td> </td>
96 <td></td><td></td><td width=
"100%"></td>
106 <a class=
"anchor" name=
"bb61af8419dc3c89c909543c9934dffd"></a><!-- doxytag: member="qan::EdgeItem::~EdgeItem" ref="bb61af8419dc3c89c909543c9934dffd" args="()" -->
107 <div class=
"memitem">
108 <div class=
"memproto">
109 <table class=
"memname">
111 <td class=
"memname">qan::EdgeItem::~EdgeItem
</td>
113 <td class=
"paramname"> </td>
114 <td> )
</td>
115 <td width=
"100%"><code> [virtual]
</code></td>
125 <hr><h2>Member Function Documentation
</h2>
126 <a class=
"anchor" name=
"b16bdc382e4b80152a4a08d34769ed64"></a><!-- doxytag: member="qan::EdgeItem::boundingRect" ref="b16bdc382e4b80152a4a08d34769ed64" args="() const" -->
127 <div class=
"memitem">
128 <div class=
"memproto">
129 <table class=
"memname">
131 <td class=
"memname">QRectF qan::EdgeItem::boundingRect
</td>
133 <td class=
"paramname"> </td>
134 <td> )
</td>
135 <td width=
"100%"> const
</td>
145 <a class=
"anchor" name=
"fd59360fd28cab1ef71178b65cabe5a2"></a><!-- doxytag: member="qan::EdgeItem::paint" ref="fd59360fd28cab1ef71178b65cabe5a2" args="(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)" -->
146 <div class=
"memitem">
147 <div class=
"memproto">
148 <table class=
"memname">
150 <td class=
"memname">void qan::EdgeItem::paint
</td>
152 <td class=
"paramtype">QPainter *
</td>
153 <td class=
"paramname"> <em>painter
</em>,
</td>
156 <td class=
"paramkey"></td>
158 <td class=
"paramtype">const QStyleOptionGraphicsItem *
</td>
159 <td class=
"paramname"> <em>option
</em>,
</td>
162 <td class=
"paramkey"></td>
164 <td class=
"paramtype">QWidget *
</td>
165 <td class=
"paramname"> <em>widget
</em> =
<code>0</code></td><td> </td>
170 <td></td><td></td><td width=
"100%"></td>
180 <a class=
"anchor" name=
"924532fd50faebae521e289fcffcf9a6"></a><!-- doxytag: member="qan::EdgeItem::update" ref="924532fd50faebae521e289fcffcf9a6" args="(NodeItem *src, NodeItem *dst)" -->
181 <div class=
"memitem">
182 <div class=
"memproto">
183 <table class=
"memname">
185 <td class=
"memname">void qan::EdgeItem::update
</td>
187 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td>
188 <td class=
"paramname"> <em>src
</em>,
</td>
191 <td class=
"paramkey"></td>
193 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a> *
</td>
194 <td class=
"paramname"> <em>dst
</em></td><td> </td>
199 <td></td><td></td><td width=
"100%"><code> [virtual]
</code></td>
209 <a class=
"anchor" name=
"26408af159e2c09c47f27b826d496299"></a><!-- doxytag: member="qan::EdgeItem::getSrc" ref="26408af159e2c09c47f27b826d496299" args="()" -->
210 <div class=
"memitem">
211 <div class=
"memproto">
212 <table class=
"memname">
214 <td class=
"memname"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a>* qan::EdgeItem::getSrc
</td>
216 <td class=
"paramname"> </td>
217 <td> )
</td>
218 <td width=
"100%"><code> [inline]
</code></td>
228 <a class=
"anchor" name=
"854fe608e7e37cbffd9b3a8da4329d1f"></a><!-- doxytag: member="qan::EdgeItem::getDst" ref="854fe608e7e37cbffd9b3a8da4329d1f" args="()" -->
229 <div class=
"memitem">
230 <div class=
"memproto">
231 <table class=
"memname">
233 <td class=
"memname"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a>* qan::EdgeItem::getDst
</td>
235 <td class=
"paramname"> </td>
236 <td> )
</td>
237 <td width=
"100%"><code> [inline]
</code></td>
247 <hr><h2>Member Data Documentation
</h2>
248 <a class=
"anchor" name=
"c067fb53d55d8cbff84d253beed6cf5c"></a><!-- doxytag: member="qan::EdgeItem::_src" ref="c067fb53d55d8cbff84d253beed6cf5c" args="" -->
249 <div class=
"memitem">
250 <div class=
"memproto">
251 <table class=
"memname">
253 <td class=
"memname"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a>*
<a class=
"el" href=
"classqan_1_1_edge_item.html#c067fb53d55d8cbff84d253beed6cf5c">qan::EdgeItem::_src
</a><code> [private]
</code> </td>
263 <a class=
"anchor" name=
"eea90da6f594e7839e274aa83962000e"></a><!-- doxytag: member="qan::EdgeItem::_dst" ref="eea90da6f594e7839e274aa83962000e" args="" -->
264 <div class=
"memitem">
265 <div class=
"memproto">
266 <table class=
"memname">
268 <td class=
"memname"><a class=
"el" href=
"classqan_1_1_node_item.html">NodeItem
</a>*
<a class=
"el" href=
"classqan_1_1_edge_item.html#eea90da6f594e7839e274aa83962000e">qan::EdgeItem::_dst
</a><code> [private]
</code> </td>
278 <a class=
"anchor" name=
"a3f06fd452f05fec9833fe8742a4a600"></a><!-- doxytag: member="qan::EdgeItem::_sourcePoint" ref="a3f06fd452f05fec9833fe8742a4a600" args="" -->
279 <div class=
"memitem">
280 <div class=
"memproto">
281 <table class=
"memname">
283 <td class=
"memname">QPointF
<a class=
"el" href=
"classqan_1_1_edge_item.html#a3f06fd452f05fec9833fe8742a4a600">qan::EdgeItem::_sourcePoint
</a><code> [private]
</code> </td>
293 <a class=
"anchor" name=
"3abff72a71859a6ead6ba74a8bcefb99"></a><!-- doxytag: member="qan::EdgeItem::_destinationPoint" ref="3abff72a71859a6ead6ba74a8bcefb99" args="" -->
294 <div class=
"memitem">
295 <div class=
"memproto">
296 <table class=
"memname">
298 <td class=
"memname">QPointF
<a class=
"el" href=
"classqan_1_1_edge_item.html#3abff72a71859a6ead6ba74a8bcefb99">qan::EdgeItem::_destinationPoint
</a><code> [private]
</code> </td>
308 <a class=
"anchor" name=
"a6ebe4a73dceb714fb076c6d57548fa7"></a><!-- doxytag: member="qan::EdgeItem::_hasArrow" ref="a6ebe4a73dceb714fb076c6d57548fa7" args="" -->
309 <div class=
"memitem">
310 <div class=
"memproto">
311 <table class=
"memname">
313 <td class=
"memname">bool
<a class=
"el" href=
"classqan_1_1_edge_item.html#a6ebe4a73dceb714fb076c6d57548fa7">qan::EdgeItem::_hasArrow
</a><code> [private]
</code> </td>
323 <hr>The documentation for this class was generated from the following files:
<ul>
324 <li>C:/projects/qanava-
0.1.0/src/
<a class=
"el" href=
"qan_item_geom_8h.html">qanItemGeom.h
</a><li>C:/projects/qanava-
0.1.0/src/
<a class=
"el" href=
"qan_item_geom_8cpp.html">qanItemGeom.cpp
</a></ul>
326 <hr style=
"width: 100%; height: 2px;">
327 <table width=
"95%" height=
"48" border=
"0"
328 cellpadding=
"0" cellspacing=
"0" style=
"text-align: left; width: 95%; height: 31px;">
331 <td height=
"48" style=
"font-family: Helvetica,Arial,sans-serif;">
333 <dt><a href=
"http://www.libqanava.org"><font size=
"2">www.libqanava.org
</font></a><font size=
"2">
334 Qanava - QCanvas Avanc
é</font></dt>
337 <td style=
"vertical-align: middle; text-align: right;"><span
338 style=
"font-family: Helvetica,Arial,sans-serif;"><font size=
"2">Generated by
</font></span>
340 href=
"http://www.doxygen.org"><img alt=
"Doxygen logo"
341 src=
"../images/doxygen.png"
342 style=
"border: 0px solid ; width: 100px; height: 45px;" align=
"middle"></a></td>