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

      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

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

              Created:
              Updated:

                There are no open Gerrit changes