20#ifndef LIBREPCB_CORE_CMPSIGPINDISPLAYTYPE_H
21#define LIBREPCB_CORE_CMPSIGPINDISPLAYTYPE_H
69 return !(*
this == rhs);
91 static const QList<CmpSigPinDisplayType>&
getAllTypes() noexcept;
The CmpSigPinDisplayType clas.
Definition cmpsigpindisplaytype.h:40
const QString & getNameTr() const noexcept
Get the name of the display type (human readable and translated)
Definition cmpsigpindisplaytype.h:64
CmpSigPinDisplayType & operator=(const CmpSigPinDisplayType &rhs) noexcept
Definition cmpsigpindisplaytype.cpp:65
const QString & toString() const noexcept
Serialize the display type to a string (e.g. to write it into a file)
Definition cmpsigpindisplaytype.h:57
static const CmpSigPinDisplayType & netSignal() noexcept
display the name of the connected net signal
Definition cmpsigpindisplaytype.h:112
static const CmpSigPinDisplayType & none() noexcept
None (no text)
Definition cmpsigpindisplaytype.h:94
QString mName
human readable (translated)
Definition cmpsigpindisplaytype.h:122
bool operator!=(const CmpSigPinDisplayType &rhs) const noexcept
Definition cmpsigpindisplaytype.h:68
~CmpSigPinDisplayType() noexcept
Definition cmpsigpindisplaytype.cpp:53
static const CmpSigPinDisplayType & pinName() noexcept
display the name of the symbol pin
Definition cmpsigpindisplaytype.h:100
CmpSigPinDisplayType() noexcept
Definition cmpsigpindisplaytype.cpp:39
QString mDisplayType
used for serialization (DO NOT MODIFY VALUES!)
Definition cmpsigpindisplaytype.h:121
bool operator==(const CmpSigPinDisplayType &rhs) const noexcept
Definition cmpsigpindisplaytype.cpp:60
static const QList< CmpSigPinDisplayType > & getAllTypes() noexcept
Get a list of all available display types.
Definition cmpsigpindisplaytype.cpp:89
static const CmpSigPinDisplayType & fromString(const QString &str)
Deserialize a display type from a string.
Definition cmpsigpindisplaytype.cpp:76
static const CmpSigPinDisplayType & componentSignal() noexcept
display the name of the component signal
Definition cmpsigpindisplaytype.h:106
Definition occmodel.cpp:76