Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20854

Add a palette editor for Qt Quick Controls 2

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Quick Designer
    • None

    Description

      One problem that I think might crop up with the palette property of Control (new in Qt 5.10) is knowing which palette role to use for which part of a control. Take button's text colour, for example:

      color: control.checked || control.highlighted ? control.palette.brightText :
                     control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText
      

      Having a palette editor (or adding a palette section to the property editor?) would make it easy for users to visually check how a certain palette property affects the visuals of a control.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes