Skip to content

Commit 14d1c2b

Browse files
refactor: split QtDriver into View and Controller to follow MVC model (TagStudioDev#935)
* fix: incorrect qt enum accesses * refactor: clean up main_window.py and reenable ruff checks for it * refactor: completely reorganise main_window.py * refactor: factor out regions into separate methods * refactor: move preview_panel to MainWindow * refactor: move file menu construction to MainMenuBar * refactor: move edit menu construction to MainMenuBar * refactor: move view menu construction to MainMenuBar * refactor: move tools menu construction to MainMenuBar * refactor: move macros menu construction to MainMenuBar * refactor: move help menu construction to MainMenuBar * refactor: move ui construction code out of QtDriver and into MainWindow * fix: remove unnecessary imports * fix: tests were failing
1 parent da18bd0 commit 14d1c2b

File tree

12 files changed

+819
-650
lines changed

12 files changed

+819
-650
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ reportUnknownMemberType = false
9797
reportUnusedCallResult = false
9898

9999
[tool.ruff]
100-
exclude = ["main_window.py", "home_ui.py", "resources.py", "resources_rc.py"]
100+
exclude = ["home_ui.py", "resources.py", "resources_rc.py"]
101101
line-length = 100
102102

103103
[tool.ruff.lint]

0 commit comments

Comments
 (0)