mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00

Splits the monolithic GUI logic into modular components, improving maintainability. Introduces `RunTab`, `ResultsTable`, and utility modules for better separation of concerns and reusability. Adjusts main entry point and refactors core functionalities to align with the new structure.
14 lines
241 B
Python
14 lines
241 B
Python
from PyQt5.QtCore import QObject, pyqtSignal
|
|
|
|
|
|
class Stream(QObject):
|
|
"""Redirect script output to GUI"""
|
|
|
|
newText = pyqtSignal(str)
|
|
|
|
def write(self, text):
|
|
self.newText.emit(str(text))
|
|
|
|
def flush(self):
|
|
pass
|