20#ifndef LIBREPCB_CORE_ATTRTYPEPOWER_H
21#define LIBREPCB_CORE_ATTRTYPEPOWER_H
48 QString
valueFromTr(
const QString& value)
const noexcept;
The AttrTypePower class.
Definition: attrtypepower.h:42
AttrTypePower() noexcept
Definition: attrtypepower.cpp:38
AttrTypePower & operator=(const AttrTypePower &rhs)=delete
static const AttrTypePower & instance() noexcept
Definition: attrtypepower.h:51
QString valueFromTr(const QString &value) const noexcept
Definition: attrtypepower.cpp:70
QString printableValueTr(const QString &value, const AttributeUnit *unit=nullptr) const noexcept
Definition: attrtypepower.cpp:79
AttrTypePower(const AttrTypePower &other)=delete
bool isValueValid(const QString &value) const noexcept
Definition: attrtypepower.cpp:64
The AttributeType class.
Definition: attributetype.h:42
The AttributeUnit class.
Definition: attributeunit.h:40
Definition: occmodel.cpp:77