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) {
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT.
const QString SETTINGS_ENGAUGE
const QString SETTINGS_GROUP_CURVE_GRAPH
const QString SETTINGS_GROUP_CURVE_GRAPH_PLACEHOLDER
const QString SETTINGS_DIGITIZER
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.
QString defaultCurveName(int indexOneBased, const QString &defaultName) const
Default graph name for the specified curve index.
int numberOfCurvesForImport() const
Return the number of curve names to be generated. Value is maximum of 1 and the number in the configu...
SettingsForGraph()
Single constructor.