Compatibility Members for QColorGroup

The following members of class QColorGroupare part of the Qt compatibility layer. We advise against using them in new code.

Public Functions

const QColor & background() const
const QColor & base() const
const QColor & brightText() const
const QColor & button() const
const QColor & buttonText() const
const QColor & dark() const
const QColor & foreground() const
const QColor & highlight() const
const QColor & highlightedText() const
const QColor & light() const
const QColor & link() const
const QColor & linkVisited() const
const QColor & mid() const
const QColor & midlight() const
const QColor & shadow() const
const QColor & text() const
  • 8 public functions inherited from QPalette

Related Non-Members

QDataStream & operator<<(QDataStream & ds, const QColorGroup & colorGroup)
QDataStream & operator>>(QDataStream & ds, QColorGroup & colorGroup)

Member Function Documentation

const QColor & QColorGroup::background() const

Use QPalette::window().color() instead.

const QColor & QColorGroup::base() const

Use QPalette::base().color() instead.

const QColor & QColorGroup::brightText() const

Use QPalette::brightText().color() instead.

const QColor & QColorGroup::button() const

Use QPalette::button().color() instead.

const QColor & QColorGroup::buttonText() const

Use QPalette::buttonText().color() instead.

const QColor & QColorGroup::dark() const

Use QPalette::dark().color() instead.

const QColor & QColorGroup::foreground() const

Use QPalette::windowText().color() instead.

const QColor & QColorGroup::highlight() const

Use QPalette::highlight().color() instead.

const QColor & QColorGroup::highlightedText() const

Use QPalette::highlightedText().color() instead.

const QColor & QColorGroup::light() const

Use QPalette::light().color() instead.

Use QPalette::link().color() instead.

const QColor & QColorGroup::linkVisited() const

Use QPalette::linkVisited().color() instead.

const QColor & QColorGroup::mid() const

Use QPalette::mid().color() instead.

const QColor & QColorGroup::midlight() const

Use QPalette::midlight().color() instead.

const QColor & QColorGroup::shadow() const

Use QPalette::shadow().color() instead.

const QColor & QColorGroup::text() const

Use QPalette::text().color() instead.

Related Non-Members

QDataStream & operator<<(QDataStream & ds, const QColorGroup & colorGroup)

QDataStream & operator>>(QDataStream & ds, QColorGroup & colorGroup)

© 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.