20 #ifndef LIBREPCB_PROJECT_ERCMSG_H 21 #define LIBREPCB_PROJECT_ERCMSG_H 34 class IF_ErcMsgProvider;
61 const QString& ownerKey,
const QString& msgKey,
75 void setMsg(
const QString& msg) noexcept;
108 #endif // LIBREPCB_PROJECT_ERCMSG_H ErcMsgType_t
ERC message types.
Definition: ercmsg.h:49
The ErcMsg class represents a message in the ERC (Electrical Rule Check) list.
Definition: ercmsg.h:46
bool mIsVisible
Definition: ercmsg.h:97
virtual ~ErcMsg() noexcept
Definition: ercmsg.cpp:54
QString mOwnerKey
Definition: ercmsg.h:91
example: two output pins in the same net
The ErcMsgList class contains a list of ERC messages which are visible for the user.
Definition: ercmsglist.h:49
Definition: airwiresbuilder.cpp:32
void setMsg(const QString &msg) noexcept
Definition: ercmsg.cpp:62
The IF_ErcMsgProvider class.
Definition: if_ercmsgprovider.h:59
The Project class represents a whole (opened) project with all its content.
Definition: project.h:80
const IF_ErcMsgProvider & getOwner() const noexcept
Definition: ercmsg.h:66
const IF_ErcMsgProvider & mOwner
Definition: ercmsg.h:90
example: nets with only one pin
bool mIsIgnored
Definition: ercmsg.h:98
ErcMsgType_t mMsgType
Definition: ercmsg.h:93
ErcMsgList & mErcMsgList
Definition: ercmsg.h:87
example: unplaced required symbols
Project & mProject
Definition: ercmsg.h:86
QString mMsg
Definition: ercmsg.h:94
const QString & getMsgKey() const noexcept
Definition: ercmsg.h:68
void setVisible(bool visible) noexcept
Definition: ercmsg.cpp:68
void setIgnored(bool ignored) noexcept
Definition: ercmsg.cpp:80
QString mMsgKey
Definition: ercmsg.h:92
bool isIgnored() const noexcept
Definition: ercmsg.h:72
bool isVisible() const noexcept
Definition: ercmsg.h:71
ErcMsgType_t getMsgType() const noexcept
Definition: ercmsg.h:69
ErcMsg & operator=(const ErcMsg &rhs)
const QString & getOwnerKey() const noexcept
Definition: ercmsg.h:67
example: unplaced footprints
const QString & getMsg() const noexcept
Definition: ercmsg.h:70
example: unplaced optional symbols