Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12
-
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
- is duplicated by
-
QTBUG-90733 Provide public API to change theme
- Withdrawn
- is required for
-
QTBUG-73933 QQC2 plugin does not load static style plugins
- Closed
- relates to
-
QTBUG-68087 Can't specify font for custom style
- Open
-
QTBUG-99117 Custom style names not added to file selectors
- Closed
-
QTBUG-86355 Consider allowing initialisation of many themes
- Open
-
QTBUG-73944 Make QQuickControl public
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-67062 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
230149,2 | Make QtQuickTemplates2 a public library | dev | qt/qtquickcontrols2 | Status: NEW | 0 | 0 |
230405,1 | WIP: Docs for QtQuickTemplates2 | dev | qt/qtquickcontrols2 | Status: NEW | -2 | 0 |