QPalette Class Reference
The QPalette class contains color groups.
(details)
(complete member list)
#include <qpalette.h>
Public Members
- QPalette ()
- QPalette (const QColorGroup& normal, const QColorGroup& disabled, const QColorGroup& active)
- QPalette (const QPalette&)
- ~QPalette ()
- QPalette& operator= (const QPalette&)
- QPalette copy () const
- const QColorGroup& normal () const
- const QColorGroup& disabled () const
- const QColorGroup& active () const
- void setNormalColors (const QColorGroup&)
- void setDisabledColors (const QColorGroup&)
- void setActiveColors (const QColorGroup&)
- bool operator== (const QPalette& p) const
- bool operator!= (const QPalette& p) const
- long serialNumber () const
Related Functions
(Note that these are not member functions.)
- QDataStream & operator<< (QDataStream &s, const QPalette &p)
- QDataStream & operator>> (QDataStream &s, QPalette &p)
The QPalette class contains color groups.
A palette has three color groups: a normal, a disabled and an active.
These color groups are used for drawing widgets in different states.
See also: QApplication::setPalette() and QWidget::setPalette().
Related Functions
Writes a palette to the stream.
Reads a palette from the stream.
This file is part of the Qt toolkit,
copyright 1995
Troll Tech, all rights reserved.
It was generated from the following files:
- qpalette.h: 1995/03/27
- qpalette.cpp: 1995/05/15
Generated at 04:27, 1995/05/20 by the webmaster at Troll Tech