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