Skip to content

refactor: split QtDriver into View and Controller to follow MVC model #935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 23 commits into
base: Alpha-v9.5.3
Choose a base branch
from

Conversation

Computerdores
Copy link
Collaborator

@Computerdores Computerdores commented May 16, 2025

Summary

Splits the View aspects out of QtDriver into the existing Main Window class so that only the Control aspects remain.
This will reduce the size of ts_qt.py and should generally make the code more maintainable.

Note: This is based off of #933 as that PR also modifies ts_qt.py and merging afterwards would be a pain.
(which also means that atm the #933 commits show up in this PR as well)

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@Computerdores Computerdores added the Status: Blocked This issue or pull request is awaiting the outcome of another issue or pull request label May 16, 2025
@Computerdores Computerdores added the Type: Refactor Code that needs to be restructured or cleaned up label May 16, 2025
@Computerdores Computerdores moved this to 🚧 In progress in TagStudio Development May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Blocked This issue or pull request is awaiting the outcome of another issue or pull request Type: Refactor Code that needs to be restructured or cleaned up
Projects
Status: 🚧 In progress
Development

Successfully merging this pull request may close these issues.

1 participant