![]() |
LibrePCB Developers Documentation
|
The AttributeUnit class. More...
#include <attributeunit.h>
Public Member Functions | |
AttributeUnit (const QString &name, const QString &symbolTr, const QStringList &userInputSuffixes) noexcept | |
~AttributeUnit () noexcept | |
const QString & | getName () const noexcept |
const QString & | getSymbolTr () const noexcept |
const QStringList & | getUserInputSuffixes () const noexcept |
Private Member Functions | |
AttributeUnit ()=delete | |
AttributeUnit (const AttributeUnit &other)=delete | |
AttributeUnit & | operator= (const AttributeUnit &rhs)=delete |
Private Attributes | |
QString | mName |
to convert from/to string, e.g. "millivolt" More... | |
QString | mSymbolTr |
e.g. "mV" More... | |
QStringList | mUserInputSuffixes |
user input suffixes, e.g. "k" or "meg" More... | |
The AttributeUnit class.
|
explicitnoexcept |
|
noexcept |
|
privatedelete |
|
privatedelete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
privatedelete |
|
private |
to convert from/to string, e.g. "millivolt"
|
private |
e.g. "mV"
|
private |
user input suffixes, e.g. "k" or "meg"