Mantid
Loading...
Searching...
No Matches
IFitScriptGeneratorPresenter.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "DllOption.h"
13
14#include <string>
15#include <vector>
16
17namespace MantidQt {
18namespace MantidWidgets {
19
21
23public:
24 virtual ~IFitScriptGeneratorPresenter() = default;
25
26 virtual void notifyPresenter(ViewEvent const &event, [[maybe_unused]] std::string const &arg1 = "",
27 [[maybe_unused]] std::string const &arg2 = "") = 0;
28 virtual void notifyPresenter(ViewEvent const &event, std::vector<std::string> const &vec) = 0;
29 virtual void notifyPresenter(ViewEvent const &event, FittingMode fittingMode) = 0;
30
31 virtual void openFitScriptGenerator() = 0;
32
33 virtual void setGlobalTies(std::vector<MantidQt::MantidWidgets::GlobalTie> const &globalTies) = 0;
34 virtual void setGlobalParameters(std::vector<MantidQt::MantidWidgets::GlobalParameter> const &globalParameters) = 0;
35};
36
37} // namespace MantidWidgets
38} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
virtual void setGlobalTies(std::vector< MantidQt::MantidWidgets::GlobalTie > const &globalTies)=0
virtual void notifyPresenter(ViewEvent const &event, std::vector< std::string > const &vec)=0
virtual void notifyPresenter(ViewEvent const &event, FittingMode fittingMode)=0
virtual void setGlobalParameters(std::vector< MantidQt::MantidWidgets::GlobalParameter > const &globalParameters)=0
virtual void notifyPresenter(ViewEvent const &event, std::string const &arg1="", std::string const &arg2="")=0
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...