Engauge Digitizer 2
Loading...
Searching...
No Matches
ExportPointsSelectionFunctions.cpp
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
8#include <QObject>
9
11{
12 QString rtn;
13
14 switch (exportPointsSelectionFunctions) {
16 rtn = QObject::tr ("InterpolateAllCurves");
17 break;
18
20 rtn = QObject::tr ("InterpolateFirstCurve");
21 break;
22
24 rtn = QObject::tr ("InterpolatePeriodic");
25 break;
26
28 rtn = QObject::tr ("Raw");
29 break;
30
31 default:
32 rtn = QObject::tr ("Unknown");
33 break;
34 }
35
36 return rtn;
37}
QString exportPointsSelectionFunctionsToString(ExportPointsSelectionFunctions exportPointsSelectionFunctions)
@ EXPORT_POINTS_SELECTION_FUNCTIONS_RAW
@ EXPORT_POINTS_SELECTION_FUNCTIONS_INTERPOLATE_FIRST_CURVE
@ EXPORT_POINTS_SELECTION_FUNCTIONS_INTERPOLATE_PERIODIC
@ EXPORT_POINTS_SELECTION_FUNCTIONS_INTERPOLATE_ALL_CURVES