QColorGroup Class

The QColorGroup 类包含各 Widget 状态的颜色组。 更多...

头: #include <QColorGroup>
继承: QPalette

公共函数

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

详细描述

The QColorGroup 类包含各 Widget 状态的颜色组。

成员函数文档编制

QColorGroup:: QColorGroup ()

使用 QPalette () 代替。

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 )

使用 QPalette ( foreground , button , light , dark , mid , text , bright_text , base , background ) 代替。

QColorGroup:: QColorGroup (const QColor & foreground , const QColor & background , const QColor & light , const QColor & dark , const QColor & mid , const QColor & text , const QColor & base )

使用 QColorGroup ( foreground , background , light , dark , mid , text , base ) 代替。

QColorGroup:: QColorGroup (const QColorGroup & other )

使用 QPalette ( other ) 代替。

QColorGroup:: QColorGroup (const QPalette & pal )

使用 QPalette ( pal ) 代替。

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 ;否则返回 false。

bool QColorGroup:: operator== (const QColorGroup & other ) const

Returns true if this color group is equal to other ;否则返回 false。