31 lines
808 B
Python
31 lines
808 B
Python
"""
|
|
Configuration management for the Cluster4NPU UI application.
|
|
|
|
This module provides centralized configuration management including themes,
|
|
settings, user preferences, and application state persistence.
|
|
|
|
Available Components:
|
|
- theme: QSS styling and color constants
|
|
- settings: Application settings and preferences management
|
|
|
|
Usage:
|
|
from cluster4npu_ui.config import apply_theme, get_settings
|
|
|
|
# Apply theme to application
|
|
apply_theme(app)
|
|
|
|
# Access settings
|
|
settings = get_settings()
|
|
recent_files = settings.get_recent_files()
|
|
"""
|
|
|
|
from .theme import apply_theme, Colors, HARMONIOUS_THEME_STYLESHEET
|
|
from .settings import get_settings, Settings
|
|
|
|
__all__ = [
|
|
"apply_theme",
|
|
"Colors",
|
|
"HARMONIOUS_THEME_STYLESHEET",
|
|
"get_settings",
|
|
"Settings"
|
|
] |