![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
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 | |
| QGraphicsOpacityEffect * | effect = new QGraphicsOpacityEffect |
| the effect attached to this item | |
| QLinearGradient alphaGradient | ( | rect. | topLeft(), |
| rect. | bottomLeft() ) |
[1]
[2]
| alphaGradient setColorAt | ( | 0. | 0, |
| Qt::transparent | ) |
| alphaGradient setColorAt | ( | 0. | 5, |
| Qt::black | ) |
| alphaGradient setColorAt | ( | 1. | 0, |
| Qt::transparent | ) |
| effect setOpacityMask | ( | alphaGradient | ) |
| QGraphicsOpacityEffect * effect = new QGraphicsOpacityEffect |
the effect attached to this item
Definition at line 43 of file src_gui_effects_qgraphicseffect.cpp.