diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qcanvasitem.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qcanvasitem.html')
-rw-r--r-- | doc/html/qcanvasitem.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/qcanvasitem.html b/doc/html/qcanvasitem.html index aef4e564f..962edc5b9 100644 --- a/doc/html/qcanvasitem.html +++ b/doc/html/qcanvasitem.html @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQCanvasItem class provides an abstract graphic object on a TQCanvas. <a href="#details">More...</a> -<p><tt>#include <<a href="qcanvas-h.html">qcanvas.h</a>></tt> -<p>Inherits <a href="qt.html">TQt</a>. +<p><tt>#include <<a href="qcanvas-h.html">ntqcanvas.h</a>></tt> +<p>Inherits <a href="ntqt.html">TQt</a>. <p>Inherited by <a href="qcanvassprite.html">TQCanvasSprite</a>, <a href="qcanvaspolygonalitem.html">TQCanvasPolygonalItem</a>, and <a href="qcanvastext.html">TQCanvasText</a>. <p><a href="qcanvasitem-members.html">List of all member functions.</a> <h2>Public Members</h2> @@ -88,7 +88,7 @@ body { background: #ffffff; color: black; } <hr><a name="details"></a><h2>Detailed Description</h2> -The TQCanvasItem class provides an abstract graphic object on a <a href="qcanvas.html">TQCanvas</a>. +The TQCanvasItem class provides an abstract graphic object on a <a href="ntqcanvas.html">TQCanvas</a>. <p> @@ -108,7 +108,7 @@ function has been called (or <a href="#setVisible">setVisible(TRUE)</a>), and <e canvas only shows items that are <a href="#setVisible">visible</a>, and then only if <a href="#update">update</a>() is called. If you created the canvas without passing a width and height to the constructor you'll also need -to call <a href="qcanvas.html#resize">resize()</a>. Since the canvas +to call <a href="ntqcanvas.html#resize">resize()</a>. Since the canvas background defaults to white and canvas items default to white, you may need to change colors to see your items. <p> A TQCanvasItem object can be moved in the <a href="#x">x</a>(), <a href="#y">y</a>() and <a href="#z">z</a>() dimensions @@ -128,7 +128,7 @@ items which are animated, i.e. which change over time. The <a href="#canvas">canvas</a>() function returns a pointer to the canvas which contains the canvas item. <p> TQCanvasItem provides the <a href="#show">show</a>() and <a href="#isVisible">isVisible</a>() functions like those in -<a href="qwidget.html">TQWidget</a>. +<a href="ntqwidget.html">TQWidget</a>. <p> TQCanvasItem also provides the <a href="#setEnabled">setEnabled</a>(), <a href="#setActive">setActive</a>() and <a href="#setSelected">setSelected</a>() functions; these functions set the relevant boolean and cause a repaint but the boolean values they set are not used in @@ -154,7 +154,7 @@ except where noted. <li><tt>TQCanvasItem::Rtti_Text</tt> </ul><p> <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQCanvasItem"></a>TQCanvasItem::TQCanvasItem ( <a href="qcanvas.html">TQCanvas</a> * canvas ) +<h3 class=fn><a name="TQCanvasItem"></a>TQCanvasItem::TQCanvasItem ( <a href="ntqcanvas.html">TQCanvas</a> * canvas ) </h3> Constructs a TQCanvasItem on canvas <em>canvas</em>. <p> <p>See also <a href="#setCanvas">setCanvas</a>(). @@ -177,7 +177,7 @@ nothing if <em>phase</em> is 0. <p> Note that if you reimplement this function, the reimplementation must not change the canvas in any way, for example it must not add or remove items. -<p> <p>See also <a href="qcanvas.html#advance">TQCanvas::advance</a>() and <a href="#setVelocity">setVelocity</a>(). +<p> <p>See also <a href="ntqcanvas.html#advance">TQCanvas::advance</a>() and <a href="#setVelocity">setVelocity</a>(). <p>Example: <a href="canvas-example.html#x2913">canvas/canvas.cpp</a>. <p>Reimplemented in <a href="qcanvassprite.html#advance">TQCanvasSprite</a>. @@ -187,19 +187,19 @@ Returns TRUE if the canvas item is in motion; otherwise returns FALSE. <p> <p>See also <a href="#setVelocity">setVelocity</a>() and <a href="#setAnimated">setAnimated</a>(). -<h3 class=fn><a href="qrect.html">TQRect</a> <a name="boundingRect"></a>TQCanvasItem::boundingRect () const<tt> [pure virtual]</tt> +<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="boundingRect"></a>TQCanvasItem::boundingRect () const<tt> [pure virtual]</tt> </h3> <p> Returns the bounding rectangle in pixels that the canvas item covers. <p> <p>See also <a href="#boundingRectAdvanced">boundingRectAdvanced</a>(). <p>Reimplemented in <a href="qcanvassprite.html#boundingRect">TQCanvasSprite</a>, <a href="qcanvaspolygonalitem.html#boundingRect">TQCanvasPolygonalItem</a>, and <a href="qcanvastext.html#boundingRect">TQCanvasText</a>. -<h3 class=fn><a href="qrect.html">TQRect</a> <a name="boundingRectAdvanced"></a>TQCanvasItem::boundingRectAdvanced () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="boundingRectAdvanced"></a>TQCanvasItem::boundingRectAdvanced () const<tt> [virtual]</tt> </h3> Returns the bounding rectangle of pixels that the canvas item <em>will</em> cover after <a href="#advance">advance</a>(1) is called. <p> <p>See also <a href="#boundingRect">boundingRect</a>(). -<h3 class=fn><a href="qcanvas.html">TQCanvas</a> * <a name="canvas"></a>TQCanvasItem::canvas () const +<h3 class=fn><a href="ntqcanvas.html">TQCanvas</a> * <a name="canvas"></a>TQCanvasItem::canvas () const </h3> <p> Returns the canvas containing the canvas item. @@ -246,16 +246,16 @@ doesn't need to actually embed into a "wall" item before a collision is detected. For items without velocity, plain intersection is used. -<h3 class=fn>void <a name="draw"></a>TQCanvasItem::draw ( <a href="qpainter.html">TQPainter</a> & painter )<tt> [pure virtual]</tt> +<h3 class=fn>void <a name="draw"></a>TQCanvasItem::draw ( <a href="ntqpainter.html">TQPainter</a> & painter )<tt> [pure virtual]</tt> </h3> <p> This abstract virtual function draws the canvas item using <em>painter</em>. <p> <b>Warning:</b> When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, -if you start by calling <a href="qpainter.html#translate">TQPainter::translate</a>(50, 50), end your +if you start by calling <a href="ntqpainter.html#translate">TQPainter::translate</a>(50, 50), end your code by calling TQPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., -don't call <a href="qpainter.html#resetXForm">TQPainter::resetXForm</a>() when you're done). +don't call <a href="ntqpainter.html#resetXForm">TQPainter::resetXForm</a>() when you're done). <p>Reimplemented in <a href="qcanvassprite.html#draw">TQCanvasSprite</a>, <a href="qcanvaspolygonalitem.html#draw">TQCanvasPolygonalItem</a>, and <a href="qcanvastext.html#draw">TQCanvasText</a>. <h3 class=fn>bool <a name="enabled"></a>TQCanvasItem::enabled () const @@ -342,8 +342,8 @@ Use <a href="#isSelected">isSelected</a>() instead. </h3> Sets the active flag of the item to <em>yes</em>. If this changes the item's active state the item will be redrawn when -<a href="qcanvas.html#update">TQCanvas::update</a>() is next called. -<p> The <a href="qcanvas.html">TQCanvas</a>, TQCanvasItem and the TQt-supplied TQCanvasItem +<a href="ntqcanvas.html#update">TQCanvas::update</a>() is next called. +<p> The <a href="ntqcanvas.html">TQCanvas</a>, TQCanvasItem and the TQt-supplied TQCanvasItem subclasses do not make use of this value. The <a href="#setActive">setActive</a>() function is supplied because many applications need it, but it is up to you how you use the <a href="#isActive">isActive</a>() value. @@ -352,19 +352,19 @@ how you use the <a href="#isActive">isActive</a>() value. </h3> Sets the canvas item to be in motion if <em>y</em> is TRUE, or not if <em>y</em> is FALSE. The speed and direction of the motion is set with <a href="#setVelocity">setVelocity</a>(), or with <a href="#setXVelocity">setXVelocity</a>() and <a href="#setYVelocity">setYVelocity</a>(). -<p> <p>See also <a href="#advance">advance</a>() and <a href="qcanvas.html#advance">TQCanvas::advance</a>(). +<p> <p>See also <a href="#advance">advance</a>() and <a href="ntqcanvas.html#advance">TQCanvas::advance</a>(). -<h3 class=fn>void <a name="setCanvas"></a>TQCanvasItem::setCanvas ( <a href="qcanvas.html">TQCanvas</a> * c )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setCanvas"></a>TQCanvasItem::setCanvas ( <a href="ntqcanvas.html">TQCanvas</a> * c )<tt> [virtual]</tt> </h3> -Sets the <a href="qcanvas.html">TQCanvas</a> upon which the canvas item is to be drawn to <em>c</em>. +Sets the <a href="ntqcanvas.html">TQCanvas</a> upon which the canvas item is to be drawn to <em>c</em>. <p> <p>See also <a href="#canvas">canvas</a>(). <h3 class=fn>void <a name="setEnabled"></a>TQCanvasItem::setEnabled ( bool yes )<tt> [virtual]</tt> </h3> Sets the enabled flag of the item to <em>yes</em>. If this changes the item's enabled state the item will be redrawn when -<a href="qcanvas.html#update">TQCanvas::update</a>() is next called. -<p> The <a href="qcanvas.html">TQCanvas</a>, TQCanvasItem and the TQt-supplied TQCanvasItem +<a href="ntqcanvas.html#update">TQCanvas::update</a>() is next called. +<p> The <a href="ntqcanvas.html">TQCanvas</a>, TQCanvasItem and the TQt-supplied TQCanvasItem subclasses do not make use of this value. The <a href="#setEnabled">setEnabled</a>() function is supplied because many applications need it, but it is up to you how you use the <a href="#isEnabled">isEnabled</a>() value. @@ -373,8 +373,8 @@ up to you how you use the <a href="#isEnabled">isEnabled</a>() value. </h3> Sets the selected flag of the item to <em>yes</em>. If this changes the item's selected state the item will be redrawn when -<a href="qcanvas.html#update">TQCanvas::update</a>() is next called. -<p> The <a href="qcanvas.html">TQCanvas</a>, TQCanvasItem and the TQt-supplied TQCanvasItem +<a href="ntqcanvas.html#update">TQCanvas::update</a>() is next called. +<p> The <a href="ntqcanvas.html">TQCanvas</a>, TQCanvasItem and the TQt-supplied TQCanvasItem subclasses do not make use of this value. The <a href="#setSelected">setSelected</a>() function is supplied because many applications need it, but it is up to you how you use the <a href="#isSelected">isSelected</a>() value. @@ -388,7 +388,7 @@ pixels in the horizontal and vertical directions respectively. <h3 class=fn>void <a name="setVisible"></a>TQCanvasItem::setVisible ( bool yes )<tt> [virtual]</tt> </h3> Makes the canvas item visible if <em>yes</em> is TRUE, or invisible if -<em>yes</em> is FALSE. The change takes effect when <a href="qcanvas.html#update">TQCanvas::update</a>() is +<em>yes</em> is FALSE. The change takes effect when <a href="ntqcanvas.html#update">TQCanvas::update</a>() is next called. <h3 class=fn>void <a name="setX"></a>TQCanvasItem::setX ( double x ) |