s6.app._guiΒΆ

class s6.app._gui.QTextEditLogger(widget: PyQt6.QtWidgets.QPlainTextEdit)

Bases: Handler

emit(record)

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

class s6.app._gui.MainWindow(*args: Any, **kwargs: Any)

Bases: QMainWindow

show_canvas(data_source: Queue)

Starts the canvas display and update loop. :param data_source: A Queue that provides context updates.

connect(data_source: Queue)

Public method to connect a data source (Queue) and start the canvas.

eventFilter(obj, event)

Keep red-border overlay aligned when the target resizes/moves.

toggle_play()
toggle_pause()
toggle_backward()
toggle_forward()
toggle_stop()
slider_value_change(frame_number)
update_current_frame(n: int)
set_total_frames(total: int)