Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
QSettingsHelper.h File Reference
#include "MantidQtWidgets/Common/QSettingsChangeAware.h"
#include <QMetaType>
#include <QSettings>
#include <QString>
#include <QVariant>
#include <map>
#include <string>
#include <typeinfo>

Go to the source code of this file.

Namespaces

namespace  MantidQt
 The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress bar for them, and a property list.
 
namespace  MantidQt::MantidWidgets
 
namespace  MantidQt::MantidWidgets::QSettingsHelper
 
namespace  MantidQt::MantidWidgets::QSettingsHelper::Detail
 

Functions

template<typename T >
T MantidQt::MantidWidgets::QSettingsHelper::getSetting (QSettings const &settings, std::string const &settingGroup, std::string const &settingName)
 Loads an individual setting from disk.
 
template<typename T >
T MantidQt::MantidWidgets::QSettingsHelper::getSetting (std::string const &settingGroup, std::string const &settingName)
 
template<typename T >
std::map< std::string, T > MantidQt::MantidWidgets::QSettingsHelper::getSettingsAsMap (QSettings const &settings, std::string const &settingGroup)
 Loads a map of settings with the same type.
 
template<typename T >
std::map< std::string, T > MantidQt::MantidWidgets::QSettingsHelper::getSettingsAsMap (std::string const &settingGroup)
 
QString MantidQt::MantidWidgets::QSettingsHelper::Detail::qualifiedName (std::string const &settingGroup, QString const &settingName)
 
template<typename T >
void MantidQt::MantidWidgets::QSettingsHelper::setSetting (QSettings &settings, std::string const &settingGroup, std::string const &settingName, T const &value)
 Sets the value of a specified setting.
 
template<typename T >
void MantidQt::MantidWidgets::QSettingsHelper::setSetting (std::string const &settingGroup, std::string const &settingName, T const &value)