gui_controller

Overview

This module implements the controller layer of the TNA graphical user interface.

It connects the Qt-based view with the data model and manages all user interactions, including:

  • data loading and visualisation

  • processing pipeline execution

  • parameter updates from the GUI

  • plot management using Matplotlib

The controller follows a model–view–controller (MVC)-like structure, where the TNAController acts as the central interface between user actions and data processing.

Contents

tna.gui.gui_signals.TNAController(view)

Controller class for the TNA GUI application.

tna.gui.gui_signals.safe_slot(func)

Decorator for safe execution of Qt slots.

tna.gui.gui_signals.reset_plot(fig, ax)

Resets a Matplotlib figure and creates a new axis.