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/qcolorgroup.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qcolorgroup.html')
-rw-r--r-- | doc/html/qcolorgroup.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/qcolorgroup.html b/doc/html/qcolorgroup.html index 76b466c9d..3821d4b7d 100644 --- a/doc/html/qcolorgroup.html +++ b/doc/html/qcolorgroup.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; } <p>The TQColorGroup class contains a group of widget colors. <a href="#details">More...</a> -<p><tt>#include <<a href="qpalette-h.html">qpalette.h</a>></tt> +<p><tt>#include <<a href="qpalette-h.html">ntqpalette.h</a>></tt> <p><a href="qcolorgroup-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -85,10 +85,10 @@ like "red" or "turquoise". The color roles are enumerated and defined in the <a href="#ColorRole-enum">ColorRole</a> documentation. <p> The most common use of TQColorGroup is like this: <p> <pre> - <a href="qpainter.html">TQPainter</a> p; + <a href="ntqpainter.html">TQPainter</a> p; ... - p.<a href="qpainter.html#setPen">setPen</a>( colorGroup().foreground() ); - p.<a href="qpainter.html#drawLine">drawLine</a>( ... ) + p.<a href="ntqpainter.html#setPen">setPen</a>( colorGroup().foreground() ); + p.<a href="ntqpainter.html#drawLine">drawLine</a>( ... ) </pre> <p> It is also possible to modify color groups or create new color @@ -107,7 +107,7 @@ color or a pixmap pattern. <p> There are also corresponding <a href="#color">color</a>() and <a href="#brush">brush</a>() getters, and a commonly used convenience function to get each ColorRole: <a href="#background">background</a>(), <a href="#foreground">foreground</a>(), <a href="#base">base</a>(), etc. -<p> <p>See also <a href="qcolor.html">TQColor</a>, <a href="qpalette.html">TQPalette</a>, <a href="qwidget.html#colorGroup-prop">TQWidget::colorGroup</a>, <a href="appearance.html">Widget Appearance and Style</a>, <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>. +<p> <p>See also <a href="ntqcolor.html">TQColor</a>, <a href="ntqpalette.html">TQPalette</a>, <a href="ntqwidget.html#colorGroup-prop">TQWidget::colorGroup</a>, <a href="appearance.html">Widget Appearance and Style</a>, <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="ColorRole-enum"></a>TQColorGroup::ColorRole</h3> @@ -165,16 +165,16 @@ common to use the text color roles for lines, icons, etc. </h3> Constructs a color group with all colors set to black. -<h3 class=fn><a name="TQColorGroup-2"></a>TQColorGroup::TQColorGroup ( const <a href="qcolor.html">TQColor</a> & foreground, const <a href="qcolor.html">TQColor</a> & background, const <a href="qcolor.html">TQColor</a> & light, const <a href="qcolor.html">TQColor</a> & dark, const <a href="qcolor.html">TQColor</a> & mid, const <a href="qcolor.html">TQColor</a> & text, const <a href="qcolor.html">TQColor</a> & base ) +<h3 class=fn><a name="TQColorGroup-2"></a>TQColorGroup::TQColorGroup ( const <a href="ntqcolor.html">TQColor</a> & foreground, const <a href="ntqcolor.html">TQColor</a> & background, const <a href="ntqcolor.html">TQColor</a> & light, const <a href="ntqcolor.html">TQColor</a> & dark, const <a href="ntqcolor.html">TQColor</a> & mid, const <a href="ntqcolor.html">TQColor</a> & text, const <a href="ntqcolor.html">TQColor</a> & base ) </h3><b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Constructs a color group with the specified colors. The button color will be set to the background color. -<h3 class=fn><a name="TQColorGroup-3"></a>TQColorGroup::TQColorGroup ( const <a href="qbrush.html">TQBrush</a> & foreground, const <a href="qbrush.html">TQBrush</a> & button, const <a href="qbrush.html">TQBrush</a> & light, const <a href="qbrush.html">TQBrush</a> & dark, const <a href="qbrush.html">TQBrush</a> & mid, const <a href="qbrush.html">TQBrush</a> & text, const <a href="qbrush.html">TQBrush</a> & bright_text, const <a href="qbrush.html">TQBrush</a> & base, const <a href="qbrush.html">TQBrush</a> & background ) +<h3 class=fn><a name="TQColorGroup-3"></a>TQColorGroup::TQColorGroup ( const <a href="ntqbrush.html">TQBrush</a> & foreground, const <a href="ntqbrush.html">TQBrush</a> & button, const <a href="ntqbrush.html">TQBrush</a> & light, const <a href="ntqbrush.html">TQBrush</a> & dark, const <a href="ntqbrush.html">TQBrush</a> & mid, const <a href="ntqbrush.html">TQBrush</a> & text, const <a href="ntqbrush.html">TQBrush</a> & bright_text, const <a href="ntqbrush.html">TQBrush</a> & base, const <a href="ntqbrush.html">TQBrush</a> & background ) </h3> Constructs a color group. You can pass either brushes, pixmaps or plain colors for <em>foreground</em>, <em>button</em>, <em>light</em>, <em>dark</em>, <em>mid</em>, <em>text</em>, <em>bright_text</em>, <em>base</em> and <em>background</em>. -<p> <p>See also <a href="qbrush.html">TQBrush</a>. +<p> <p>See also <a href="ntqbrush.html">TQBrush</a>. <h3 class=fn><a name="TQColorGroup-4"></a>TQColorGroup::TQColorGroup ( const <a href="qcolorgroup.html">TQColorGroup</a> & other ) </h3> @@ -184,103 +184,103 @@ Constructs a color group that is an independent copy of <em>other</em>. </h3> Destroys the color group. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="background"></a>TQColorGroup::background () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="background"></a>TQColorGroup::background () const </h3> <p> Returns the background color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="base"></a>TQColorGroup::base () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="base"></a>TQColorGroup::base () const </h3> <p> Returns the base color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="brightText"></a>TQColorGroup::brightText () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="brightText"></a>TQColorGroup::brightText () const </h3> <p> Returns the bright text foreground color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. <p>Examples: <a href="themes-example.html#x273">themes/metal.cpp</a> and <a href="themes-example.html#x194">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qbrush.html">TQBrush</a> & <a name="brush"></a>TQColorGroup::brush ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r ) const +<h3 class=fn>const <a href="ntqbrush.html">TQBrush</a> & <a name="brush"></a>TQColorGroup::brush ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r ) const </h3> Returns the brush that has been set for color role <em>r</em>. <p> <p>See also <a href="#color">color</a>(), <a href="#setBrush">setBrush</a>(), and <a href="#ColorRole-enum">ColorRole</a>. <p>Examples: <a href="themes-example.html#x274">themes/metal.cpp</a> and <a href="themes-example.html#x195">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="button"></a>TQColorGroup::button () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="button"></a>TQColorGroup::button () const </h3> <p> Returns the button color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. <p>Examples: <a href="themes-example.html#x275">themes/metal.cpp</a> and <a href="themes-example.html#x196">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="buttonText"></a>TQColorGroup::buttonText () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="buttonText"></a>TQColorGroup::buttonText () const </h3> <p> Returns the button text foreground color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. <p>Examples: <a href="themes-example.html#x276">themes/metal.cpp</a> and <a href="themes-example.html#x197">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="color"></a>TQColorGroup::color ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r ) const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="color"></a>TQColorGroup::color ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r ) const </h3> Returns the color that has been set for color role <em>r</em>. <p> <p>See also <a href="#brush">brush</a>() and <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="dark"></a>TQColorGroup::dark () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="dark"></a>TQColorGroup::dark () const </h3> <p> Returns the dark color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. <p>Example: <a href="themes-example.html#x198">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="foreground"></a>TQColorGroup::foreground () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="foreground"></a>TQColorGroup::foreground () const </h3> <p> Returns the foreground color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. <p>Examples: <a href="themes-example.html#x277">themes/metal.cpp</a> and <a href="themes-example.html#x199">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="highlight"></a>TQColorGroup::highlight () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="highlight"></a>TQColorGroup::highlight () const </h3> <p> Returns the highlight color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="highlightedText"></a>TQColorGroup::highlightedText () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="highlightedText"></a>TQColorGroup::highlightedText () const </h3> <p> Returns the highlighted text color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="light"></a>TQColorGroup::light () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="light"></a>TQColorGroup::light () const </h3> <p> Returns the light color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. <p>Example: <a href="themes-example.html#x200">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="link"></a>TQColorGroup::link () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="link"></a>TQColorGroup::link () const </h3> <p> Returns the unvisited link text color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="linkVisited"></a>TQColorGroup::linkVisited () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="linkVisited"></a>TQColorGroup::linkVisited () const </h3> <p> Returns the visited link text color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="mid"></a>TQColorGroup::mid () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="mid"></a>TQColorGroup::mid () const </h3> <p> Returns the mid color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. <p>Examples: <a href="themes-example.html#x278">themes/metal.cpp</a> and <a href="themes-example.html#x201">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="midlight"></a>TQColorGroup::midlight () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="midlight"></a>TQColorGroup::midlight () const </h3> <p> Returns the midlight color of the color group. @@ -301,25 +301,25 @@ Copies the colors of <em>other</em> to this color group. Returns TRUE if this color group is equal to <em>g</em>; otherwise returns FALSE. <p> <p>See also -<h3 class=fn>void <a name="setBrush"></a>TQColorGroup::setBrush ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r, const <a href="qbrush.html">TQBrush</a> & b ) +<h3 class=fn>void <a name="setBrush"></a>TQColorGroup::setBrush ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r, const <a href="ntqbrush.html">TQBrush</a> & b ) </h3> Sets the brush used for color role <em>r</em> to <em>b</em>. <p> <p>See also <a href="#brush">brush</a>(), <a href="#setColor">setColor</a>(), and <a href="#ColorRole-enum">ColorRole</a>. <p>Example: <a href="themes-example.html#x202">themes/wood.cpp</a>. -<h3 class=fn>void <a name="setColor"></a>TQColorGroup::setColor ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r, const <a href="qcolor.html">TQColor</a> & c ) +<h3 class=fn>void <a name="setColor"></a>TQColorGroup::setColor ( <a href="qcolorgroup.html#ColorRole-enum">ColorRole</a> r, const <a href="ntqcolor.html">TQColor</a> & c ) </h3> Sets the brush used for color role <em>r</em> to a solid color <em>c</em>. <p> <p>See also <a href="#brush">brush</a>() and <a href="#ColorRole-enum">ColorRole</a>. <p>Examples: <a href="listviews-example.html#x134">listviews/listviews.cpp</a>, <a href="statistics-example.html#x2779">table/statistics/statistics.cpp</a>, and <a href="themes-example.html#x279">themes/metal.cpp</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="shadow"></a>TQColorGroup::shadow () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="shadow"></a>TQColorGroup::shadow () const </h3> <p> Returns the shadow color of the color group. <p> <p>See also <a href="#ColorRole-enum">ColorRole</a>. -<h3 class=fn>const <a href="qcolor.html">TQColor</a> & <a name="text"></a>TQColorGroup::text () const +<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="text"></a>TQColorGroup::text () const </h3> <p> Returns the text foreground color of the color group. @@ -327,7 +327,7 @@ Sets the brush used for color role <em>r</em> to a solid color <em>c</em>. <p>Example: <a href="listviews-example.html#x135">listviews/listviews.cpp</a>. <hr><h2>Related Functions</h2> -<h3 class=fn><a href="qdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="qdatastream.html">TQDataStream</a> & s, const <a href="qcolorgroup.html">TQColorGroup</a> & g ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="ntqdatastream.html">TQDataStream</a> & s, const <a href="qcolorgroup.html">TQColorGroup</a> & g ) </h3> <p> Writes color group, <em>g</em> to the stream <em>s</em>. |