21 if (sourceIsPixmap()) {
void setColorAt(qreal pos, const QColor &color)
Creates a stop point at the given position with the given color.
The QGraphicsOpacityEffect class provides an opacity effect.
void setOpacityMask(const QBrush &mask)
The QPainter class performs low-level painting on widgets and other paint devices.
void setWorldTransform(const QTransform &matrix, bool combine=false)
Sets the world transformation matrix.
void drawPixmap(const QRectF &targetRect, const QPixmap &pixmap, const QRectF &sourceRect)
Draws the rectangular portion source of the given pixmap into the given target in the paint device.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) noexcept
GLenum GLuint GLintptr offset
QLinearGradient alphaGradient(rect.topLeft(), rect.bottomLeft())
[1]
QGraphicsOpacityEffect * effect
the effect attached to this item