refactor: use UI file for main window

- main window now use UI file for layout.
- remove all manual computed widget position code. use full Qt layout implementation instead.
- remove useless functions in main window
- change style changed slot as private
This commit is contained in:
yyc12345 committed 2026-07-24 14:57:41 +08:00
1 parent bd35a8c3e0
commit aa13355966
9 files changed
+305 -168

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ public:
public slots:
void updateMainViewportRegion();
private slots:
void updateStyle(Qt::ColorScheme colorScheme);
private: