Entirely rewrote title tree backend

Title trees are now model-based rather than item based. Coming with this is proper item metadata, so the data and UI are finally disconnected, making future development much easier. There are also some minor visual improvements as a result of using a TreeView instead of a TreeWidget.
vWii System Menus now have public versions defined in the database. Public version display code has also been entirely rewritten, as the version displayed in the interface and the version used by the code are no longer the same.
This commit is contained in:
2024-12-13 22:39:09 -05:00
parent c1eb80fbb6
commit 62fa5ef7b1
14 changed files with 638 additions and 602 deletions

View File

@@ -6,8 +6,8 @@ from dataclasses import dataclass
@dataclass
class SelectedTitle:
# Class to store all components of a selected title to make tracking it easier.
class TitleData:
# Class to store all data for a Title.
tid: str
name: str
archive_name: str
@@ -15,7 +15,6 @@ class SelectedTitle:
ticket: bool
region: str
category: str
console: str
danger: str