mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 14:35:23 +00:00
PC Application: partial firmware update dialog
This commit is contained in:
parent
8c8749accd
commit
07ba714f1f
134 changed files with 13954 additions and 7 deletions
14
Software/PC_Application/unit.h
Normal file
14
Software/PC_Application/unit.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue