Settings¶
Settings handling for GUI.
Classes:
| Name | Description |
|---|---|
ProfileManager |
Class for managing GUI profiles. |
ProfileManager()
dataclass
¶
Class for managing GUI profiles.
Methods:
| Name | Description |
|---|---|
set_current |
Set the current profile name. |
save_profile |
Recursively save settings for all child widgets. |
open_profile |
Recursively load settings for all child widgets. |
get_current_profile_parent |
Get the parent directory of the current profile. |
set_current(profile: str) -> None
¶
Set the current profile name.
save_profile(parent: QWidget) -> None
¶
Recursively save settings for all child widgets.
open_profile(parent: QWidget) -> None
¶
Recursively load settings for all child widgets.
get_current_profile_parent() -> str
¶
Get the parent directory of the current profile.