Hi all,
I need to pass the color value in hex format as (0XAARRGGBB) to my function.
Qcolor.name provides the result as #RRGGBB format as string value
Is there any way, i will get a hex format 0xAARRGGBB with Qcolor.
Regards,
Augus.
Hi all,
I need to pass the color value in hex format as (0XAARRGGBB) to my function.
Qcolor.name provides the result as #RRGGBB format as string value
Is there any way, i will get a hex format 0xAARRGGBB with Qcolor.
Regards,
Augus.
Hi, you can use QColor::rgba() and convert the QRgb to a string.
Ginsengelf
augusbas (27th January 2011)
Use QColor::name (). s. docu :-)
Bookmarks