Engauge Digitizer 2
Loading...
Searching...
No Matches
GridCoordDisable.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 "GridCoordDisable.h"
8#include <QObject>
9
11{
12 QString rtn;
13
14 switch (gridCoordDisable) {
16 rtn = QObject::tr ("Count");
17 break;
18
20 rtn = QObject::tr ("Start");
21 break;
22
24 rtn = QObject::tr ("Step");
25 break;
26
28 rtn = QObject::tr ("Stop");
29 break;
30 }
31
32 return rtn;
33}
QString gridCoordDisableToString(GridCoordDisable gridCoordDisable)
GridCoordDisable
@ GRID_COORD_DISABLE_STOP
@ GRID_COORD_DISABLE_START
@ GRID_COORD_DISABLE_STEP
@ GRID_COORD_DISABLE_COUNT