Some refactor

This commit is contained in:
Agel committed 2026-04-08 14:01:03 +02:00
1 parent 7ecb7f4f4f
commit 9280c838b2
37 files changed
+1599 -981

No files matched your search

+1 -1
View File
@@ -269,4 +269,4 @@ All colors are defined in `src/qml/Theme.qml` (a QML singleton registered via `q
- `QSettings` for persistent state
- Qt naming: `camelCase` properties/methods, `PascalCase` QML component names
- `Q_INVOKABLE` for QML-callable methods; signals for C++→QML notifications
- **Never use timers to wait for state to settle** — always use signals (`onRunningChanged`, `onCompleted`, etc.) or direct synchronous calls. Timeouts are fragile and mask real sequencing problems.
- QT needs a moment to settle (otherwise there's a noticeable all-white window flash), so the main window MUST be opened with opacity 0 and then on timer ticked to 1 and continue initializing.