17 const QString &defaultName)
const 22 settings.beginGroup (groupName);
25 defaultName).toString();
38 QString::number (indexOneBased));
45 const QString EMPTY_CURVE_NAME;
48 int indexOneBased = 1;
49 while (
defaultCurveName (indexOneBased + 1, EMPTY_CURVE_NAME) != EMPTY_CURVE_NAME) {
const QString SETTINGS_DIGITIZER
const QString SETTINGS_ENGAUGE
SettingsForGraph()
Single constructor.
int numberOfCurvesForImport() const
Return the number of curve names to be generated. Value is maximum of 1 and the number in the configu...
const QString SETTINGS_GROUP_CURVE_GRAPH_PLACEHOLDER
const QString SETTINGS_CURVE_NAME
QString groupNameForNthCurve(int indexOneBased) const
Return the group name, that appears in the settings file/registry, for the specified curve index.
const QString SETTINGS_GROUP_CURVE_GRAPH
QString defaultCurveName(int indexOneBased, const QString &defaultName) const
Default graph name for the specified curve index.
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS) define ENGAUGE...