UI-Zustand beim Schließen speichern und beim Start wiederherstellen

Fenstergeometrie, Splitter-Positionen und TreeWidget-Spaltenbreiten werden jetzt in der Konfiguration gespeichert und beim nächsten Start automatisch wiederhergestellt.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-15 20:07:53 +01:00
parent e409f38da2
commit 1fc7decace
2 changed files with 48 additions and 0 deletions
+5
View File
@@ -141,6 +141,11 @@ class AppSettings(BaseSettings):
postgresql_dbs: list[PostgreSqlDb] = []
theme: str | None = None
# UI-Zustand
window_geometry: tuple[int, int, int, int] | None = None # (x, y, width, height)
splitter_sizes: list[int] | None = None # Splitter-Positionen
tree_column_widths: list[int] | None = None # TreeWidget-Spaltenbreiten
model_config = SettingsConfigDict(json_file=config_path)
@classmethod