PC Application: partial firmware update dialog

This commit is contained in:
Jan Käberich 2020-08-30 22:03:41 +02:00
parent 8c8749accd
commit 07ba714f1f
134 changed files with 13954 additions and 7 deletions

View file

@ -0,0 +1,14 @@
#ifndef UNIT_H
#define UNIT_H
#include <QString>
class 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);
};
#endif // UNIT_H