Experiment Browser
The main application browser: file tree, queue/preparation station/looper and MDI experiment windows.
Overview
quatm/GUI/browser/ provides the experiment browser (Browser): the main application window of
Quatm, built on QMainWindow + QMdiArea. The FileSelector on the left browses the experiment
scripts, the experiment queue, preparation station and looper are docked at the top, and each
experiment has its own ExperimentWindow sub-window in the central MDI area.
Core components
| Component | Module | Description |
|---|---|---|
Browser | browser/main_window.py | Main window: MDI + dock widgets + lifecycle |
FileSelector | browser/file_selector.py | Experiment file tree (double-click to open/simulate) |
ExperimentWindow | browser/experiment_window.py | Single-experiment control panel (parameters/submit/scan) |
ExperimentQueue / PrepStation | experiment/ | Queue and preparation station (docked at the top) |
Looper | looper/ | Conditional looper (docked at the top) |
Lifecycle
open_experiment: opens an experiment window; if it is already open, it is restored and brought to the front.closeEvent: saves the main-window geometry and the sub-window state, then stops the worker threads.moveEvent/resizeEvent: debounced saving of the geometry for restoration on the next start.
Usage
from quatm.GUI.browser.main_window import Browser
browser = Browser()
browser.show()
For a fuller description see Experiment browser.