diff options
Diffstat (limited to 'doc/html/ntqpalette.html')
-rw-r--r-- | doc/html/ntqpalette.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/ntqpalette.html b/doc/html/ntqpalette.html index 0c200f34e..f083e7543 100644 --- a/doc/html/ntqpalette.html +++ b/doc/html/ntqpalette.html @@ -101,7 +101,7 @@ to modify the palette. palette's color groups with <a href="#setColor">setColor</a>() and <a href="#setBrush">setBrush</a>(). <p> You can copy a palette using the copy constructor and test to see if two palettes are <em>identical</em> using <a href="#isCopyOf">isCopyOf</a>(). -<p> <p>See also <a href="ntqapplication.html#setPalette">TQApplication::setPalette</a>(), <a href="tqwidget.html#palette-prop">TQWidget::palette</a>, <a href="qcolorgroup.html">TQColorGroup</a>, <a href="ntqcolor.html">TQColor</a>, <a href="appearance.html">Widget Appearance and Style</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>. +<p> <p>See also <a href="ntqapplication.html#setPalette">TQApplication::setPalette</a>(), <a href="tqwidget.html#palette-prop">TQWidget::palette</a>, <a href="tqcolorgroup.html">TQColorGroup</a>, <a href="tqcolor.html">TQColor</a>, <a href="appearance.html">Widget Appearance and Style</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="ColorGroup-enum"></a>TQPalette::ColorGroup</h3> @@ -118,24 +118,24 @@ if two palettes are <em>identical</em> using <a href="#isCopyOf">isCopyOf</a>(). Constructs a palette that consists of color groups with only black colors. -<h3 class=fn><a name="TQPalette-2"></a>TQPalette::TQPalette ( const <a href="ntqcolor.html">TQColor</a> & button ) +<h3 class=fn><a name="TQPalette-2"></a>TQPalette::TQPalette ( const <a href="tqcolor.html">TQColor</a> & button ) </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 palette from the <em>button</em> color. The other colors are automatically calculated, based on this color. Background will be the button color as well. -<h3 class=fn><a name="TQPalette-3"></a>TQPalette::TQPalette ( const <a href="ntqcolor.html">TQColor</a> & button, const <a href="ntqcolor.html">TQColor</a> & background ) +<h3 class=fn><a name="TQPalette-3"></a>TQPalette::TQPalette ( const <a href="tqcolor.html">TQColor</a> & button, const <a href="tqcolor.html">TQColor</a> & background ) </h3> Constructs a palette from a <em>button</em> color and a <em>background</em>. The other colors are automatically calculated, based on these colors. -<h3 class=fn><a name="TQPalette-4"></a>TQPalette::TQPalette ( const <a href="qcolorgroup.html">TQColorGroup</a> & active, const <a href="qcolorgroup.html">TQColorGroup</a> & disabled, const <a href="qcolorgroup.html">TQColorGroup</a> & inactive ) +<h3 class=fn><a name="TQPalette-4"></a>TQPalette::TQPalette ( const <a href="tqcolorgroup.html">TQColorGroup</a> & active, const <a href="tqcolorgroup.html">TQColorGroup</a> & disabled, const <a href="tqcolorgroup.html">TQColorGroup</a> & inactive ) </h3> Constructs a palette that consists of the three color groups <em>active</em>, <em>disabled</em> and <em>inactive</em>. See the <a href="#details">Detailed Description</a> for definitions of the color groups -and <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> for definitions of each color role +and <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> for definitions of each color role in the three groups. -<p> <p>See also <a href="qcolorgroup.html">TQColorGroup</a> and <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. +<p> <p>See also <a href="tqcolorgroup.html">TQColorGroup</a> and <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. <h3 class=fn><a name="TQPalette-5"></a>TQPalette::TQPalette ( const <a href="ntqpalette.html">TQPalette</a> & p ) </h3> @@ -146,22 +146,22 @@ Constructs a copy of <em>p</em>. </h3> Destroys the palette. -<h3 class=fn>const <a href="qcolorgroup.html">TQColorGroup</a> & <a name="active"></a>TQPalette::active () const +<h3 class=fn>const <a href="tqcolorgroup.html">TQColorGroup</a> & <a name="active"></a>TQPalette::active () const </h3> <p> Returns the active color group of this palette. -<p> <p>See also <a href="qcolorgroup.html">TQColorGroup</a>, <a href="#setActive">setActive</a>(), <a href="#inactive">inactive</a>(), and <a href="#disabled">disabled</a>(). +<p> <p>See also <a href="tqcolorgroup.html">TQColorGroup</a>, <a href="#setActive">setActive</a>(), <a href="#inactive">inactive</a>(), and <a href="#disabled">disabled</a>(). <p>Examples: <a href="themes-example.html#x290">themes/metal.cpp</a> and <a href="themes-example.html#x224">themes/wood.cpp</a>. -<h3 class=fn>const <a href="ntqbrush.html">TQBrush</a> & <a name="brush"></a>TQPalette::brush ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r ) const +<h3 class=fn>const <a href="tqbrush.html">TQBrush</a> & <a name="brush"></a>TQPalette::brush ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r ) const </h3> Returns the brush in color group <em>gr</em>, used for color role <em>r</em>. -<p> <p>See also <a href="#color">color</a>(), <a href="#setBrush">setBrush</a>(), and <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. +<p> <p>See also <a href="#color">color</a>(), <a href="#setBrush">setBrush</a>(), and <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. -<h3 class=fn>const <a href="ntqcolor.html">TQColor</a> & <a name="color"></a>TQPalette::color ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r ) const +<h3 class=fn>const <a href="tqcolor.html">TQColor</a> & <a name="color"></a>TQPalette::color ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r ) const </h3> Returns the color in color group <em>gr</em>, used for color role <em>r</em>. -<p> <p>See also <a href="#brush">brush</a>(), <a href="#setColor">setColor</a>(), and <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. +<p> <p>See also <a href="#brush">brush</a>(), <a href="#setColor">setColor</a>(), and <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. <h3 class=fn><a href="ntqpalette.html">TQPalette</a> <a name="copy"></a>TQPalette::copy () const </h3> @@ -169,18 +169,18 @@ Returns a <a href="shclass.html#deep-copy">deep copy</a> of this palette. <p> <b>Warning:</b> This is slower than the copy constructor and assignment operator and offers no benefits. -<h3 class=fn>const <a href="qcolorgroup.html">TQColorGroup</a> & <a name="disabled"></a>TQPalette::disabled () const +<h3 class=fn>const <a href="tqcolorgroup.html">TQColorGroup</a> & <a name="disabled"></a>TQPalette::disabled () const </h3> <p> Returns the disabled color group of this palette. -<p> <p>See also <a href="qcolorgroup.html">TQColorGroup</a>, <a href="#setDisabled">setDisabled</a>(), <a href="#active">active</a>(), and <a href="#inactive">inactive</a>(). +<p> <p>See also <a href="tqcolorgroup.html">TQColorGroup</a>, <a href="#setDisabled">setDisabled</a>(), <a href="#active">active</a>(), and <a href="#inactive">inactive</a>(). <p>Examples: <a href="themes-example.html#x291">themes/metal.cpp</a> and <a href="themes-example.html#x225">themes/wood.cpp</a>. -<h3 class=fn>const <a href="qcolorgroup.html">TQColorGroup</a> & <a name="inactive"></a>TQPalette::inactive () const +<h3 class=fn>const <a href="tqcolorgroup.html">TQColorGroup</a> & <a name="inactive"></a>TQPalette::inactive () const </h3> <p> Returns the inactive color group of this palette. -<p> <p>See also <a href="qcolorgroup.html">TQColorGroup</a>, <a href="#setInactive">setInactive</a>(), <a href="#active">active</a>(), and <a href="#disabled">disabled</a>(). +<p> <p>See also <a href="tqcolorgroup.html">TQColorGroup</a>, <a href="#setInactive">setInactive</a>(), <a href="#active">active</a>(), and <a href="#disabled">disabled</a>(). <h3 class=fn>bool <a name="isCopyOf"></a>TQPalette::isCopyOf ( const <a href="ntqpalette.html">TQPalette</a> & p ) </h3> @@ -219,47 +219,47 @@ changes during the lazy copy operation (detach()), not during a <a href="shclass.html#shallow-copy">shallow copy</a> (copy constructor or assignment). <p> <p>See also <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqpixmapcache.html">TQPixmapCache</a>, and <a href="tqcache.html">TQCache</a>. -<h3 class=fn>void <a name="setActive"></a>TQPalette::setActive ( const <a href="qcolorgroup.html">TQColorGroup</a> & g ) +<h3 class=fn>void <a name="setActive"></a>TQPalette::setActive ( const <a href="tqcolorgroup.html">TQColorGroup</a> & g ) </h3> Sets the <a href="#ColorGroup-enum">Active</a> color group to <em>g</em>. -<p> <p>See also <a href="#active">active</a>(), <a href="#setDisabled">setDisabled</a>(), <a href="#setInactive">setInactive</a>(), and <a href="qcolorgroup.html">TQColorGroup</a>. +<p> <p>See also <a href="#active">active</a>(), <a href="#setDisabled">setDisabled</a>(), <a href="#setInactive">setInactive</a>(), and <a href="tqcolorgroup.html">TQColorGroup</a>. -<h3 class=fn>void <a name="setBrush"></a>TQPalette::setBrush ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="ntqbrush.html">TQBrush</a> & b ) +<h3 class=fn>void <a name="setBrush"></a>TQPalette::setBrush ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="tqbrush.html">TQBrush</a> & b ) </h3> Sets the brush in color group <em>gr</em>, 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="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. +<p> <p>See also <a href="#brush">brush</a>(), <a href="#setColor">setColor</a>(), and <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. -<h3 class=fn>void <a name="setBrush-2"></a>TQPalette::setBrush ( <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="ntqbrush.html">TQBrush</a> & b ) +<h3 class=fn>void <a name="setBrush-2"></a>TQPalette::setBrush ( <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="tqbrush.html">TQBrush</a> & b ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the brush in for color role <em>r</em> in all three color groups to <em>b</em>. -<p> <p>See also <a href="#brush">brush</a>(), <a href="#setColor">setColor</a>(), <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>, <a href="#active">active</a>(), <a href="#inactive">inactive</a>(), and <a href="#disabled">disabled</a>(). +<p> <p>See also <a href="#brush">brush</a>(), <a href="#setColor">setColor</a>(), <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>, <a href="#active">active</a>(), <a href="#inactive">inactive</a>(), and <a href="#disabled">disabled</a>(). -<h3 class=fn>void <a name="setColor"></a>TQPalette::setColor ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="ntqcolor.html">TQColor</a> & c ) +<h3 class=fn>void <a name="setColor"></a>TQPalette::setColor ( <a href="ntqpalette.html#ColorGroup-enum">ColorGroup</a> gr, <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="tqcolor.html">TQColor</a> & c ) </h3> Sets the brush in color group <em>gr</em>, used for color role <em>r</em>, to the solid color <em>c</em>. -<p> <p>See also <a href="#setBrush">setBrush</a>(), <a href="#color">color</a>(), and <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. +<p> <p>See also <a href="#setBrush">setBrush</a>(), <a href="#color">color</a>(), and <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. <p>Example: <a href="themes-example.html#x332">themes/themes.cpp</a>. -<h3 class=fn>void <a name="setColor-2"></a>TQPalette::setColor ( <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="ntqcolor.html">TQColor</a> & c ) +<h3 class=fn>void <a name="setColor-2"></a>TQPalette::setColor ( <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a> r, const <a href="tqcolor.html">TQColor</a> & c ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the brush color used for color role <em>r</em> to color <em>c</em> in all three color groups. -<p> <p>See also <a href="#color">color</a>(), <a href="#setBrush">setBrush</a>(), and <a href="qcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. +<p> <p>See also <a href="#color">color</a>(), <a href="#setBrush">setBrush</a>(), and <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ColorRole</a>. -<h3 class=fn>void <a name="setDisabled"></a>TQPalette::setDisabled ( const <a href="qcolorgroup.html">TQColorGroup</a> & g ) +<h3 class=fn>void <a name="setDisabled"></a>TQPalette::setDisabled ( const <a href="tqcolorgroup.html">TQColorGroup</a> & g ) </h3> Sets the <a href="#ColorGroup-enum">Disabled</a> color group to <em>g</em>. <p> <p>See also <a href="#disabled">disabled</a>(), <a href="#setActive">setActive</a>(), and <a href="#setInactive">setInactive</a>(). -<h3 class=fn>void <a name="setInactive"></a>TQPalette::setInactive ( const <a href="qcolorgroup.html">TQColorGroup</a> & g ) +<h3 class=fn>void <a name="setInactive"></a>TQPalette::setInactive ( const <a href="tqcolorgroup.html">TQColorGroup</a> & g ) </h3> Sets the <a href="#ColorGroup-enum">Inactive</a> color group to <em>g</em>. -<p> <p>See also <a href="#active">active</a>(), <a href="#setDisabled">setDisabled</a>(), <a href="#setActive">setActive</a>(), and <a href="qcolorgroup.html">TQColorGroup</a>. +<p> <p>See also <a href="#active">active</a>(), <a href="#setDisabled">setDisabled</a>(), <a href="#setActive">setActive</a>(), and <a href="tqcolorgroup.html">TQColorGroup</a>. <hr><h2>Related Functions</h2> <h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="tqdatastream.html">TQDataStream</a> & s, const <a href="ntqpalette.html">TQPalette</a> & p ) |