![]() |
LibrePCB Developers Documentation
|
The PackagePadListModel class. More...
#include <packagepadlistmodel.h>
Inherits QObject, and Model< ui::PackagePadData >.
Collaboration diagram for PackagePadListModel:Public Member Functions | |
| PackagePadListModel (const PackagePadListModel &other)=delete | |
| PackagePadListModel (QObject *parent=nullptr) noexcept | |
| ~PackagePadListModel () noexcept | |
| void | setReferences (PackagePadList *list, UndoStack *stack) noexcept |
| bool | add (QString names) noexcept |
| void | apply () |
| std::size_t | row_count () const override |
| std::optional< ui::PackagePadData > | row_data (std::size_t i) const override |
| void | set_row_data (std::size_t i, const ui::PackagePadData &data) noexcept override |
| PackagePadListModel & | operator= (const PackagePadListModel &rhs)=delete |
Private Member Functions | |
| ui::PackagePadData | createItem (const PackagePad &obj, int sortIndex) noexcept |
| void | updateSortOrder (bool notify) noexcept |
| void | listEdited (const PackagePadList &list, int index, const std::shared_ptr< const PackagePad > &item, PackagePadList::Event event) noexcept |
| void | execCmd (UndoCommand *cmd) |
| CircuitIdentifier | validateNameOrThrow (const QString &name) const |
| QString | getNextPadNameProposal () const noexcept |
Private Attributes | |
| PackagePadList * | mList |
| QPointer< UndoStack > | mUndoStack |
| QList< ui::PackagePadData > | mItems |
| PackagePadList::OnEditedSlot | mOnEditedSlot |
The PackagePadListModel class.
|
delete |
|
explicitnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:| void apply | ( | ) |
Here is the call graph for this function:
|
override |
|
override |
|
overridenoexcept |
Here is the call graph for this function:
|
delete |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
|
private |
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |