forked from Wobbl/Wobuzz
Added settings and implemented restoring of window size.
This commit is contained in:
parent
99934e73b7
commit
6aae95c865
6 changed files with 36 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
import sys
|
||||
from PyQt6.QtWidgets import QApplication
|
||||
from wobbl_tools.data_file import load_dataclass_json
|
||||
from settings import Settings
|
||||
from utils import Utils
|
||||
from player.player import Player
|
||||
from gui import GUI
|
||||
|
@ -13,6 +15,7 @@ class Wobuzz:
|
|||
self.qt_app = QApplication([])
|
||||
|
||||
self.utils = Utils(self)
|
||||
self.settings = load_dataclass_json(Settings, self.utils.settings_location)
|
||||
self.player = Player(self)
|
||||
self.gui = GUI(self)
|
||||
self.gui_communication = GUICommunication(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue