feat: implement controller interface

This commit is contained in:
2025-10-22 23:57:23 +02:00
parent bf1935fd7e
commit f91a4e8d61
2 changed files with 204 additions and 0 deletions

23
scripts/recorder.py Normal file
View File

@@ -0,0 +1,23 @@
from PyQt6.QtWidgets import QApplication
from src.recorder import RecorderWindow
def main():
import sys
def except_hook(cls, exception, traceback):
sys.__excepthook__(cls, exception, traceback)
sys.excepthook = except_hook
app = QApplication(sys.argv)
window = RecorderWindow("localhost", 5000)
app.aboutToQuit.connect(window.shutdown)
window.show()
app.exec()
if __name__ == "__main__":
main()