|
open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Helpers for determining whether currently a bright or dark theme is applied, and for retrieving icons fitting the current theme. More...
Functions | |
| iAcharts_API bool | brightMode () |
| whether we are currently in bright mode | |
| iAcharts_API QIcon | icon (QString const &name) |
| Retrieve an icon for a given name from the embedded resources. | |
| iAcharts_API void | setBrightMode (bool enabled) |
| set bright mode (enabled=true) or dark mode (enabled=false) | |
Helpers for determining whether currently a bright or dark theme is applied, and for retrieving icons fitting the current theme.
| bool iAThemeHelper::brightMode | ( | ) |
whether we are currently in bright mode
| QIcon iAThemeHelper::icon | ( | QString const & | name | ) |
Retrieve an icon for a given name from the embedded resources.
The retrieved icon can be in the resources of any currently loaded program parts (core libs, modules)
| void iAThemeHelper::setBrightMode | ( | bool | enabled | ) |
set bright mode (enabled=true) or dark mode (enabled=false)
| enabled | whether we are switching to bright mode (true) or dark mode (false) |