diff options
Diffstat (limited to 'doc/html/tqstyle.html')
-rw-r--r-- | doc/html/tqstyle.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/tqstyle.html b/doc/html/tqstyle.html index 9ba54198b..00b28f2c4 100644 --- a/doc/html/tqstyle.html +++ b/doc/html/tqstyle.html @@ -650,7 +650,7 @@ Destroys the style and frees all allocated resources. <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> -<h3 class=fn>void <a name="drawComplexControl"></a>TQStyle::drawComplexControl ( <a href="tqstyle.html#ComplexControl-enum">ComplexControl</a> control, <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="qcolorgroup.html">TQColorGroup</a> & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> +<h3 class=fn>void <a name="drawComplexControl"></a>TQStyle::drawComplexControl ( <a href="tqstyle.html#ComplexControl-enum">ComplexControl</a> control, <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> </h3> <p> Draws the ComplexControl <em>control</em> using the painter <em>p</em> in the @@ -729,7 +729,7 @@ contain the mouse when auto-raise is enabled. </table></center> <p> <p>See also <a href="#ComplexControl-enum">ComplexControl</a> and <a href="#SubControl-enum">SubControl</a>. -<h3 class=fn>void <a name="drawComplexControlMask"></a>TQStyle::drawComplexControlMask ( <a href="tqstyle.html#ComplexControl-enum">ComplexControl</a> control, <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> +<h3 class=fn>void <a name="drawComplexControlMask"></a>TQStyle::drawComplexControlMask ( <a href="tqstyle.html#ComplexControl-enum">ComplexControl</a> control, <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> </h3> <p> Draw a bitmask for the ComplexControl <em>control</em> using the painter @@ -741,7 +741,7 @@ corrdinates into screen coordinates when using <a href="#drawPrimitive">drawPrim <a href="#drawControl">drawControl</a>(). <p> <p>See also <a href="#drawComplexControl">drawComplexControl</a>() and <a href="#ComplexControl-enum">ComplexControl</a>. -<h3 class=fn>void <a name="drawControl"></a>TQStyle::drawControl ( <a href="tqstyle.html#ControlElement-enum">ControlElement</a> element, <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="qcolorgroup.html">TQColorGroup</a> & cg, SFlags how = Style_Default, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> +<h3 class=fn>void <a name="drawControl"></a>TQStyle::drawControl ( <a href="tqstyle.html#ControlElement-enum">ControlElement</a> element, <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, SFlags how = Style_Default, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> </h3> <p> Draws the ControlElement <em>element</em> using the painter <em>p</em> in the @@ -866,7 +866,7 @@ contain the mouse when auto-raise is enabled. </table></center> <p> <p>See also <a href="#ControlElement-enum">ControlElement</a> and <a href="#StyleFlags-enum">StyleFlags</a>. -<h3 class=fn>void <a name="drawControlMask"></a>TQStyle::drawControlMask ( <a href="tqstyle.html#ControlElement-enum">ControlElement</a> element, <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> +<h3 class=fn>void <a name="drawControlMask"></a>TQStyle::drawControlMask ( <a href="tqstyle.html#ControlElement-enum">ControlElement</a> element, <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqrect.html">TQRect</a> & r, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> </h3> <p> Draw a bitmask for the ControlElement <em>element</em> using the painter @@ -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="tqstring.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="tqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & r, int flags, const <a href="tqcolorgroup.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="tqcolor.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 @@ -886,7 +886,7 @@ drawn. The text is aligned and wrapped according to the alignment <p> By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored. -<h3 class=fn>void <a name="drawPrimitive"></a>TQStyle::drawPrimitive ( <a href="tqstyle.html#PrimitiveElement-enum">PrimitiveElement</a> pe, <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & r, const <a href="qcolorgroup.html">TQColorGroup</a> & cg, SFlags flags = Style_Default, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> +<h3 class=fn>void <a name="drawPrimitive"></a>TQStyle::drawPrimitive ( <a href="tqstyle.html#PrimitiveElement-enum">PrimitiveElement</a> pe, <a href="tqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & r, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, SFlags flags = Style_Default, const <a href="tqstyleoption.html">TQStyleOption</a> & opt = TQStyleOption::Default ) const<tt> [pure virtual]</tt> </h3> <p> Draws the style PrimitiveElement <em>pe</em> using the painter <em>p</em> in @@ -902,7 +902,7 @@ When <em>opt</em> is non-default, it is used as follows: <p> <center><table cellpadding="4" cellspacing="2" border="0"> <tr bgcolor="#a2c511"> <th valign="top">PrimitiveElement <th valign="top">Options <th valign="top">Notes <tr bgcolor="#f0f0f0"> <td valign="top"><a href="#PrimitiveElement-enum">PE_FocusRect</a> -<td valign="top"><a href="tqstyleoption.html">TQStyleOption</a> ( const <a href="ntqcolor.html">TQColor</a> & bg ) +<td valign="top"><a href="tqstyleoption.html">TQStyleOption</a> ( const <a href="tqcolor.html">TQColor</a> & bg ) <ul> <li> opt.<a href="tqstyleoption.html#color">color</a>() </ul> @@ -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="tqstring.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="tqpainter.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 |