refactor!: restructure qt layout, untangle from backend (#1095)

* refactor: untangle backend and frontend files

* refactor: more structure organizing

* refactor: rename silent_subprocess.py

* refactor: update qt ui structure to pure mvc + temporarily mixed

* refactor: pluralize MVC folders
This commit is contained in:
Travis Abendshien
2025-09-06 14:10:36 -07:00
committed by GitHub
parent fff967617b
commit f49cb4fade
110 changed files with 322 additions and 338 deletions

View File

@@ -21,11 +21,11 @@ As of writing this section, the QT part of the code base is quite unstructured a
The general structure of the QT code base should look like this:
```
qt
├── controller
├── controllers
│ ├── widgets
│ │ └── preview_panel_controller.py
│ └── main_window_controller.py
├── view
├── views
│ ├── widgets
│ │ └── preview_panel_view.py
│ └── main_window_view.py
@@ -33,7 +33,7 @@ qt
└── mixed.py
```
In this structure there are the `view` and `controller` sub-directories. They have the exact same structure and for every `<component>_view.py` there is a `<component>_controller.py` at the same location in the other subdirectory and vice versa.
In this structure there are the `views` and `controllers` sub-directories. They have the exact same structure and for every `<component>_view.py` there is a `<component>_controller.py` at the same location in the other subdirectory and vice versa.
Typically the classes should look like this:
```py