Mantid
Loading...
Searching...
No Matches
IMuonFitDataSelector.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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"
10#include <QString>
11#include <QStringList>
12#include <boost/optional/optional.hpp>
13
14namespace MantidQt {
15namespace MantidWidgets {
16
23public:
24 enum class FitType { Single, CoAdd, Simultaneous };
25 virtual ~IMuonFitDataSelector() = default;
26 virtual QStringList getFilenames() const = 0;
27 virtual double getStartTime() const = 0;
28 virtual double getEndTime() const = 0;
29 virtual QStringList getPeriodSelections() const = 0;
30 virtual void setWorkspaceDetails(const QString &runNumbers, const QString &instName,
31 const boost::optional<QString> &filePath) = 0;
32 virtual QStringList getChosenGroups() const = 0;
33 virtual void setStartTime(double start) = 0;
34 virtual void setEndTime(double end) = 0;
35 virtual void setStartTimeQuietly(double start) = 0;
36 virtual void setEndTimeQuietly(double end) = 0;
37 virtual FitType getFitType() const = 0;
38 virtual QString getInstrumentName() const = 0;
39 virtual QString getRuns() const = 0;
40 virtual QString getSimultaneousFitLabel() const = 0;
41 virtual void setSimultaneousFitLabel(const QString &label) = 0;
42 virtual int getDatasetIndex() const = 0;
43 virtual void setDatasetNames(const QStringList &datasetNames) = 0;
44 virtual QString getDatasetName() const = 0;
45 virtual bool askUserWhetherToOverwrite() = 0;
46};
47} // namespace MantidWidgets
48} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
virtual void setDatasetNames(const QStringList &datasetNames)=0
virtual void setSimultaneousFitLabel(const QString &label)=0
virtual QString getDatasetName() const =0
virtual QStringList getChosenGroups() const =0
virtual QStringList getPeriodSelections() const =0
virtual QString getSimultaneousFitLabel() const =0
virtual void setStartTimeQuietly(double start)=0
virtual void setEndTimeQuietly(double end)=0
virtual void setStartTime(double start)=0
virtual QString getInstrumentName() const =0
virtual QStringList getFilenames() const =0
virtual void setWorkspaceDetails(const QString &runNumbers, const QString &instName, const boost::optional< QString > &filePath)=0
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...