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 |
222671,5 | WIP: Add QQuickTheme::Scope | dev | qt/qtquickcontrols2 | Status: ABANDONED | -2 | 0 |
223169,7 | QQuickTheme: add missing fonts and palettes | dev | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |
223177,3 | QQuickTheme: cleanup the API | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
223202,4 | Add QQuickTheme::Scope | dev | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |
223350,5 | QQuickStyle: add API for managing style paths | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
229105,2 | Add QQmlDirParser::className() | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
229114,11 | Create and init QQuickTheme from QtQuickControls2Plugin | dev | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |
229115,7 | QQuickStylePlugin: use pimpl | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
229586,3 | QQuickTheme: add setters to make getters non-virtual | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
229674,2 | QQuickAttachedObject: use pimpl | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
229676,3 | QQuickAttachedObject: don't require calling init() from subclasses | dev | qt/qtquickcontrols2 | Status: ABANDONED | -1 | 0 |