partial reconstruction from qwt to manual plotting

This commit is contained in:
Jan Käberich 2020-11-22 00:41:42 +01:00
parent ef97d54913
commit 25196fbc30
17 changed files with 822 additions and 371 deletions

View file

@ -3,12 +3,11 @@
#include <QString>
class Unit
namespace Unit
{
public:
static double FromString(QString string, QString unit = QString(), QString prefixes = " ");
static QString ToString(double value, QString unit = QString(), QString prefixes = " ", int precision = 6);
static double SIPrefixToFactor(char prefix);
double FromString(QString string, QString unit = QString(), QString prefixes = " ");
QString ToString(double value, QString unit = QString(), QString prefixes = " ", int precision = 6);
double SIPrefixToFactor(char prefix);
};
#endif // UNIT_H