Qt Reference Documentation

Qt 3 Support Members for QBrush

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

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

Member Function Documentation

QPixmap * QBrush::pixmap () const

Returns a pointer to the custom brush pattern.

Use texture() instead.

See also setPixmap().

void QBrush::setPixmap ( const QPixmap & pixmap )

Sets a custom pattern for this brush.

Use setTexture() instead.

See also pixmap().

QBrush::operator const QColor & () const

Returns the brush's color.

Use color() instead.

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.

[0]; s.parentNode.insertBefore(ga, s); })();