33 void storeNewValue(
const QString &algName,
const QPair<QString, QString> &property);
36 void clearAlgorithmInput(
const QString &algName);
39 QString previousInput(
const QString &algName,
const QString &propName)
const;
43 void setPreviousDirectory(
const QString &lastdir);
47 const QString &getPreviousDirectory()
const;
53 void readSettings(
const QSettings &storage)
override;
56 void writeSettings(QSettings &storage)
const override;
#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()
Manage the lifetime of a class intended to be a singleton.
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...