Qt Reference Documentation

Qt 3 Support Members for QColorGroup

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. 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
  • 9 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.

const QColor & QColorGroup::link () const

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 )

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.