Engauge Digitizer
2
Settings
SettingsForGraph.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#ifndef SETTINGS_FOR_GRAPH_H
8
#define SETTINGS_FOR_GRAPH_H
9
10
#include <QString>
11
13
class
SettingsForGraph
14
{
15
public
:
17
SettingsForGraph
();
18
20
QString
defaultCurveName
(
int
indexOneBased,
21
const
QString &defaultName)
const
;
22
24
QString
groupNameForNthCurve
(
int
indexOneBased)
const
;
25
27
int
numberOfCurvesForImport
()
const
;
28
};
29
30
#endif // SETTINGS_FOR_GRAPH_H
SettingsForGraph
Manage storage and retrieval of the settings for the curves.
Definition:
SettingsForGraph.h:12
SettingsForGraph::defaultCurveName
QString defaultCurveName(int indexOneBased, const QString &defaultName) const
Default graph name for the specified curve index.
Definition:
SettingsForGraph.cpp:16
SettingsForGraph::SettingsForGraph
SettingsForGraph()
Single constructor.
Definition:
SettingsForGraph.cpp:12
SettingsForGraph::groupNameForNthCurve
QString groupNameForNthCurve(int indexOneBased) const
Return the group name, that appears in the settings file/registry, for the specified curve index.
Definition:
SettingsForGraph.cpp:32
SettingsForGraph::numberOfCurvesForImport
int numberOfCurvesForImport() const
Return the number of curve names to be generated. Value is maximum of 1 and the number in the configu...
Definition:
SettingsForGraph.cpp:43
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16