QGraphicsColorizeEffect Class ReferenceThe QGraphicsColorizeEffect class provides a colorize effect. Далее... #include <QGraphicsColorizeEffect> Inherits: QGraphicsEffect. Этот класс был введён в Qt 4.6. Свойства
Открытые функции
Открытые слоты
Сигналы
Переопределённые защищённые функции
Дополнительные унаследованные члены
Подробное описаниеThe QGraphicsColorizeEffect class provides a colorize effect. A colorize effect renders the source with a tint of its color(). The color can be modified using the setColor() function. By default, the color is light blue (QColor(0, 0, 192)). See also QGraphicsDropShadowEffect, QGraphicsBlurEffect, and QGraphicsOpacityEffect. Описание свойствcolor : QColorThis property holds the color of the effect. By default, the color is light blue (QColor(0, 0, 192)). Функции доступа:
Уведомляющий сигнал:
strength : qrealThis property holds the strength of the effect. By default, the strength is 1.0. A strength 0.0 equals to no effect, while 1.0 means full colorization. Функции доступа:
Уведомляющий сигнал:
Описание функций-членовQGraphicsColorizeEffect::QGraphicsColorizeEffect ( QObject * parent = 0 )Constructs a new QGraphicsColorizeEffect instance. The parent parameter is passed to QGraphicsEffect's constructor. QGraphicsColorizeEffect::~QGraphicsColorizeEffect ()Destroys the effect. void QGraphicsColorizeEffect::colorChanged ( const QColor & color ) [signal]This signal is emitted whenever the effect's color changes. The color parameter holds the effect's new color. void QGraphicsColorizeEffect::draw ( QPainter * painter ) [virtual protected]Reimplemented from QGraphicsEffect::draw(). void QGraphicsColorizeEffect::strengthChanged ( qreal strength ) [signal]This signal is emitted whenever setStrength() changes the colorize strength property. strength contains the new strength value of the colorize effect. |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |