Engauge Digitizer  2
Enumerations | Functions
CoordScale.h File Reference
#include <QString>
Include dependency graph for CoordScale.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CoordScale { COORD_SCALE_LINEAR, COORD_SCALE_LOG }
 

Functions

QString coordScaleToString (CoordScale coordScale)
 

Enumeration Type Documentation

◆ CoordScale

enum CoordScale
Enumerator
COORD_SCALE_LINEAR 
COORD_SCALE_LOG 

Definition at line 12 of file CoordScale.h.

Function Documentation

◆ coordScaleToString()

QString coordScaleToString ( CoordScale  coordScale)

Definition at line 9 of file CoordScale.cpp.

10 {
11  QString rtn;
12 
13  switch (coordScale) {
14  case COORD_SCALE_LINEAR:
15  rtn ="Linear";
16  break;
17 
18  case COORD_SCALE_LOG:
19  rtn = "Log";
20  break;
21  }
22 
23  return rtn;
24 }