Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-19212 Improved value type support in QML
  3. QTBUG-14731

Expose individual color values in QColor to QML

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            andyc Andrew Christian (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes