intellicrack.ui.resources.icon_manager
Icon management for Intellicrack UI.
Provides centralized icon loading with caching and fallback support.
- class IconManager[source]
Bases:
objectSingleton icon manager with caching and fallback support.
Provides centralized icon loading for the Intellicrack UI with performance optimization through caching and graceful degradation when icon files are not available.
- classmethod get_instance()[source]
Get the singleton instance of IconManager.
- Returns:
The IconManager singleton instance.
- Return type:
- classmethod reset_instance()[source]
Reset the singleton instance (primarily for testing).
- Return type:
None
- get_app_icon()[source]
Get the main application icon.
- Returns:
QIcon for the application window and taskbar.
- Return type:
QIcon
- get_status_icon(*, success)[source]
Get a status icon indicating success or failure.
- Parameters:
success (bool) – True for success icon, False for error icon.
- Returns:
Appropriate status icon.
- Return type:
QIcon