LibrePCB Developers Documentation
|
The RuleCheckListWidget class. More...
#include <rulechecklistwidget.h>
Public Member Functions | |
RuleCheckListWidget (QWidget *parent=nullptr) noexcept | |
RuleCheckListWidget (const RuleCheckListWidget &other)=delete | |
~RuleCheckListWidget () noexcept | |
const tl::optional< int > & | getUnapprovedMessageCount () const noexcept |
void | setReadOnly (bool readOnly) noexcept |
void | setHandler (IF_RuleCheckHandler *handler) noexcept |
void | setMessages (const tl::optional< RuleCheckMessageList > &messages) noexcept |
void | setApprovals (const QSet< SExpression > &approvals) noexcept |
RuleCheckListWidget & | operator= (const RuleCheckListWidget &rhs)=delete |
Private Member Functions | |
void | updateList () noexcept |
void | currentItemChanged (QListWidgetItem *current, QListWidgetItem *previous) noexcept |
void | itemDoubleClicked (QListWidgetItem *item) noexcept |
bool | ruleCheckFixAvailable (std::shared_ptr< const RuleCheckMessage > msg) noexcept override |
void | ruleCheckFixRequested (std::shared_ptr< const RuleCheckMessage > msg) noexcept override |
void | ruleCheckDescriptionRequested (std::shared_ptr< const RuleCheckMessage > msg) noexcept override |
void | ruleCheckApproveRequested (std::shared_ptr< const RuleCheckMessage > msg, bool approve) noexcept override |
void | ruleCheckMessageSelected (std::shared_ptr< const RuleCheckMessage > msg) noexcept override |
void | ruleCheckMessageDoubleClicked (std::shared_ptr< const RuleCheckMessage > msg) noexcept override |
virtual bool | ruleCheckFixAvailable (std::shared_ptr< const RuleCheckMessage > msg) noexcept=0 |
virtual void | ruleCheckFixRequested (std::shared_ptr< const RuleCheckMessage > msg) noexcept=0 |
virtual void | ruleCheckDescriptionRequested (std::shared_ptr< const RuleCheckMessage > msg) noexcept=0 |
virtual void | ruleCheckApproveRequested (std::shared_ptr< const RuleCheckMessage > msg, bool approve) noexcept=0 |
virtual void | ruleCheckMessageSelected (std::shared_ptr< const RuleCheckMessage > msg) noexcept=0 |
virtual void | ruleCheckMessageDoubleClicked (std::shared_ptr< const RuleCheckMessage > msg) noexcept=0 |
IF_RuleCheckHandler () noexcept | |
IF_RuleCheckHandler (const IF_RuleCheckHandler &) noexcept | |
virtual | ~IF_RuleCheckHandler () noexcept |
Private Attributes | |
QScopedPointer< QListWidget > | mListWidget |
bool | mReadOnly |
IF_RuleCheckHandler * | mHandler |
tl::optional< RuleCheckMessageList > | mMessages |
RuleCheckMessageList | mDisplayedMessages |
QSet< SExpression > | mApprovals |
tl::optional< int > | mUnapprovedMessageCount |
The RuleCheckListWidget class.
|
explicitnoexcept |
|
delete |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
overrideprivatevirtualnoexcept |
Implements IF_RuleCheckHandler.
|
overrideprivatevirtualnoexcept |
Implements IF_RuleCheckHandler.
|
overrideprivatevirtualnoexcept |
Implements IF_RuleCheckHandler.
|
overrideprivatevirtualnoexcept |
Implements IF_RuleCheckHandler.
|
overrideprivatevirtualnoexcept |
Implements IF_RuleCheckHandler.
|
overrideprivatevirtualnoexcept |
Implements IF_RuleCheckHandler.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |