diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-09 14:57:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-12 18:58:18 +0900 |
commit | 6f57abfc9cd3acf1d648aee696947ac9216adb71 (patch) | |
tree | 4ae374b1ce01d388bca2249c5d903d79a6cb814f /doc/html/tqbrush.html | |
parent | 0582c90a9ed4b965629267713f51c0da7c38b39d (diff) | |
download | tqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.tar.gz tqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.zip |
Rename remaining ntq[s-z]* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqbrush.html')
-rw-r--r-- | doc/html/tqbrush.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/tqbrush.html b/doc/html/tqbrush.html index 15981bbc2..09707e779 100644 --- a/doc/html/tqbrush.html +++ b/doc/html/tqbrush.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQBrush class defines the fill pattern of shapes drawn by a TQPainter. <a href="#details">More...</a> <p><tt>#include <<a href="tqbrush-h.html">tqbrush.h</a>></tt> -<p>Inherits <a href="ntqt.html">TQt</a>. +<p>Inherits <a href="tqt.html">TQt</a>. <p><a href="tqbrush-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -69,9 +69,9 @@ body { background: #ffffff; color: black; } <p> A brush has a style and a color. One of the brush styles is a custom pattern, which is defined by a <a href="tqpixmap.html">TQPixmap</a>. <p> The brush style defines the fill pattern. The default brush style -is <a href="ntqt.html#BrushStyle-enum">NoBrush</a> (depending on how you construct a brush). This style +is <a href="tqt.html#BrushStyle-enum">NoBrush</a> (depending on how you construct a brush). This style tells the painter to not fill shapes. The standard style for -filling is <a href="ntqt.html#BrushStyle-enum">SolidPattern</a>. +filling is <a href="tqt.html#BrushStyle-enum">SolidPattern</a>. <p> The brush color defines the color of the fill pattern. The <a href="tqcolor.html">TQColor</a> documentation lists the predefined colors. <p> Use the <a href="tqpen.html">TQPen</a> class for specifying line/outline styles. @@ -81,9 +81,9 @@ documentation lists the predefined colors. TQBrush brush( yellow ); // yellow solid pattern painter.<a href="tqpainter.html#begin">begin</a>( &anyPaintDevice ); // paint something painter.<a href="tqpainter.html#setBrush">setBrush</a>( brush ); // set the yellow brush - painter.<a href="tqpainter.html#setPen">setPen</a>( <a href="ntqt.html#PenStyle-enum">NoPen</a> ); // do not draw outline + painter.<a href="tqpainter.html#setPen">setPen</a>( <a href="tqt.html#PenStyle-enum">NoPen</a> ); // do not draw outline painter.<a href="tqpainter.html#drawRect">drawRect</a>( 40,30, 200,100 ); // draw filled rectangle - painter.<a href="tqpainter.html#setBrush">setBrush</a>( <a href="ntqt.html#BrushStyle-enum">NoBrush</a> ); // do not fill + painter.<a href="tqpainter.html#setBrush">setBrush</a>( <a href="tqt.html#BrushStyle-enum">NoBrush</a> ); // do not fill painter.<a href="tqpainter.html#setPen">setPen</a>( black ); // set black pen, 0 pixel width painter.<a href="tqpainter.html#drawRect">drawRect</a>( 10,10, 30,20 ); // draw rectangle outline painter.<a href="tqpainter.html#end">end</a>(); // painting done @@ -96,15 +96,15 @@ documentation lists the predefined colors. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQBrush"></a>TQBrush::TQBrush () </h3> -Constructs a default black brush with the style <a href="ntqt.html#BrushStyle-enum">NoBrush</a> (will +Constructs a default black brush with the style <a href="tqt.html#BrushStyle-enum">NoBrush</a> (will not fill shapes). -<h3 class=fn><a name="TQBrush-2"></a>TQBrush::TQBrush ( <a href="ntqt.html#BrushStyle-enum">BrushStyle</a> style ) +<h3 class=fn><a name="TQBrush-2"></a>TQBrush::TQBrush ( <a href="tqt.html#BrushStyle-enum">BrushStyle</a> style ) </h3> Constructs a black brush with the style <em>style</em>. <p> <p>See also <a href="#setStyle">setStyle</a>(). -<h3 class=fn><a name="TQBrush-3"></a>TQBrush::TQBrush ( const <a href="tqcolor.html">TQColor</a> & color, <a href="ntqt.html#BrushStyle-enum">BrushStyle</a> style = SolidPattern ) +<h3 class=fn><a name="TQBrush-3"></a>TQBrush::TQBrush ( const <a href="tqcolor.html">TQColor</a> & color, <a href="tqt.html#BrushStyle-enum">BrushStyle</a> style = SolidPattern ) </h3> Constructs a brush with the color <em>color</em> and the style <em>style</em>. <p> <p>See also <a href="#setColor">setColor</a>() and <a href="#setStyle">setStyle</a>(). @@ -170,14 +170,14 @@ Sets the brush color to <em>c</em>. <p>Example: <a href="picture-example.html#x108">picture/picture.cpp</a>. <h3 class=fn>void <a name="setPixmap"></a>TQBrush::setPixmap ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap ) </h3> -Sets the brush pixmap to <em>pixmap</em>. The style is set to <a href="ntqt.html#BrushStyle-enum">CustomPattern</a>. +Sets the brush pixmap to <em>pixmap</em>. The style is set to <a href="tqt.html#BrushStyle-enum">CustomPattern</a>. <p> The current brush color will only have an effect for monochrome pixmaps, i.e. for <a href="tqpixmap.html#depth">TQPixmap::depth</a>() == 1. <p> Pixmap brushes are currently not supported when printing on X11. <p> <p>See also <a href="#pixmap">pixmap</a>() and <a href="#color">color</a>(). <p>Example: <a href="richtext-example.html#x461">richtext/richtext.cpp</a>. -<h3 class=fn>void <a name="setStyle"></a>TQBrush::setStyle ( <a href="ntqt.html#BrushStyle-enum">BrushStyle</a> s ) +<h3 class=fn>void <a name="setStyle"></a>TQBrush::setStyle ( <a href="tqt.html#BrushStyle-enum">BrushStyle</a> s ) </h3> Sets the brush style to <em>s</em>. <p> The brush styles are: @@ -205,7 +205,7 @@ Sets the brush style to <em>s</em>. of all the styles. <p> <p>See also <a href="#style">style</a>(). -<h3 class=fn><a href="ntqt.html#BrushStyle-enum">BrushStyle</a> <a name="style"></a>TQBrush::style () const +<h3 class=fn><a href="tqt.html#BrushStyle-enum">BrushStyle</a> <a name="style"></a>TQBrush::style () const </h3> <p> Returns the brush style. |