diff options
Diffstat (limited to 'doc/html/ntqstyle.html')
-rw-r--r-- | doc/html/ntqstyle.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/ntqstyle.html b/doc/html/ntqstyle.html index b33169eaa..2e0c8a324 100644 --- a/doc/html/ntqstyle.html +++ b/doc/html/ntqstyle.html @@ -875,7 +875,7 @@ use of the <em>widget</em> and <em>opt</em> arguments. <p> The rect <em>r</em> should be in screen coordinates. <p> <p>See also <a href="#drawControl">drawControl</a>() and <a href="#ControlElement-enum">ControlElement</a>. -<h3 class=fn>void <a name="drawItem"></a>TQStyle::drawItem ( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & r, int flags, const <a href="qcolorgroup.html">TQColorGroup</a> & g, bool enabled, const <a href="ntqpixmap.html">TQPixmap</a> * pixmap, const <a href="ntqstring.html">TQString</a> & text, int len = -1, const <a href="ntqcolor.html">TQColor</a> * penColor = 0 ) const<tt> [virtual]</tt> +<h3 class=fn>void <a name="drawItem"></a>TQStyle::drawItem ( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & r, int flags, const <a href="qcolorgroup.html">TQColorGroup</a> & g, bool enabled, const <a href="ntqpixmap.html">TQPixmap</a> * pixmap, const <a href="tqstring.html">TQString</a> & text, int len = -1, const <a href="ntqcolor.html">TQColor</a> * penColor = 0 ) const<tt> [virtual]</tt> </h3> Draws the <em>text</em> or <em>pixmap</em> in rectangle <em>r</em> using painter <em>p</em> and color group <em>g</em>. The pen color is specified with <em>penColor</em>. The <em>enabled</em> bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the @@ -958,7 +958,7 @@ for the group box. <p> <p>See also <a href="#StyleFlags-enum">StyleFlags</a>. <p>Example: <a href="themes-example.html#x248">themes/wood.cpp</a>. -<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="itemRect"></a>TQStyle::itemRect ( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & r, int flags, bool enabled, const <a href="ntqpixmap.html">TQPixmap</a> * pixmap, const <a href="ntqstring.html">TQString</a> & text, int len = -1 ) const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="itemRect"></a>TQStyle::itemRect ( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & r, int flags, bool enabled, const <a href="ntqpixmap.html">TQPixmap</a> * pixmap, const <a href="tqstring.html">TQString</a> & text, int len = -1 ) const<tt> [virtual]</tt> </h3> Returns the appropriate area (see below) within rectangle <em>r</em> in which to draw the <em>text</em> or <em>pixmap</em> using painter <em>p</em>. If <em>len</em> is -1 (the default) all the <em>text</em> is drawn; otherwise only |