Qt:Документация 4.3.2/qbrush-qt3

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] 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.



[править] Открытые функции


[править] Описание функций-членов

[править]
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.


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2