Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-62870

Material style colors

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.9.1
    • Quick: Controls 2
    • None

    Description

      Via Material.primary/Material.accent etc. user can get current RGB color value, but there is no way to get color/shade enum values.

      That may provided by Material.primaryColor, Material.primaryShade or overloaded Material.color attached method which returns pair of code/shade enum-values

      Material.color(RGB_color_value)->Pair {Color_enumeration; Shade_enumeration}

       

      Here is an related question on stackoverflow: https://stackoverflow.com/questions/44620532/how-to-get-the-material-style-primary-color-enum-value

       

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              morte Maxim Bescherevnykh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes