Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_gui_effects_qgraphicseffect.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Functions

QLinearGradient alphaGradient (rect.topLeft(), rect.bottomLeft())
 [1]
 
alphaGradient setColorAt (0.0, Qt::transparent)
 
alphaGradient setColorAt (0.5, Qt::black)
 
alphaGradient setColorAt (1.0, Qt::transparent)
 
effect setOpacityMask (alphaGradient)
 

Variables

QGraphicsOpacityEffecteffect = new QGraphicsOpacityEffect
 the effect attached to this item
 

Function Documentation

◆ alphaGradient()

QLinearGradient alphaGradient ( rect. topLeft(),
rect. bottomLeft() )

[1]

[2]

Referenced by QWindowsVistaStyle::drawControl().

+ Here is the caller graph for this function:

◆ setColorAt() [1/3]

alphaGradient setColorAt ( 0. 0,
Qt::transparent  )

◆ setColorAt() [2/3]

alphaGradient setColorAt ( 0. 5,
Qt::black  )

◆ setColorAt() [3/3]

alphaGradient setColorAt ( 1. 0,
Qt::transparent  )

◆ setOpacityMask()

effect setOpacityMask ( alphaGradient )

Variable Documentation

◆ effect

QGraphicsObject::effect = new QGraphicsOpacityEffect