Engauge Digitizer
2
Curve
CurveConnectAs.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 "
CurveConnectAs.h
"
8
#include <QObject>
9
10
QString
curveConnectAsToString
(
CurveConnectAs
curveConnectAs)
11
{
12
QString rtn;
13
14
switch
(curveConnectAs) {
15
16
case
CONNECT_AS_FUNCTION_SMOOTH
:
17
rtn = QObject::tr (
"FunctionSmooth"
);
18
break
;
19
20
case
CONNECT_AS_FUNCTION_STRAIGHT
:
21
rtn = QObject::tr (
"FunctionStraight"
);
22
break
;
23
24
case
CONNECT_AS_RELATION_SMOOTH
:
25
rtn = QObject::tr (
"RelationSmooth"
);
26
break
;
27
28
case
CONNECT_AS_RELATION_STRAIGHT
:
29
rtn = QObject::tr (
"RelationStraight"
);
30
break
;
31
32
case
CONNECT_SKIP_FOR_AXIS_CURVE
:
33
rtn = QObject::tr (
"ConnectSkipForAxisCurve"
);
34
break
;
35
}
36
37
return
rtn;
38
}
CONNECT_AS_FUNCTION_SMOOTH
Definition:
CurveConnectAs.h:13
CONNECT_SKIP_FOR_AXIS_CURVE
Definition:
CurveConnectAs.h:17
CONNECT_AS_RELATION_SMOOTH
Definition:
CurveConnectAs.h:15
CONNECT_AS_FUNCTION_STRAIGHT
Definition:
CurveConnectAs.h:14
CurveConnectAs
CurveConnectAs
Definition:
CurveConnectAs.h:12
curveConnectAsToString
QString curveConnectAsToString(CurveConnectAs curveConnectAs)
Definition:
CurveConnectAs.cpp:10
CurveConnectAs.h
CONNECT_AS_RELATION_STRAIGHT
Definition:
CurveConnectAs.h:16
Generated on Sun Feb 2 2020 09:34:52 for Engauge Digitizer by
1.8.14