##// END OF EJS Templates
Updates AMDA JSON file to handle spectrograms...
Updates AMDA JSON file to handle spectrograms - Sets "dataType" attribute to "spectrogram" for all products that have the "display_type" attribute set to "spectrogram" - Adds "server" attribute to spectrograms products to indicate that the server to use for these is the Amda test server

File last commit:

r533:aa387fab3c40
r983:131dd68d9046
Show More
SqpSettingsDefs.cpp
18 lines | 637 B | text/x-c | CppLexer
#include "Settings/SqpSettingsDefs.h"
#include <QSettings>
/// Gets a tolerance value from application settings. If the setting can't be found, the default
/// value passed in parameter is returned
double SqpSettings::toleranceValue(const QString &key, double defaultValue) noexcept
{
return QSettings{}.value(key, defaultValue).toDouble();
}
const QString GENERAL_TOLERANCE_AT_INIT_KEY = QStringLiteral("toleranceInit");
const double GENERAL_TOLERANCE_AT_INIT_DEFAULT_VALUE = 0.2;
const QString GENERAL_TOLERANCE_AT_UPDATE_KEY = QStringLiteral("toleranceUpdate");
const double GENERAL_TOLERANCE_AT_UPDATE_DEFAULT_VALUE = 0.2;