![]() |
LibrePCB Developers Documentation
|
The ComponentSignalListModel class. More...
#include <componentsignallistmodel.h>
Inherits QObject, and Model< ui::ComponentSignalData >.
Collaboration diagram for ComponentSignalListModel:Public Member Functions | |
| ComponentSignalListModel (const ComponentSignalListModel &other)=delete | |
| ComponentSignalListModel (QObject *parent=nullptr) noexcept | |
| ~ComponentSignalListModel () noexcept | |
| void | setReferences (Component *component, UndoStack *stack) noexcept |
| bool | add (QString names) noexcept |
| void | apply () |
| std::size_t | row_count () const override |
| std::optional< ui::ComponentSignalData > | row_data (std::size_t i) const override |
| void | set_row_data (std::size_t i, const ui::ComponentSignalData &data) noexcept override |
| ComponentSignalListModel & | operator= (const ComponentSignalListModel &rhs)=delete |
Private Member Functions | |
| ui::ComponentSignalData | createItem (const ComponentSignal &obj, int sortIndex) noexcept |
| void | updateSortOrder (bool notify) noexcept |
| void | listEdited (const ComponentSignalList &list, int index, const std::shared_ptr< const ComponentSignal > &item, ComponentSignalList::Event event) noexcept |
| void | execCmd (UndoCommand *cmd) |
| CircuitIdentifier | validateNameOrThrow (const QString &name) const |
Static Private Member Functions | |
| static QString | cleanForcedNetName (const QString &name) noexcept |
Private Attributes | |
| QPointer< Component > | mComponent |
| QPointer< UndoStack > | mUndoStack |
| QList< ui::ComponentSignalData > | mItems |
| ComponentSignalList::OnEditedSlot | mOnEditedSlot |
The ComponentSignalListModel class.
|
delete |
|
explicitnoexcept |
|
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 caller graph for this function:
|
staticprivatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |