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

    • 36767e3fe1f0038441ae06ef5b5e1cb19a3738fa

      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.

        For Gerrit Dashboard: QTBUG-14731
        # Subject Branch Project Status CR V

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes