![]() |
LibrePCB Developers Documentation
|
The RuleCheckMessagesModel class. More...
#include <rulecheckmessagesmodel.h>
Inherits QObject, and Model< ui::RuleCheckMessageData >.
Collaboration diagram for RuleCheckMessagesModel:Public Types | |
| typedef std::function< bool(const std::shared_ptr< const RuleCheckMessage > &msg, bool checkOnly)> | AutofixHandler |
Signals | |
| void | unapprovedCountChanged (int count) |
| void | errorCountChanged (int count) |
| void | approvalChanged (const SExpression &approval, bool approved) |
| void | highlightRequested (std::shared_ptr< const RuleCheckMessage > msg, bool zoomTo) |
Public Member Functions | |
| RuleCheckMessagesModel (const RuleCheckMessagesModel &other)=delete | |
| RuleCheckMessagesModel (QObject *parent=nullptr) noexcept | |
| virtual | ~RuleCheckMessagesModel () noexcept |
| void | clear () noexcept |
| void | setAutofixHandler (AutofixHandler handler) noexcept |
| void | setMessages (const RuleCheckMessageList &messages, const QSet< SExpression > &approvals) noexcept |
| int | getUnapprovedCount () const noexcept |
| int | getErrorCount () const noexcept |
| std::size_t | row_count () const override |
| std::optional< ui::RuleCheckMessageData > | row_data (std::size_t i) const override |
| void | set_row_data (std::size_t i, const ui::RuleCheckMessageData &data) noexcept override |
| RuleCheckMessagesModel & | operator= (const RuleCheckMessagesModel &rhs)=delete |
Private Member Functions | |
| void | updateCounters () noexcept |
Private Attributes | |
| AutofixHandler | mAutofixHandler |
| RuleCheckMessageList | mMessages |
| QSet< SExpression > | mApprovals |
| int | mUnapprovedCount |
| int | mErrorCount |
The RuleCheckMessagesModel class.
| typedef std::function<bool(const std::shared_ptr<const RuleCheckMessage>& msg, bool checkOnly)> AutofixHandler |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
override |
|
override |
Here is the call graph for this function:
|
overridenoexcept |
|
delete |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |