20 #ifndef LIBREPCB_CORE_ATTRTYPEVOLTAGE_H 21 #define LIBREPCB_CORE_ATTRTYPEVOLTAGE_H 48 QString
valueFromTr(
const QString& value)
const noexcept;
The AttrTypeVoltage class.
Definition: attrtypevoltage.h:42
~AttrTypeVoltage() noexcept
Definition: attrtypevoltage.cpp:55
Definition: occmodel.cpp:76
The AttributeUnit class.
Definition: attributeunit.h:40
QString printableValueTr(const QString &value, const AttributeUnit *unit=nullptr) const noexcept
Definition: attrtypevoltage.cpp:77
bool isValueValid(const QString &value) const noexcept
Definition: attrtypevoltage.cpp:62
QString valueFromTr(const QString &value) const noexcept
Definition: attrtypevoltage.cpp:68
AttrTypeVoltage & operator=(const AttrTypeVoltage &rhs)=delete
AttrTypeVoltage() noexcept
Definition: attrtypevoltage.cpp:38
static const AttrTypeVoltage & instance() noexcept
Definition: attrtypevoltage.h:51
The AttributeType class.
Definition: attributetype.h:42