20#ifndef LIBREPCB_CORE_ATTRIBUTEUNIT_H
21#define LIBREPCB_CORE_ATTRIBUTEUNIT_H
45 explicit AttributeUnit(
const QString& name,
const QString& symbolTr,
46 const QStringList& userInputSuffixes)
noexcept;
The AttributeUnit class.
Definition: attributeunit.h:40
QString mSymbolTr
e.g. "mV"
Definition: attributeunit.h:62
AttributeUnit & operator=(const AttributeUnit &rhs)=delete
const QString & getName() const noexcept
Definition: attributeunit.h:50
~AttributeUnit() noexcept
Definition: attributeunit.cpp:43
QStringList mUserInputSuffixes
user input suffixes, e.g. "k" or "meg"
Definition: attributeunit.h:63
QString mName
to convert from/to string, e.g. "millivolt"
Definition: attributeunit.h:61
const QString & getSymbolTr() const noexcept
Definition: attributeunit.h:51
const QStringList & getUserInputSuffixes() const noexcept
Definition: attributeunit.h:52
AttributeUnit(const AttributeUnit &other)=delete
Definition: occmodel.cpp:77