KColorGroup: A collection of color entries for application widgets
![]() | KColorGroup () Construct a KColorGroup with all colors black |
![]() | KColorGroup ( const QColor& rForeground, const QColor& rBackground, const QColor& rLight, const QColor& rMid, const QColor& rDark, const QColor& rText, const QColor& rBase ) Construct a KColorGroup with given colors. |
![]() | ~KColorGroup () KColorGroup destructor |
![]() | foreground () const Retrieve the foreground value. |
![]() | background () const Retrieve the background value. |
![]() | light () const Retrieve the light value. |
![]() | mid () const Retrieve the mid value. |
![]() | dark () const Retrieve the dark value. |
![]() | text () const Retrieve the text value. |
![]() | base () const Retrieve the base value. |
![]() | operator== ( const KColorGroup & rColorGroup ) const Compare two KColorGroups. |
![]() | operator!= ( const KColorGroup & rColorGroup ) const Compare two KColorGroups. |
![]() | load ( KConfig & rConfig, QString* pString = NULL ) Load color values from a KConfig object. |
![]() | save ( KConfig & rConfig, QString* pString = NULL ) Save color values to a KConfig object. |
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.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling