Mantid
Loading...
Searching...
No Matches
Configurable.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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
10
11class QSettings;
12
13namespace MantidQt {
14namespace MantidWidgets {
15
25public:
26 virtual ~Configurable() = default;
27 virtual void readSettings(const QSettings &) = 0;
28 virtual void writeSettings(QSettings &) const = 0;
29};
30} // namespace MantidWidgets
31} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
Defines an interface for an object to load and store any configuration settings that should persist b...
Definition: Configurable.h:24
virtual void readSettings(const QSettings &)=0
virtual void writeSettings(QSettings &) const =0
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...