![]() |
LibrePCB Developers Documentation
|
The PackagePadListModel class. More...
#include <packagepadlistmodel.h>
Inherits QAbstractTableModel.
Collaboration diagram for PackagePadListModel:Public Types | |
| enum | Column |
Public Member Functions | |
| PackagePadListModel ()=delete | |
| PackagePadListModel (const PackagePadListModel &other)=delete | |
| PackagePadListModel (QObject *parent=nullptr) noexcept | |
| ~PackagePadListModel () noexcept | |
| void | setPadList (PackagePadList *list) noexcept |
| void | setUndoStack (UndoStack *stack) noexcept |
| void | add (const QPersistentModelIndex &itemIndex) noexcept |
| void | remove (const QPersistentModelIndex &itemIndex) noexcept |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
| PackagePadListModel & | operator= (const PackagePadListModel &rhs) noexcept |
Private Member Functions | |
| void | padListEdited (const PackagePadList &list, int index, const std::shared_ptr< const PackagePad > &pad, PackagePadList::Event event) noexcept |
| void | execCmd (UndoCommand *cmd) |
| CircuitIdentifier | validateNameOrThrow (const QString &name) const |
| QString | getNextPadNameProposal () const noexcept |
Private Attributes | |
| PackagePadList * | mPadList |
| UndoStack * | mUndoStack |
| QString | mNewName |
| PackagePadList::OnEditedSlot | mOnEditedSlot |
The PackagePadListModel class.
| enum Column |
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
Here is the call graph for this function:
|
override |
|
override |
Here is the call graph for this function:
|
override |
Here is the call graph for this function:
|
override |
|
override |
Here is the call graph for this function:
|
noexcept |
|
privatenoexcept |
|
private |
Here is the call graph for this function:
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 |