1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 04:02:09 +01:00
GPXSee/src/GUI/format.h

24 lines
415 B
C
Raw Normal View History

2016-11-02 17:35:26 +01:00
#ifndef FORMAT_H
#define FORMAT_H
#include <QString>
#include "units.h"
class Coordinates;
enum CoordinatesFormat {
DecimalDegrees,
DegreesMinutes,
DMS
};
2016-11-02 17:35:26 +01:00
namespace Format
{
2017-09-29 11:43:09 +02:00
QString timeSpan(qreal time, bool full = true);
2016-11-02 17:35:26 +01:00
QString distance(qreal value, Units units);
QString elevation(qreal value, Units units);
QString coordinates(const Coordinates &value, CoordinatesFormat type);
2016-11-02 17:35:26 +01:00
}
#endif // FORMAT_H