Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Enumerations | Functions
GridCoordDisable.h File Reference
#include <QString>
Include dependency graph for GridCoordDisable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  GridCoordDisable { GRID_COORD_DISABLE_COUNT, GRID_COORD_DISABLE_START, GRID_COORD_DISABLE_STEP, GRID_COORD_DISABLE_STOP }
 

Functions

QString gridCoordDisableToString (GridCoordDisable gridCoordDisable)
 

Enumeration Type Documentation

Enumerator
GRID_COORD_DISABLE_COUNT 
GRID_COORD_DISABLE_START 
GRID_COORD_DISABLE_STEP 
GRID_COORD_DISABLE_STOP 

Definition at line 12 of file GridCoordDisable.h.

Function Documentation

QString gridCoordDisableToString ( GridCoordDisable  gridCoordDisable)

Definition at line 10 of file GridCoordDisable.cpp.

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 }