In MFC we have COLORREF value is used to specify an RGB color. I need the exact replacemnet for COLORREF using Qt. How to specify RGB color in Qt? Can you help me anyone... thanks in advance!!!
In MFC we have COLORREF value is used to specify an RGB color. I need the exact replacemnet for COLORREF using Qt. How to specify RGB color in Qt? Can you help me anyone... thanks in advance!!!
Greetings.
From Assistant:
"typedef QRgb
An ARGB quadruplet on the format #AARRGGBB, equivalent to an unsigned int.
Note that the type also holds a value for the alpha-channel. The default alpha channel is ff, i.e opaque. For more information, see the Alpha-Blended Drawing section.
See also QColor::rgb() and QColor::rgba()."
Basically check the description of the QColor class, the answer lies there.
krishbhala (20th December 2007)
Bookmarks