foxsi / GSE-FOXSI-4

GSE for calibration and flight operation of FOXSI-4
Other
0 stars 1 forks source link

Settings improvements #12

Open thanasipantazides opened 1 year ago

thanasipantazides commented 1 year ago

Improvements for Settings functionality

thanasipantazides commented 1 year ago

Need to be careful that SystemConfiguration is init'ed only once, then passed as reference to all others. Maybe need to structure application startup process.

thanasipantazides commented 1 year ago

Control flows like this:

flowchart TD

QMainWindow -- inits --> DetectorGridDisplay
QMainWindow -- inits --> FormatterInterface
QMainWindow -- inits --> SystemConfiguration
DetectorGridDisplay -- inits --> DetectorBackend
SystemConfiguration -- arg --> DetectorBackend
FormatterInterface -- arg --> DetectorBackend
SystemConfiguration -- arg --> SettingsPanel
SettingsPanel -- inits --> SettingsDialog
SettingsDialog -- modifies --> SystemConfiguration
DetectorBackend -- arg --> DetectorView