2024-12-21 19:00:06 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
2024-12-22 19:42:48 +01:00
|
|
|
from .track_control import TrackControl
|
2024-12-21 19:00:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
class GUICommunication:
|
2024-12-21 20:50:09 +01:00
|
|
|
"""
|
|
|
|
Class handling events that are a bit more complex.
|
|
|
|
"""
|
|
|
|
|
2024-12-21 19:00:06 +01:00
|
|
|
def __init__(self, app):
|
|
|
|
self.app = app
|
2024-12-21 20:20:06 +01:00
|
|
|
|
2024-12-22 19:42:48 +01:00
|
|
|
self.track_control = TrackControl(self.app)
|
2024-12-21 20:20:06 +01:00
|
|
|
|
|
|
|
self.connect()
|
2024-12-21 19:00:06 +01:00
|
|
|
|
2024-12-21 20:20:06 +01:00
|
|
|
def connect(self):
|
2024-12-22 19:42:48 +01:00
|
|
|
pass
|
2024-12-21 20:20:06 +01:00
|
|
|
|
2024-12-21 19:00:06 +01:00
|
|
|
def on_track_start(self):
|
2024-12-22 19:42:48 +01:00
|
|
|
self.track_control.on_track_start()
|
2024-12-21 19:00:06 +01:00
|
|
|
|