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