Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
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
9
#include "
MantidQtWidgets/Common/DllOption.h
"
10
11
class
QSettings;
12
13
namespace
MantidQt
{
14
namespace
MantidWidgets {
15
24
class
EXPORT_OPT_MANTIDQT_COMMON
Configurable
{
25
public
:
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
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
MantidQt::MantidWidgets::Configurable
Defines an interface for an object to load and store any configuration settings that should persist b...
Definition:
Configurable.h:24
MantidQt::MantidWidgets::Configurable::readSettings
virtual void readSettings(const QSettings &)=0
MantidQt::MantidWidgets::Configurable::writeSettings
virtual void writeSettings(QSettings &) const =0
MantidQt::MantidWidgets::Configurable::~Configurable
virtual ~Configurable()=default
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition:
AddWorkspaceDialog.h:20
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5