![]() |
LibrePCB Developers Documentation
|
The OrganizationPcbDesignRulesModel class. More...
#include <organizationpcbdesignrulesmodel.h>
Inherits QObject, and Model< ui::OrganizationPcbDesignRulesData >.
Collaboration diagram for OrganizationPcbDesignRulesModel:Public Member Functions | |
| OrganizationPcbDesignRulesModel (const OrganizationPcbDesignRulesModel &other)=delete | |
| OrganizationPcbDesignRulesModel (QObject *parent=nullptr) noexcept | |
| ~OrganizationPcbDesignRulesModel () noexcept | |
| void | setReferences (Organization *organization, UndoStack *stack, std::function< void(OrganizationPcbDesignRules &)> editCallback) noexcept |
| void | addItem () noexcept |
| std::size_t | row_count () const override |
| std::optional< ui::OrganizationPcbDesignRulesData > | row_data (std::size_t i) const override |
| void | set_row_data (std::size_t i, const ui::OrganizationPcbDesignRulesData &data) noexcept override |
| OrganizationPcbDesignRulesModel & | operator= (const OrganizationPcbDesignRulesModel &rhs)=delete |
Private Member Functions | |
| void | refresh () noexcept |
| void | trigger (int index, const Uuid &uuid, ui::OrganizationPcbDesignRulesAction a) noexcept |
| void | setList (const QVector< OrganizationPcbDesignRules > &list) |
| QString | askForName (const QString &defaultValue) const |
Private Attributes | |
| QPointer< Organization > | mOrganization |
| QPointer< UndoStack > | mUndoStack |
| std::function< void(OrganizationPcbDesignRules &)> | mEditCallback |
The OrganizationPcbDesignRulesModel class.
|
delete |
|
explicitnoexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
|
override |
|
override |
Here is the call graph for this function:
|
overridenoexcept |
|
delete |
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
|
private |
|
private |