Details
-
Sub-task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
36767e3fe1f0038441ae06ef5b5e1cb19a3738fa
Description
Expose R,G,B, and A values in QML so they can be read individually. Currently there are ways to construct a color object in QML from rgba or hsv values, but no predefined ways to read the individual color components.
This shows up when you write a standard "color picker" component to allow the user to modify a color.
Attachments
For Gerrit Dashboard: QTBUG-14731 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
1636,8 | Add support for comparing value-type properties | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
2527,1 | Make QColor a value type | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |