How to get R G B values seperately from QColorDialog when a color is selected?
Unsolved
Mobile and Embedded
-
I want 3 int values of R G B from a selected color in QColorDialog.Please suggest
-
@kishore_hemmady
http://doc.qt.io/qt-5/qcolordialog.html#selectedColor returns a http://doc.qt.io/qt-5/qcolor.html. That has members like http://doc.qt.io/qt-5/qcolor.html#red to get the R, G & B elements individually as integers.