Engauge Digitizer
2
Loading...
Searching...
No Matches
Export
ExportPointsIntervalUnits.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 "
ExportPointsIntervalUnits.h
"
8
#include <QObject>
9
10
QString
exportPointsIntervalUnitsToString
(
ExportPointsIntervalUnits
exportPointsIntervalUnits)
11
{
12
QString rtn;
13
14
switch
(exportPointsIntervalUnits) {
15
case
EXPORT_POINTS_INTERVAL_UNITS_GRAPH
:
16
rtn = QObject::tr (
"Graph Units"
);
17
break
;
18
19
case
EXPORT_POINTS_INTERVAL_UNITS_SCREEN
:
20
rtn = QObject::tr (
"Pixels"
);
21
break
;
22
}
23
24
return
rtn;
25
}
exportPointsIntervalUnitsToString
QString exportPointsIntervalUnitsToString(ExportPointsIntervalUnits exportPointsIntervalUnits)
Definition
ExportPointsIntervalUnits.cpp:10
ExportPointsIntervalUnits.h
ExportPointsIntervalUnits
ExportPointsIntervalUnits
Definition
ExportPointsIntervalUnits.h:12
EXPORT_POINTS_INTERVAL_UNITS_GRAPH
@ EXPORT_POINTS_INTERVAL_UNITS_GRAPH
Definition
ExportPointsIntervalUnits.h:13
EXPORT_POINTS_INTERVAL_UNITS_SCREEN
@ EXPORT_POINTS_INTERVAL_UNITS_SCREEN
Definition
ExportPointsIntervalUnits.h:14
Generated on
for Engauge Digitizer by
1.14.0