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::can::Item Class Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.4.3 -->
7 <div class=
"qindex"><a class=
"qindex" href=
"index.html">Main
Page
</a> |
<a class=
"qindex" href=
"namespaces.html">Namespace List
</a> |
<a class=
"qindex" href=
"hierarchy.html">Class
Hierarchy
</a> |
<a class=
"qindex" href=
"annotated.html">Class
List
</a> |
<a class=
"qindex" href=
"dirs.html">Directories
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Class
Members
</a> |
<a class=
"qindex" href=
"globals.html">File
Members
</a> |
<a class=
"qindex" href=
"pages.html">Related
Pages
</a></div>
9 <a class=
"el" href=
"namespaceqan.html">qan
</a>::
<a class=
"el" href=
"namespaceqan_1_1can.html">can
</a>::
<a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a></div>
10 <h1>qan::can::Item Class Reference
</h1><!-- doxytag: class=<qan::can::Item> -->Base classe for all
"virtual" canvas graphic elements.
11 <a href=
"#_details">More...
</a>
13 <code>#include
<canItem.h
></code>
15 Inherited by
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html">qan::can::ItemImpl
< CanvasItem
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html">qan::can::ItemImpl
< QCanvasLine
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html">qan::can::ItemImpl
< QCanvasPolygon
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html">qan::can::ItemImpl
< QCanvasRectangle
></a>, and
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html">qan::can::ItemImpl
< QCanvasText
></a>.
17 Inheritance diagram for qan::can::Item:
<p><center><img src=
"classqan_1_1can_1_1_item__inherit__graph.png" border=
"0" usemap=
"#qan_1_1can_1_1_item__inherit__map" alt=
"Inheritance graph"></center>
18 <map name=
"qan_1_1can_1_1_item__inherit__map">
19 <area href=
"classqan_1_1can_1_1_item_impl.html" shape=
"rect" coords=
"167,208,397,234" alt=
"">
20 <area href=
"classqan_1_1can_1_1_item_impl.html" shape=
"rect" coords=
"605,144,842,170" alt=
"">
21 <area href=
"classqan_1_1can_1_1_item_impl.html" shape=
"rect" coords=
"605,60,842,86" alt=
"">
22 <area href=
"classqan_1_1can_1_1_item_impl.html" shape=
"rect" coords=
"586,385,861,412" alt=
"">
23 <area href=
"classqan_1_1can_1_1_item_impl.html" shape=
"rect" coords=
"593,302,854,329" alt=
"">
25 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center><a href=
"classqan_1_1can_1_1_item-members.html">List of all members.
</a><table border=
"0" cellpadding=
"0" cellspacing=
"0">
27 <tr><td colspan=
"2"><br><h2>Sub Items Management
</h2></td></tr>
28 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">typedef std::vector
< <a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> *
> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_0">SubItems
</a></td></tr>
30 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">STL container for this item sub items.
<a href=
"#z21_0"></a><br></td></tr>
31 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_1">addSubItem
</a> (
<a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> &<a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a>)
</td></tr>
33 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Add a sub item to this item.
<a href=
"#z21_1"></a><br></td></tr>
34 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_0">SubItems
</a> & </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_2">getSubItems
</a> ()
</td></tr>
36 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Get this item sub items.
<a href=
"#z21_2"></a><br></td></tr>
37 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_0">SubItems
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_3">_subItems
</a></td></tr>
39 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">This item sub items.
<a href=
"#z21_3"></a><br></td></tr>
40 <tr><td colspan=
"2"><br><h2>Item Constructor
</h2></td></tr>
41 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z18_0">Item
</a> (
<a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">ID
</a> id,
<a class=
"el" href=
"classqan_1_1can_1_1_canvas.html">Canvas
</a> &canvas)
</td></tr>
43 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z18_1">~Item
</a> ()
</td></tr>
45 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight"><a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> virtual destructor.
<a href=
"#z18_1"></a><br></td></tr>
46 <tr><td colspan=
"2"><br><h2>Appearence Management
</h2></td></tr>
47 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">ID
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_0">getId
</a> () const
</td></tr>
49 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Get the item conrete ID (type).
<a href=
"#z19_0"></a><br></td></tr>
50 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_1">hideItem
</a> ()=
0</td></tr>
52 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Hide an item.
<a href=
"#z19_1"></a><br></td></tr>
53 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_2">showItem
</a> ()=
0</td></tr>
55 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Show an item that has previously been hidden.
<a href=
"#z19_2"></a><br></td></tr>
56 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_3">moveItem
</a> (double x, double y)=
0</td></tr>
58 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Move this item (but not the hierarcy of sub items).
<a href=
"#z19_3"></a><br></td></tr>
59 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_4">moveItemBy
</a> (double dx, double dy)=
0</td></tr>
61 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Move this item and its hierarchy of sub item by a position delta.
<a href=
"#z19_4"></a><br></td></tr>
62 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual QRect
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_5">getBoundingRect
</a> () const =
0</td></tr>
64 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Get this item hierarchy bounding rectangle.
<a href=
"#z19_5"></a><br></td></tr>
65 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">double
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_6">getX
</a> ()
</td></tr>
67 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Get this item x position.
<a href=
"#z19_6"></a><br></td></tr>
68 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">double
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_7">getY
</a> ()
</td></tr>
70 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Get this item x position.
<a href=
"#z19_7"></a><br></td></tr>
71 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_8">updateStyle
</a> (const
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style.html">AdvStyle
</a> &style)=
0</td></tr>
73 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Update the node according to the given style.
<a href=
"#z19_8"></a><br></td></tr>
74 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">ID
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_9">_id
</a></td></tr>
76 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight"><a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> concrete ID (type).
<a href=
"#z19_9"></a><br></td></tr>
77 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">double
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_10">_x
</a></td></tr>
79 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight"><a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> x position.
<a href=
"#z19_10"></a><br></td></tr>
80 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">double
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_11">_y
</a></td></tr>
82 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight"><a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> y position.
<a href=
"#z19_11"></a><br></td></tr>
83 <tr><td colspan=
"2"><br><h2>State Management
</h2></td></tr>
84 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">bool
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z20_0">isRoot
</a> () const
</td></tr>
86 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Return true if this item is a root ont.
<a href=
"#z20_0"></a><br></td></tr>
87 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z20_1">setRoot
</a> (bool root)
</td></tr>
89 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Set the item root state.
<a href=
"#z20_1"></a><br></td></tr>
90 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">bool
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z20_2">_root
</a></td></tr>
92 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Root item state.
<a href=
"#z20_2"></a><br></td></tr>
93 <tr><td colspan=
"2"><br><h2>Public Types
</h2></td></tr>
94 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">enum
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">ID
</a> {
<br>
95 <a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7w0">NONE
</a> =
1,
96 <a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7w1">ARTICLE
</a> =
2,
97 <a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7w2">CATEGORY
</a> =
4,
98 <a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7w3">ARROW
</a> =
8,
100 <a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7w4">RECTANGLE
</a> =
16,
101 <a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7w5">TEXT
</a> =
32,
102 <a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7w6">RECTANGULAR
</a> =
64
107 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
108 Base classe for all
"virtual" canvas graphic elements.
110 "Virtual" because, while beeing concrete, an item must be connected to a concrete QT canvas item object to be drawn.
112 <hr><h2>Member Typedef Documentation
</h2>
113 <a class=
"anchor" name=
"z21_0"></a><!-- doxytag: member=<qan::can::Item::SubItems> ref=<z21_0> args=<> --><p>
114 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
117 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
119 <td class=
"md" nowrap
valign=
"top">typedef std::vector
< <a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a>*
> <a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_0">qan::can::Item::SubItems
</a> </td>
125 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
133 STL container for this item sub items.
138 <hr><h2>Member Enumeration Documentation
</h2>
139 <a class=
"anchor" name=
"w7"></a><!-- doxytag: member=<qan::can::Item::ID> ref=<w7> args=<> --><p>
140 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
143 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
145 <td class=
"md" nowrap
valign=
"top">enum
<a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">qan::can::Item::ID
</a> </td>
151 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
159 <dl compact
><dt><b>Enumerator:
</b></dt><dd>
160 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
161 <tr><td valign=
"top"><em><a class=
"anchor" name=
"w7w0"></a><!-- doxytag: member=<NONE> ref=<w7w0> args=<> -->NONE
</em> </td><td>
163 <tr><td valign=
"top"><em><a class=
"anchor" name=
"w7w1"></a><!-- doxytag: member=<ARTICLE> ref=<w7w1> args=<> -->ARTICLE
</em> </td><td>
165 <tr><td valign=
"top"><em><a class=
"anchor" name=
"w7w2"></a><!-- doxytag: member=<CATEGORY> ref=<w7w2> args=<> -->CATEGORY
</em> </td><td>
167 <tr><td valign=
"top"><em><a class=
"anchor" name=
"w7w3"></a><!-- doxytag: member=<ARROW> ref=<w7w3> args=<> -->ARROW
</em> </td><td>
169 <tr><td valign=
"top"><em><a class=
"anchor" name=
"w7w4"></a><!-- doxytag: member=<RECTANGLE> ref=<w7w4> args=<> -->RECTANGLE
</em> </td><td>
171 <tr><td valign=
"top"><em><a class=
"anchor" name=
"w7w5"></a><!-- doxytag: member=<TEXT> ref=<w7w5> args=<> -->TEXT
</em> </td><td>
173 <tr><td valign=
"top"><em><a class=
"anchor" name=
"w7w6"></a><!-- doxytag: member=<RECTANGULAR> ref=<w7w6> args=<> -->RECTANGULAR
</em> </td><td>
180 <hr><h2>Constructor
& Destructor Documentation
</h2>
181 <a class=
"anchor" name=
"z18_0"></a><!-- doxytag: member=<qan::can::Item::Item> ref=<z18_0> args=<(ID id, Canvas &canvas)> --><p>
182 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
185 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
187 <td class=
"md" nowrap
valign=
"top">qan::can::Item::Item
</td>
188 <td class=
"md" valign=
"top">(
</td>
189 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">ID
</a> </td>
190 <td class=
"mdname" nowrap
> <em>id
</em>,
</td>
193 <td class=
"md" nowrap
align=
"right"></td>
195 <td class=
"md" nowrap
><a class=
"el" href=
"classqan_1_1can_1_1_canvas.html">Canvas
</a> & </td>
196 <td class=
"mdname" nowrap
> <em>canvas
</em></td>
200 <td class=
"md">)
</td>
201 <td class=
"md" colspan=
"2"></td>
207 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
218 <a class=
"anchor" name=
"z18_1"></a><!-- doxytag: member=<qan::can::Item::~Item> ref=<z18_1> args=<()> --><p>
219 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
222 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
224 <td class=
"md" nowrap
valign=
"top">virtual qan::can::Item::~Item
</td>
225 <td class=
"md" valign=
"top">(
</td>
226 <td class=
"mdname1" valign=
"top" nowrap
> </td>
227 <td class=
"md" valign=
"top"> )
</td>
228 <td class=
"md" nowrap
><code> [inline, virtual]
</code></td>
234 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
242 <a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> virtual destructor.
247 <hr><h2>Member Function Documentation
</h2>
248 <a class=
"anchor" name=
"z21_1"></a><!-- doxytag: member=<qan::can::Item::addSubItem> ref=<z21_1> args=<(Item &Item)> --><p>
249 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
252 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
254 <td class=
"md" nowrap
valign=
"top">void qan::can::Item::addSubItem
</td>
255 <td class=
"md" valign=
"top">(
</td>
256 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> & </td>
257 <td class=
"mdname1" valign=
"top" nowrap
> <em>Item
</em> </td>
258 <td class=
"md" valign=
"top"> )
</td>
259 <td class=
"md" nowrap
></td>
265 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
273 Add a sub item to this item.
278 <a class=
"anchor" name=
"z19_5"></a><!-- doxytag: member=<qan::can::Item::getBoundingRect> ref=<z19_5> args=<() const =0> --><p>
279 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
282 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
284 <td class=
"md" nowrap
valign=
"top">virtual QRect qan::can::Item::getBoundingRect
</td>
285 <td class=
"md" valign=
"top">(
</td>
286 <td class=
"mdname1" valign=
"top" nowrap
> </td>
287 <td class=
"md" valign=
"top"> )
</td>
288 <td class=
"md" nowrap
> const
<code> [pure virtual]
</code></td>
294 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
302 Get this item hierarchy bounding rectangle.
306 Implemented in
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_5">qan::can::ItemImpl
< CanvasItem
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_5">qan::can::ItemImpl
< QCanvasLine
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_5">qan::can::ItemImpl
< QCanvasText
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_5">qan::can::ItemImpl
< QCanvasRectangle
></a>, and
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_5">qan::can::ItemImpl
< QCanvasPolygon
></a>.
</td>
309 <a class=
"anchor" name=
"z19_0"></a><!-- doxytag: member=<qan::can::Item::getId> ref=<z19_0> args=<() const > --><p>
310 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
313 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
315 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">ID
</a> qan::can::Item::getId
</td>
316 <td class=
"md" valign=
"top">(
</td>
317 <td class=
"mdname1" valign=
"top" nowrap
> </td>
318 <td class=
"md" valign=
"top"> )
</td>
319 <td class=
"md" nowrap
> const
<code> [inline]
</code></td>
325 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
333 Get the item conrete ID (type).
338 <a class=
"anchor" name=
"z21_2"></a><!-- doxytag: member=<qan::can::Item::getSubItems> ref=<z21_2> args=<()> --><p>
339 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
342 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
344 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_0">SubItems
</a>& qan::can::Item::getSubItems
</td>
345 <td class=
"md" valign=
"top">(
</td>
346 <td class=
"mdname1" valign=
"top" nowrap
> </td>
347 <td class=
"md" valign=
"top"> )
</td>
348 <td class=
"md" nowrap
><code> [inline]
</code></td>
354 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
362 Get this item sub items.
367 <a class=
"anchor" name=
"z19_6"></a><!-- doxytag: member=<qan::can::Item::getX> ref=<z19_6> args=<()> --><p>
368 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
371 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
373 <td class=
"md" nowrap
valign=
"top">double qan::can::Item::getX
</td>
374 <td class=
"md" valign=
"top">(
</td>
375 <td class=
"mdname1" valign=
"top" nowrap
> </td>
376 <td class=
"md" valign=
"top"> )
</td>
377 <td class=
"md" nowrap
><code> [inline]
</code></td>
383 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
391 Get this item x position.
396 <a class=
"anchor" name=
"z19_7"></a><!-- doxytag: member=<qan::can::Item::getY> ref=<z19_7> args=<()> --><p>
397 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
400 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
402 <td class=
"md" nowrap
valign=
"top">double qan::can::Item::getY
</td>
403 <td class=
"md" valign=
"top">(
</td>
404 <td class=
"mdname1" valign=
"top" nowrap
> </td>
405 <td class=
"md" valign=
"top"> )
</td>
406 <td class=
"md" nowrap
><code> [inline]
</code></td>
412 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
420 Get this item x position.
425 <a class=
"anchor" name=
"z19_1"></a><!-- doxytag: member=<qan::can::Item::hideItem> ref=<z19_1> args=<()=0> --><p>
426 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
429 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
431 <td class=
"md" nowrap
valign=
"top">virtual void qan::can::Item::hideItem
</td>
432 <td class=
"md" valign=
"top">(
</td>
433 <td class=
"mdname1" valign=
"top" nowrap
> </td>
434 <td class=
"md" valign=
"top"> )
</td>
435 <td class=
"md" nowrap
><code> [pure virtual]
</code></td>
441 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
453 Implemented in
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_1">qan::can::ItemImpl
< CanvasItem
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_1">qan::can::ItemImpl
< QCanvasLine
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_1">qan::can::ItemImpl
< QCanvasText
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_1">qan::can::ItemImpl
< QCanvasRectangle
></a>, and
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_1">qan::can::ItemImpl
< QCanvasPolygon
></a>.
</td>
456 <a class=
"anchor" name=
"z20_0"></a><!-- doxytag: member=<qan::can::Item::isRoot> ref=<z20_0> args=<() const > --><p>
457 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
460 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
462 <td class=
"md" nowrap
valign=
"top">bool qan::can::Item::isRoot
</td>
463 <td class=
"md" valign=
"top">(
</td>
464 <td class=
"mdname1" valign=
"top" nowrap
> </td>
465 <td class=
"md" valign=
"top"> )
</td>
466 <td class=
"md" nowrap
> const
<code> [inline]
</code></td>
472 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
480 Return true if this item is a root ont.
485 <a class=
"anchor" name=
"z19_3"></a><!-- doxytag: member=<qan::can::Item::moveItem> ref=<z19_3> args=<(double x, double y)=0> --><p>
486 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
489 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
491 <td class=
"md" nowrap
valign=
"top">virtual void qan::can::Item::moveItem
</td>
492 <td class=
"md" valign=
"top">(
</td>
493 <td class=
"md" nowrap
valign=
"top">double
</td>
494 <td class=
"mdname" nowrap
> <em>x
</em>,
</td>
497 <td class=
"md" nowrap
align=
"right"></td>
499 <td class=
"md" nowrap
>double
</td>
500 <td class=
"mdname" nowrap
> <em>y
</em></td>
504 <td class=
"md">)
</td>
505 <td class=
"md" colspan=
"2"><code> [pure virtual]
</code></td>
511 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
519 Move this item (but not the hierarcy of sub items).
523 Implemented in
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_3">qan::can::ItemImpl
< CanvasItem
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_3">qan::can::ItemImpl
< QCanvasLine
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_3">qan::can::ItemImpl
< QCanvasText
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_3">qan::can::ItemImpl
< QCanvasRectangle
></a>, and
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_3">qan::can::ItemImpl
< QCanvasPolygon
></a>.
</td>
526 <a class=
"anchor" name=
"z19_4"></a><!-- doxytag: member=<qan::can::Item::moveItemBy> ref=<z19_4> args=<(double dx, double dy)=0> --><p>
527 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
530 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
532 <td class=
"md" nowrap
valign=
"top">virtual void qan::can::Item::moveItemBy
</td>
533 <td class=
"md" valign=
"top">(
</td>
534 <td class=
"md" nowrap
valign=
"top">double
</td>
535 <td class=
"mdname" nowrap
> <em>dx
</em>,
</td>
538 <td class=
"md" nowrap
align=
"right"></td>
540 <td class=
"md" nowrap
>double
</td>
541 <td class=
"mdname" nowrap
> <em>dy
</em></td>
545 <td class=
"md">)
</td>
546 <td class=
"md" colspan=
"2"><code> [pure virtual]
</code></td>
552 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
560 Move this item and its hierarchy of sub item by a position delta.
564 Implemented in
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_4">qan::can::ItemImpl
< CanvasItem
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_4">qan::can::ItemImpl
< QCanvasLine
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_4">qan::can::ItemImpl
< QCanvasText
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_4">qan::can::ItemImpl
< QCanvasRectangle
></a>, and
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_4">qan::can::ItemImpl
< QCanvasPolygon
></a>.
</td>
567 <a class=
"anchor" name=
"z20_1"></a><!-- doxytag: member=<qan::can::Item::setRoot> ref=<z20_1> args=<(bool root)> --><p>
568 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
571 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
573 <td class=
"md" nowrap
valign=
"top">void qan::can::Item::setRoot
</td>
574 <td class=
"md" valign=
"top">(
</td>
575 <td class=
"md" nowrap
valign=
"top">bool
</td>
576 <td class=
"mdname1" valign=
"top" nowrap
> <em>root
</em> </td>
577 <td class=
"md" valign=
"top"> )
</td>
578 <td class=
"md" nowrap
><code> [inline]
</code></td>
584 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
592 Set the item root state.
597 <a class=
"anchor" name=
"z19_2"></a><!-- doxytag: member=<qan::can::Item::showItem> ref=<z19_2> args=<()=0> --><p>
598 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
601 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
603 <td class=
"md" nowrap
valign=
"top">virtual void qan::can::Item::showItem
</td>
604 <td class=
"md" valign=
"top">(
</td>
605 <td class=
"mdname1" valign=
"top" nowrap
> </td>
606 <td class=
"md" valign=
"top"> )
</td>
607 <td class=
"md" nowrap
><code> [pure virtual]
</code></td>
613 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
621 Show an item that has previously been hidden.
625 Implemented in
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_2">qan::can::ItemImpl
< CanvasItem
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_2">qan::can::ItemImpl
< QCanvasLine
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_2">qan::can::ItemImpl
< QCanvasText
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_2">qan::can::ItemImpl
< QCanvasRectangle
></a>, and
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_2">qan::can::ItemImpl
< QCanvasPolygon
></a>.
</td>
628 <a class=
"anchor" name=
"z19_8"></a><!-- doxytag: member=<qan::can::Item::updateStyle> ref=<z19_8> args=<(const AdvStyle &style)=0> --><p>
629 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
632 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
634 <td class=
"md" nowrap
valign=
"top">virtual void qan::can::Item::updateStyle
</td>
635 <td class=
"md" valign=
"top">(
</td>
636 <td class=
"md" nowrap
valign=
"top">const
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style.html">AdvStyle
</a> & </td>
637 <td class=
"mdname1" valign=
"top" nowrap
> <em>style
</em> </td>
638 <td class=
"md" valign=
"top"> )
</td>
639 <td class=
"md" nowrap
><code> [pure virtual]
</code></td>
645 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
653 Update the node according to the given style.
657 Implemented in
<a class=
"el" href=
"classqan_1_1can_1_1_rectangle_item.html#z23_1">qan::can::RectangleItem
</a>,
<a class=
"el" href=
"classqan_1_1can_1_1_rectangular_item.html#z26_4">qan::can::RectangularItem
</a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_8">qan::can::ItemImpl
< CanvasItem
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_8">qan::can::ItemImpl
< QCanvasLine
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_8">qan::can::ItemImpl
< QCanvasText
></a>,
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_8">qan::can::ItemImpl
< QCanvasRectangle
></a>, and
<a class=
"el" href=
"classqan_1_1can_1_1_item_impl.html#z29_8">qan::can::ItemImpl
< QCanvasPolygon
></a>.
</td>
660 <hr><h2>Member Data Documentation
</h2>
661 <a class=
"anchor" name=
"z19_9"></a><!-- doxytag: member=<qan::can::Item::_id> ref=<z19_9> args=<> --><p>
662 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
665 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
667 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#w7">ID
</a> <a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_9">qan::can::Item::_id
</a><code> [protected]
</code> </td>
673 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
681 <a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> concrete ID (type).
686 <a class=
"anchor" name=
"z20_2"></a><!-- doxytag: member=<qan::can::Item::_root> ref=<z20_2> args=<> --><p>
687 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
690 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
692 <td class=
"md" nowrap
valign=
"top">bool
<a class=
"el" href=
"classqan_1_1can_1_1_item.html#z20_2">qan::can::Item::_root
</a><code> [protected]
</code> </td>
698 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
711 <a class=
"anchor" name=
"z21_3"></a><!-- doxytag: member=<qan::can::Item::_subItems> ref=<z21_3> args=<> --><p>
712 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
715 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
717 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_0">SubItems
</a> <a class=
"el" href=
"classqan_1_1can_1_1_item.html#z21_3">qan::can::Item::_subItems
</a><code> [protected]
</code> </td>
723 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
736 <a class=
"anchor" name=
"z19_10"></a><!-- doxytag: member=<qan::can::Item::_x> ref=<z19_10> args=<> --><p>
737 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
740 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
742 <td class=
"md" nowrap
valign=
"top">double
<a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_10">qan::can::Item::_x
</a><code> [protected]
</code> </td>
748 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
756 <a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> x position.
761 <a class=
"anchor" name=
"z19_11"></a><!-- doxytag: member=<qan::can::Item::_y> ref=<z19_11> args=<> --><p>
762 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
765 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
767 <td class=
"md" nowrap
valign=
"top">double
<a class=
"el" href=
"classqan_1_1can_1_1_item.html#z19_11">qan::can::Item::_y
</a><code> [protected]
</code> </td>
773 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
781 <a class=
"el" href=
"classqan_1_1can_1_1_item.html">Item
</a> y position.
786 <hr>The documentation for this class was generated from the following files:
<ul>
787 <li>C:/projects/qanava/src/can/
<a class=
"el" href=
"can_item_8h.html">canItem.h
</a><li>C:/projects/qanava/src/can/
<a class=
"el" href=
"can_item_8cpp.html">canItem.cpp
</a></ul>
789 <hr style=
"width: 100%; height: 2px;">
790 <table width=
"95%" height=
"48" border=
"0"
791 cellpadding=
"0" cellspacing=
"0" style=
"text-align: left; width: 95%; height: 31px;">
794 <td height=
"48" style=
"font-family: Helvetica,Arial,sans-serif;">
796 <dt><a href=
"http://www.libqanava.org"><font size=
"2">www.libqanava.org
</font></a><font size=
"2">
797 Qanava - QCanvas Avanc
é</font></dt>
800 <td style=
"vertical-align: middle; text-align: right;"><span
801 style=
"font-family: Helvetica,Arial,sans-serif;"><font size=
"2">Generated by
</font></span>
803 href=
"http://www.doxygen.org"><img alt=
"Doxygen logo"
804 src=
"../images/doxygen.png"
805 style=
"border: 0px solid ; width: 100px; height: 45px;" align=
"middle"></a></td>