2024-12-20 18:02:59 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
import sys
|
|
|
|
from PyQt6.QtWidgets import QApplication
|
2024-12-21 16:07:27 +01:00
|
|
|
from wobuzz.player.player import Player
|
2024-12-21 19:00:06 +01:00
|
|
|
from gui import GUI
|
|
|
|
from gui_communication import GUICommunication
|
2024-12-20 18:02:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
class Wobuzz:
|
|
|
|
def __init__(self):
|
2024-12-21 16:07:27 +01:00
|
|
|
self.qt_app = QApplication([])
|
2024-12-20 18:02:59 +01:00
|
|
|
|
2024-12-21 19:00:06 +01:00
|
|
|
self.player = Player(self, sys.argv[1:])
|
2024-12-21 16:07:27 +01:00
|
|
|
self.gui = GUI(self)
|
2024-12-21 19:00:06 +01:00
|
|
|
self.gui_communication = GUICommunication(self)
|
2024-12-20 18:02:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
wobuzz = Wobuzz()
|
|
|
|
sys.exit(wobuzz.qt_app.exec())
|