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

Material style colors

XMLWordPrintable

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

      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

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes