Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QColor QColor::fromRgba ( QRgb  rgba  )  [static]

Static convenience function that returns a QColor constructed from the given QRgb value rgba.

Note that unlike the fromRgb() function, the alpha-channel specified by the given QRgb value is included.

See also:
fromRgb(), isValid()

Definition at line 1509 of file qcolor.cpp.

References fromRgb(), qAlpha(), qBlue(), qGreen(), and qRed().

Generated by  Doxygen 1.6.0   Back to index