RE #27779 Implement observer between tab widgets
Observer pattern uses has the data widget as an observable that sends the plotting widget the workspaces to add or remove from the plot when the 3rd column in the table is ticked and unticked respectively. The pattern also handles the removal of indiviual workspaces or the clearing of all tracked workspaces.
Showing
- scripts/Engineering/gui/engineering_diffraction/tabs/fitting/data_handling/data_presenter.py 20 additions, 2 deletions..._diffraction/tabs/fitting/data_handling/data_presenter.py
- scripts/Engineering/gui/engineering_diffraction/tabs/fitting/data_handling/data_view.py 3 additions, 0 deletions...ering_diffraction/tabs/fitting/data_handling/data_view.py
- scripts/Engineering/gui/engineering_diffraction/tabs/fitting/data_handling/test/test_data_presenter.py 62 additions, 2 deletions...on/tabs/fitting/data_handling/test/test_data_presenter.py
- scripts/Engineering/gui/engineering_diffraction/tabs/fitting/presenter.py 7 additions, 0 deletions...ing/gui/engineering_diffraction/tabs/fitting/presenter.py
Please register or sign in to comment