From e417e4fd37adcdf42f7b67fff0153c46eff4dbda Mon Sep 17 00:00:00 2001 From: Conor Finn <conor.finn@stfc.ac.uk> Date: Thu, 30 Jan 2020 14:43:57 +0000 Subject: [PATCH] RE #27777 Add main fitting tab presenter --- .../tabs/fitting/presenter.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/Engineering/gui/engineering_diffraction/tabs/fitting/presenter.py diff --git a/scripts/Engineering/gui/engineering_diffraction/tabs/fitting/presenter.py b/scripts/Engineering/gui/engineering_diffraction/tabs/fitting/presenter.py new file mode 100644 index 00000000000..a52ce0f7e76 --- /dev/null +++ b/scripts/Engineering/gui/engineering_diffraction/tabs/fitting/presenter.py @@ -0,0 +1,15 @@ +# Mantid Repository : https://github.com/mantidproject/mantid +# +# Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI, +# NScD Oak Ridge National Laboratory, European Spallation Source +# & Institut Laue - Langevin +# SPDX - License - Identifier: GPL - 3.0 + + +from Engineering.gui.engineering_diffraction.tabs.fitting.data_handling.data_widget import FittingDataWidget + + +class FittingPresenter(object): + def __init__(self, view): + self.view = view + + self.data_widget = FittingDataWidget(self.view, view=self.view.get_data_widget()) -- GitLab