QColorGroup Class Reference [QtGui module]
The QColorGroup class contains color groups for each widget state. More...
#include <QColorGroup> This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.
Inherits QPalette.
Public Functions
| QColorGroup () |
| QColorGroup ( const QBrush & foreground, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & background ) |
| QColorGroup ( const QColor & foreground, const QColor & background, const QColor & light, const QColor & dark, const QColor & mid, const QColor & text, const QColor & base ) |
| QColorGroup ( const QColorGroup & other ) |
| QColorGroup ( const QPalette & pal ) |
| operator QVariant () const |
bool | operator!= ( const QColorGroup & other ) const |
bool | operator== ( const QColorGroup & other ) const |
- 39 public functions inherited from QPalette
Detailed Description
The QColorGroup class contains color groups for each widget state.
Member Function Documentation
QColorGroup::QColorGroup ()
Use QPalette() instead.
QColorGroup::QColorGroup ( const QBrush & foreground, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & background )
Use QPalette(foreground, button, light, dark, mid, text, bright_text, base, background) instead.
QColorGroup::QColorGroup ( const QColor & foreground, const QColor & background, const QColor & light, const QColor & dark, const QColor & mid, const QColor & text, const QColor & base )
Use QColorGroup(foreground, background, light, dark, mid, text, base) instead.
QColorGroup::QColorGroup ( const QColorGroup & other )
Use QPalette(other) instead.
QColorGroup::QColorGroup ( const QPalette & pal )
Use QPalette(pal) instead.
QColorGroup::operator QVariant () const
Returns the color group as a QVariant
bool QColorGroup::operator!= ( const QColorGroup & other ) const
Returns true if this color group is not equal to other; otherwise returns false.
bool QColorGroup::operator== ( const QColorGroup & other ) const
Returns true if this color group is equal to other; otherwise returns false.
|
|
Best Of
Actualités les plus lues
Le Qt Quarterly au hasard
Qt Quarterly est la revue trimestrielle proposée par Nokia et à destination des développeurs Qt. Ces articles d'une grande qualité technique sont rédigés par des experts Qt. Lire l'article.
Communauté
Ressources
Liens utiles
Contact
- Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).
Qt dans le magazine
|