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

QML SystemPalette API should have parity with QML ColorGroup API and C++ QPalette API

    XMLWordPrintable

Details

    Description

      SystemPalette vs QPalette

      Compare https://doc.qt.io/qt-6/qml-qtquick-systempalette.html#properties with https://doc.qt.io/qt-6/qpalette.html#ColorRole-enum

      Several C++ ColorRoles are not accessible from QML:

      • QPalette::ToolTipBase
      • QPalette::ToolTipText
      • QPalette::BrightText
      • QPalette::Link
      • QPalette::LinkVisited

       

      SystemPalette vs ColorGroup

      Compare https://doc.qt.io/qt-6/qml-qtquick-systempalette.html#properties with https://doc.qt.io/qt-6/qml-qtquick-colorgroup.html#properties

      The C++ ColorRoles that are missing from SystemPalette are all present in ColorGroup

      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
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes