11#include <qqmlregistration.h>
13#include "formatter_export.h"
17FORMATTER_EXPORT Q_NAMESPACE QML_NAMED_ELEMENT(
Units)
23 MetricPrefixAutoAdjust = -1,
24 MetricPrefixUnity = 0,
30 MetricPrefixLast = MetricPrefixPeta
32Q_ENUM_NS(MetricPrefix)
43 UnitKiloByte = MetricPrefixKilo + UnitByte,
44 UnitMegaByte = MetricPrefixMega + UnitByte,
45 UnitGigaByte = MetricPrefixGiga + UnitByte,
46 UnitTeraByte = MetricPrefixTera + UnitByte,
47 UnitPetaByte = MetricPrefixPeta + UnitByte,
51 UnitKiloByteRate = MetricPrefixKilo + UnitByteRate,
52 UnitMegaByteRate = MetricPrefixMega + UnitByteRate,
53 UnitGigaByteRate = MetricPrefixGiga + UnitByteRate,
54 UnitTeraByteRate = MetricPrefixTera + UnitByteRate,
55 UnitPetaByteRate = MetricPrefixPeta + UnitByteRate,
59 UnitKiloHertz = MetricPrefixKilo + UnitHertz,
60 UnitMegaHertz = MetricPrefixMega + UnitHertz,
61 UnitGigaHertz = MetricPrefixGiga + UnitHertz,
62 UnitTeraHertz = MetricPrefixTera + UnitHertz,
63 UnitPetaHertz = MetricPrefixPeta + UnitHertz,
66 UnitBootTimestamp = 400,
74 UnitKiloBitRate = MetricPrefixKilo + UnitBitRate,
75 UnitMegaBitRate = MetricPrefixMega + UnitBitRate,
76 UnitGigaBitRate = MetricPrefixGiga + UnitBitRate,
77 UnitTeraBitRate = MetricPrefixTera + UnitBitRate,
78 UnitPetaBitRate = MetricPrefixPeta + UnitBitRate,
82 UnitKiloVolt = MetricPrefixKilo + UnitVolt,
83 UnitMegaVolt = MetricPrefixMega + UnitVolt,
84 UnitGigaVolt = MetricPrefixGiga + UnitVolt,
85 UnitTeraVolt = MetricPrefixTera + UnitVolt,
86 UnitPetaVolt = MetricPrefixPeta + UnitVolt,
90 UnitKiloWatt = MetricPrefixKilo + UnitWatt,
91 UnitMegaWatt = MetricPrefixMega + UnitWatt,
92 UnitGigaWatt = MetricPrefixGiga + UnitWatt,
93 UnitTeraWatt = MetricPrefixTera + UnitWatt,
94 UnitPetaWatt = MetricPrefixPeta + UnitWatt,
98 UnitKiloWattHour = MetricPrefixKilo + UnitWattHour,
99 UnitMegaWattHour = MetricPrefixMega + UnitWattHour,
100 UnitGigaWattHour = MetricPrefixGiga + UnitWattHour,
101 UnitTeraWattHour = MetricPrefixTera + UnitWattHour,
102 UnitPetaWattHour = MetricPrefixPeta + UnitWattHour,
106 UnitKiloAmpere = MetricPrefixKilo + UnitAmpere,
107 UnitMegaAmpere = MetricPrefixMega + UnitAmpere,
108 UnitGigaAmpere = MetricPrefixGiga + UnitAmpere,
109 UnitTeraAmpere = MetricPrefixTera + UnitAmpere,
110 UnitPetaAmpere = MetricPrefixPeta + UnitAmpere,
114 UnitDecibelMilliWatts,