QColorGroup Class

The QColorGroup class contains color groups for each widget state. More...

Header: #include <QColorGroup>
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
  • 40 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.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.