class KColorGroup
|
Similar to QColorGroup, with color write accessors.
More... |
|
|
Public Methods
- KColorGroup ()
- KColorGroup ( const QColor& rForeground, const QColor& rBackground, const QColor& rLight, const QColor& rMid, const QColor& rDark, const QColor& rText, const QColor& rBase )
- KColorGroup ( const KColorGroup& )
- KColorGroup& operator= ( const KColorGroup& )
- ~KColorGroup ()
- const QColor& foreground () const
- const QColor& background () const
- const QColor& light () const
- const QColor& mid () const
- const QColor& dark () const
- const QColor& text () const
- const QColor& base () const
- bool operator== ( const KColorGroup& rColorGroup ) const
- bool operator!= ( const KColorGroup& rColorGroup ) const
- void load ( KConfig& rConfig, QString* pString = 0L )
- void save ( KConfig& rConfig, QString* pString = 0L )
- const QColorGroup * colorGroup () const
Detailed Description
A KColorGroup provides seven colors for widgets: foreground,
background, light, mid, dark, text and base - exactly as the
QColorGroup. KColorGroup adds the possibility to store the KColorGroup
via the KConfig mechanism. It would be nicer if KColorGroup was
derived from QColorGroup, but QColorGroup provides no write access
to its data members except via the constructor.
Construct a KColorGroup with all colors black
Copy-constructor
assignment operator
KColorGroup destructor
const QColor& foreground ()
|
[const] Retrieve the foreground value.
const QColor& background ()
|
[const] Retrieve the background value.
[const] Retrieve the light value.
[const] Retrieve the mid value.
[const] Retrieve the dark value.
[const] Retrieve the text value.
[const] Retrieve the base value.
[const] Compare two KColorGroups.
[const] Compare two KColorGroups.
Load color values from a KConfig object. The group "ColorGroup"
is used. If pString is not 0, the value of pString is prepended
to the group name.
Save color values to a KConfig object. The group "ColorGroup" is
used. If pString is not 0, the value of pString is prepended to
the group name.
const QColorGroup * colorGroup ()
|
[const] Return the QColorGroup object (for drawing shades e.g.).
- Version: $Id: kcolorgroup.h,v 1.11 1999/11/18 04:19:50 ssk Exp $
- Author: Kalle Dalheimer <kalle@kde.org>
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:19 2000, using kdoc 2.0a33.