27 [[nodiscard]] InputHistory
const &lastInput()
const;
28 [[nodiscard]] QString
const &previousDirectory()
const;
48 void storeNewValue(
const QString &algName,
const std::pair<QString, QString> &property);
51 void clearAlgorithmInput(
const QString &algName);
54 QString previousInput(
const QString &algName,
const QString &propName)
const;
58 void setPreviousDirectory(
const QString &lastdir);
62 const QString &getPreviousDirectory()
const;
82 void initializeSettings();
#define EXPORT_OPT_MANTIDQT_COMMON
#define EXTERN_MANTIDQT_COMMON
This abstract class deals with the loading and saving of previous algorithm property values to/from M...
AbstractAlgorithmInputHistory & operator=(const AbstractAlgorithmInputHistory &)=delete
QHash< QString, QHash< QString, QString > > m_lastInput
A map indexing the algorithm name and a list of property name:value pairs.
QString m_previousDirectory
The directory that last used by an open file dialog.
QString m_algorithmsGroup
The string denoting the group (in the QSettings) where the algorithm properties are stored.
QString m_dirKey
The string denoting the key for the previous dir storage.
AbstractAlgorithmInputHistory(const AbstractAlgorithmInputHistory &)=delete
AlgorithmInputHistoryImpl()
QString m_previousDirectory
Manage the lifetime of a class intended to be a singleton.
Mantid::Kernel::SingletonHolder< AlgorithmInputHistoryImpl > AlgorithmInputHistory
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Helper class which provides the Collimation Length for SANS instruments.
Policy class controlling creation of the singleton Implementation classes should mark their default c...