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 & operator=(const AttrTypeVoltage &rhs)=delete
QString valueFromTr(const QString &value) const noexcept
Definition: attrtypevoltage.cpp:68
static const AttrTypeVoltage & instance() noexcept
Definition: attrtypevoltage.h:51
AttrTypeVoltage() noexcept
Definition: attrtypevoltage.cpp:38
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
AttrTypeVoltage(const AttrTypeVoltage &other)=delete
The AttributeType class.
Definition: attributetype.h:42
The AttributeUnit class.
Definition: attributeunit.h:40
Definition: occmodel.cpp:77