class KColorGroup
|
A KColorGroup provides seven colors for widgets: foreground,
background, light, mid, dark, text and base - exactly as the
QColorGroup. More... |
|
|
Public Members
- 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
Construct a KColorGroup with given colors.
Copy-constructor
assignment operator
KColorGroup destructor
[const] Retrieve the foreground value.
[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] Return the QColorGroup object (for drawing shades e.g.).
Generated by: root@jetson.devel.redhat.com on Fri Sep 24 18:52:36 199. |