The FootprintListModel class.
More...
#include <footprintlistmodel.h>
Inherits QObject, and Model< ui::FootprintData >.
|
| ui::FootprintData | createItem (const Footprint &obj) noexcept |
| |
| void | updateTags (const Footprint &obj, ui::FootprintData &item) noexcept |
| |
| void | updateModels (const Footprint &obj, ui::FootprintData &item) noexcept |
| |
| void | trigger (int index, std::shared_ptr< Footprint > obj, ui::FootprintAction a) noexcept |
| |
| void | listEdited (const FootprintList &list, int index, const std::shared_ptr< const Footprint > &item, FootprintList::Event event) noexcept |
| |
| void | modelListEdited (const PackageModelList &list, int index, const std::shared_ptr< const PackageModel > &item, PackageModelList::Event event) noexcept |
| |
| void | execCmd (UndoCommand *cmd) |
| |
| ElementName | validateNameOrThrow (const QString &name) const |
| |
◆ FootprintListModel() [1/2]
◆ FootprintListModel() [2/2]
◆ ~FootprintListModel()
◆ setReferences()
◆ add()
| void add |
( |
const QString & |
name | ) |
|
|
noexcept |
◆ apply()
◆ row_count()
| std::size_t row_count |
( |
| ) |
const |
|
override |
◆ row_data()
| std::optional< ui::FootprintData > row_data |
( |
std::size_t |
i | ) |
const |
|
override |
◆ set_row_data()
| void set_row_data |
( |
std::size_t |
i, |
|
|
const ui::FootprintData & |
data |
|
) |
| |
|
overridenoexcept |
◆ operator=()
◆ footprintAdded
| void footprintAdded |
( |
int |
index | ) |
|
|
signal |
◆ createItem()
| ui::FootprintData createItem |
( |
const Footprint & |
obj | ) |
|
|
privatenoexcept |
◆ updateTags()
| void updateTags |
( |
const Footprint & |
obj, |
|
|
ui::FootprintData & |
item |
|
) |
| |
|
privatenoexcept |
◆ updateModels()
| void updateModels |
( |
const Footprint & |
obj, |
|
|
ui::FootprintData & |
item |
|
) |
| |
|
privatenoexcept |
◆ trigger()
| void trigger |
( |
int |
index, |
|
|
std::shared_ptr< Footprint > |
obj, |
|
|
ui::FootprintAction |
a |
|
) |
| |
|
privatenoexcept |
◆ listEdited()
◆ modelListEdited()
◆ execCmd()
◆ validateNameOrThrow()
| ElementName validateNameOrThrow |
( |
const QString & |
name | ) |
const |
|
private |
◆ mPackage
◆ mUndoStack
◆ mItems
| QList<ui::FootprintData> mItems |
|
private |
◆ mOnEditedSlot
◆ mOnModelsEditedSlot
The documentation for this class was generated from the following files: