Compatibility Members for QBrush

以下成員源於類 QBrush are part of the Qt compatibility layer. We advise against using them in new code.

公共函數

QPixmap * pixmap () const
void setPixmap (const QPixmap & pixmap )
operator const QColor & () const

成員函數文檔編製

QPixmap * QBrush:: pixmap () const

Returns a pointer to the custom brush pattern.

使用 texture () 代替。

另請參閱 setPixmap ().

void QBrush:: setPixmap (const QPixmap & pixmap )

Sets a custom pattern for this brush.

使用 setTexture () 代替。

另請參閱 pixmap ().

QBrush:: operator const QColor & () const

Returns the brush's color.

使用 color () 代替。