1
<?xml version="1.0" encoding="iso-8859-1"?>
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/gui/kernel/qpalette.cpp -->
7
<title>Qt 4.0: QColorGroup Class Reference</title>
8
<style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
9
a:link { color: #004faf; text-decoration: none }
10
a:visited { color: #672967; text-decoration: none }
11
td.postheader { font-family: sans-serif }
12
tr.address { font-family: sans-serif }
13
body { background: #ffffff; color: black; }</style>
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
19
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="annotated.html"><font color="#004faf">Annotated</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QColorGroup Class Reference</h1>
21
<pre>#include <QColorGroup></pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See the <a href="porting4.html">Porting Guide</a> for more information.</p>
22
<p>Part of the <a href="qtgui.html">QtGui</a> module.</p>
23
<p>Inherits <a href="qpalette.html">QPalette</a>.</p>
25
<li><a href="qcolorgroup-members.html">List of all members, including inherited members</a></li>
26
<li><a href="qcolorgroup-qt3.html">Qt 3 support members</a></li>
28
<a name="public-functions"></a>
29
<h3>Public Functions</h3>
31
<li><div class="fn"/><b><a href="qcolorgroup.html#QColorGroup">QColorGroup</a></b> ()</li>
32
<li><div class="fn"/><b><a href="qcolorgroup.html#QColorGroup-2">QColorGroup</a></b> ( const QBrush & <i>foreground</i>, const QBrush & <i>button</i>, const QBrush & <i>light</i>, const QBrush & <i>dark</i>, const QBrush & <i>mid</i>, const QBrush & <i>text</i>, const QBrush & <i>bright_text</i>, const QBrush & <i>base</i>, const QBrush & <i>background</i> )</li>
33
<li><div class="fn"/><b><a href="qcolorgroup.html#QColorGroup-3">QColorGroup</a></b> ( const QColor & <i>foreground</i>, const QColor & <i>background</i>, const QColor & <i>light</i>, const QColor & <i>dark</i>, const QColor & <i>mid</i>, const QColor & <i>text</i>, const QColor & <i>base</i> )</li>
34
<li><div class="fn"/><b><a href="qcolorgroup.html#QColorGroup-4">QColorGroup</a></b> ( const QColorGroup & <i>other</i> )</li>
35
<li><div class="fn"/><b><a href="qcolorgroup.html#QColorGroup-5">QColorGroup</a></b> ( const QPalette & <i>pal</i> )</li>
36
<li><div class="fn"/><b><a href="qcolorgroup.html#operator-QVariant">operator QVariant</a></b> () const</li>
37
<li><div class="fn"/>bool <b><a href="qcolorgroup.html#operator-not-eq">operator!=</a></b> ( const QColorGroup & <i>other</i> ) const</li>
38
<li><div class="fn"/>bool <b><a href="qcolorgroup.html#operator-eq-eq">operator==</a></b> ( const QColorGroup & <i>other</i> ) const</li>
41
<li><div class="fn"/>36 public functions inherited from <a href="qpalette.html#public-functions">QPalette</a></li>
43
<a name="details"></a>
45
<h2>Detailed Description</h2>
47
<h2>Member Function Documentation</h2>
48
<h3 class="fn"><a name="QColorGroup"></a>QColorGroup::QColorGroup ()</h3>
49
<p>Use <a href="qpalette.html#QPalette">QPalette</a>() instead.</p>
50
<h3 class="fn"><a name="QColorGroup-2"></a>QColorGroup::QColorGroup ( const <a href="qbrush.html">QBrush</a> & <i>foreground</i>, const <a href="qbrush.html">QBrush</a> & <i>button</i>, const <a href="qbrush.html">QBrush</a> & <i>light</i>, const <a href="qbrush.html">QBrush</a> & <i>dark</i>, const <a href="qbrush.html">QBrush</a> & <i>mid</i>, const <a href="qbrush.html">QBrush</a> & <i>text</i>, const <a href="qbrush.html">QBrush</a> & <i>bright_text</i>, const <a href="qbrush.html">QBrush</a> & <i>base</i>, const <a href="qbrush.html">QBrush</a> & <i>background</i> )</h3>
51
<p>Use <a href="qpalette.html">QPalette</a>(<i>foreground</i>, <i>button</i>, <i>light</i>, <i>dark</i>, <i>mid</i>, <i>text</i>, <i>bright_text</i>, <i>base</i>, <i>background</i>) instead.</p>
52
<h3 class="fn"><a name="QColorGroup-3"></a>QColorGroup::QColorGroup ( const <a href="qcolor.html">QColor</a> & <i>foreground</i>, const <a href="qcolor.html">QColor</a> & <i>background</i>, const <a href="qcolor.html">QColor</a> & <i>light</i>, const <a href="qcolor.html">QColor</a> & <i>dark</i>, const <a href="qcolor.html">QColor</a> & <i>mid</i>, const <a href="qcolor.html">QColor</a> & <i>text</i>, const <a href="qcolor.html">QColor</a> & <i>base</i> )</h3>
53
<p>Use <a href="qcolorgroup.html">QColorGroup</a>(<i>foreground</i>, <i>background</i>, <i>light</i>, <i>dark</i>, <i>mid</i>, <i>text</i>, <i>base</i>) instead.</p>
54
<h3 class="fn"><a name="QColorGroup-4"></a>QColorGroup::QColorGroup ( const QColorGroup & <i>other</i> )</h3>
55
<p>Use <a href="qpalette.html">QPalette</a>(<i>other</i>) instead.</p>
56
<h3 class="fn"><a name="QColorGroup-5"></a>QColorGroup::QColorGroup ( const <a href="qpalette.html">QPalette</a> & <i>pal</i> )</h3>
57
<p>Use <a href="qpalette.html">QPalette</a>(<i>pal</i>) instead.</p>
58
<h3 class="fn"><a name="operator-QVariant"></a>QColorGroup::operator QVariant () const</h3>
59
<p>Returns the color group as a <a href="qvariant.html">QVariant</a></p>
60
<h3 class="fn"><a name="operator-not-eq"></a>bool QColorGroup::operator!= ( const QColorGroup & <i>other</i> ) const</h3>
61
<p>Returns true if this color group is not equal to <i>other</i>; otherwise returns false.</p>
62
<h3 class="fn"><a name="operator-eq-eq"></a>bool QColorGroup::operator== ( const QColorGroup & <i>other</i> ) const</h3>
63
<p>Returns true if this color group is equal to <i>other</i>; otherwise returns false.</p>
64
<p /><address><hr /><div align="center">
65
<table width="100%" cellspacing="0" border="0"><tr class="address">
66
<td width="30%">Copyright © 2005 <a href="trolltech.html">Trolltech</a></td>
67
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
68
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
69
</tr></table></div></address></body>