ThemeHandler#

class ansys.aedt.toolkits.common.ui.utils.themes.json_themes.ThemeHandler[source]#

A class for managing themes in a PySide6 desktop application.

This class handles the loading, exporting, and management of themes used in the application.

Examples

>>> theme_handler = ThemeHandler()
>>> theme_handler.export_theme()

Methods

ThemeHandler.export_theme()

Export the current theme to the theme file.

ThemeHandler.read_theme()

Read and load theme settings from the theme file.