Graphics Reference
In-Depth Information
Note
Note that
setAlpha()
takes a floating point number between 0.0 and 1.0, while the
transparency of a
QColor
object, like the ones we used earlier, is specified using an al-
pha value between 0 and 255.