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

Go to the source code of this file.

Enumerations

enum  CoordUnitsNonPolarTheta {
  COORD_UNITS_NON_POLAR_THETA_NUMBER, COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS, COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW, COORD_UNITS_NON_POLAR_THETA_DATE_TIME,
  NUM_COORD_UNITS_NON_POLAR_THETA
}
 

Functions

QString coordUnitsNonPolarThetaToBriefType (CoordUnitsNonPolarTheta coordUnits)
 
QString coordUnitsNonPolarThetaToString (CoordUnitsNonPolarTheta coordUnits)
 

Enumeration Type Documentation

◆ CoordUnitsNonPolarTheta

Enumerator
COORD_UNITS_NON_POLAR_THETA_NUMBER 
COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS 
COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW 
COORD_UNITS_NON_POLAR_THETA_DATE_TIME 
NUM_COORD_UNITS_NON_POLAR_THETA 

Definition at line 13 of file CoordUnitsNonPolarTheta.h.

Function Documentation

◆ coordUnitsNonPolarThetaToBriefType()

QString coordUnitsNonPolarThetaToBriefType ( CoordUnitsNonPolarTheta  coordUnits)

Definition at line 11 of file CoordUnitsNonPolarTheta.cpp.

12 {
13  switch (coordUnits) {
14 
16  return QObject::tr ("Date Time");
17 
19  return QObject::tr ("Degrees");
20 
22  return QObject::tr ("Degrees");
23 
25  return QObject::tr ("Number");
26 
27  default:
28  return QObject::tr ("Unknown");
29  }
30 }

◆ coordUnitsNonPolarThetaToString()

QString coordUnitsNonPolarThetaToString ( CoordUnitsNonPolarTheta  coordUnits)

Definition at line 32 of file CoordUnitsNonPolarTheta.cpp.

33 {
34  switch (coordUnits) {
35 
37  return QObject::tr ("Date/Time");
38 
41 
44 
46  return QObject::tr ("Number");
47 
48  default:
49  return QObject::tr ("Unknown");
50  }
51 }
COORD_UNITS_NON_POLAR_THETA_DATE_TIME
Definition: CoordUnitsNonPolarTheta.h:20
POLAR_UNITS_DEGREES_MINUTES_SECONDS
const QString POLAR_UNITS_DEGREES_MINUTES_SECONDS
Definition: CoordSymbol.cpp:21
COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS
Definition: CoordUnitsNonPolarTheta.h:18
COORD_UNITS_NON_POLAR_THETA_NUMBER
Definition: CoordUnitsNonPolarTheta.h:17
NUM_COORD_UNITS_NON_POLAR_THETA
Definition: CoordUnitsNonPolarTheta.h:21
COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW
Definition: CoordUnitsNonPolarTheta.h:19
POLAR_UNITS_DEGREES_MINUTES_SECONDS_NSEW
const QString POLAR_UNITS_DEGREES_MINUTES_SECONDS_NSEW
Definition: CoordSymbol.cpp:24