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

Add full/public theming support for QQC2 styles

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Component/s: Quick: Controls 2
    • Labels:
      None

      Description

      The following internal classes, that are used by the built-in styles, should be cleaned up and made public for 3rd party styles:

      • QQuickTheme: provides default fonts, palettes, etc. for styles
      • QQuickStylePlugin: lets styles provide a QQuickTheme implementation
      • QQuickAttachedObject: lets styles implement attached style objects with propagating attributes

      Setting explicit font and palette attributes in QML breaks font and palette inheritance. Without QQuickTheme, 3rd party styles are not able to provide default/implicit fonts and palettes.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-67062
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              jpnurmi J-P Nurmi
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: