Theme
The Theme element provides functionality to change the current theme. More...
Properties
- currentTheme : string
- error : string
Signals
- themeChanged() (preliminary)
Methods
- bool loadTheme(const QUrl & themeFile) (preliminary)
Detailed Description
Informs the application about the current theme file used through currentTheme property and notifies the items and application about successful theme change through themeChanged() signal. When error occurs during theme loading, it is reported through error property.
Property Documentation
The property contains the error, which occurred upon loading. The error is not cleared automatically and must be acknowledged after each operation.
Signal Documentation
This documentation is under development and is subject to change.
Emitted when the theme file gets loaded with success.
Method Documentation
This documentation is under development and is subject to change.
Loads a theme file from any location, and updates the currentTheme property on success. Any error messages are reported in the error property.