Extension qnx.theme

qnx.theme

Manages theming

Methods

getActive

Return the current theme
Returns:
The current theme ID
Type
  • String

getList

Return a list of available themes
Returns:
A list of available themes
Type
  • Object
Example
{
    "default":  {
        "ppsName": "default",
        "title": "Default",
        "themePackageName": "default",
        "packageDate": "2012-04-23"
                },
    "jeep":     {
        "ppsName": "jeep",
        "title": "Jeep Theme",
        "themePackageName": "jeep",
        "packageDate": "2012-04-13"
                }
}

getStylesheetFullPath

Return the file path of the master stylesheet of the application relative to platform
Returns:
File path of the master stylesheet of the application
Type
  • String

setActive

Set the current theme
Parameters:
Name Type Description
theme String The new theme ID