|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ELEMENTPROVIDER_H
19 #define ELEMENTPROVIDER_H
23 #include <QAbstractTableModel>
41 QList <Element *>
freeElement(
const int filter)
const;
42 QList <Element *>
fromUuids(QList <QUuid>)
const;
43 QList <Element *>
find(
const int filter)
const;
51 #endif // ELEMENTPROVIDER_H
QList< Element * > elements() const
Diagram::elements.
Definition: diagram.cpp:2031
virtual kind linkType() const
Definition: element.h:159
Definition: elementprovider.h:37
The QetGraphicsTableItem class This item display a table destined to represent the content of a QAbst...
Definition: qetgraphicstableitem.h:43
QUuid uuid() const
Element::uuid.
Definition: element.h:250
QList< Element * > find(const int filter) const
ElementProvider::find Search and return the asked element corresponding with the given filter.
Definition: elementprovider.cpp:96
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
QList< Diagram * > diagrams() const
Definition: qetproject.cpp:217
@ Type
Definition: qetgraphicstableitem.h:57
QList< Diagram * > m_diagram_list
Definition: elementprovider.h:48
QList< Element * > freeElement(const int filter) const
ElementProvider::FreeElement Search and return the asked element corresponding with the given filter ...
Definition: elementprovider.cpp:54
bool isFree() const
Definition: element.h:230
ElementProvider(QETProject *prj, Diagram *diagram=nullptr)
ElementProvider::ElementProvider Constructor.
Definition: elementprovider.cpp:30
Definition: qetproject.h:51
QVector< QetGraphicsTableItem * > table(QetGraphicsTableItem *table=nullptr, QAbstractItemModel *model=nullptr)
ElementProvider::table.
Definition: elementprovider.cpp:120
QList< Element * > fromUuids(QList< QUuid >) const
ElementProvider::fromUuids.
Definition: elementprovider.cpp:75
QetGraphicsTableItem * tableFromUuid(const QUuid &uuid)
ElementProvider::tableFromUuid.
Definition: elementprovider.cpp:172