18#ifndef ELEMENTPROVIDER_H
19#define ELEMENTPROVIDER_H
23#include <QAbstractTableModel>
44 QVector <QPointer<Element>>
freeElement(ElementData::Types filter)
const;
45 QList <Element *>
fromUuids(QList <QUuid>)
const;
46 QVector<QPointer<Element> >
find(ElementData::Types elmt_type)
const;
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
Definition elementprovider.h:40
QVector< TerminalElement * > freeTerminal() const
ElementProvider::freeTerminal.
Definition elementprovider.cpp:197
QVector< QetGraphicsTableItem * > table(QetGraphicsTableItem *table=nullptr, QAbstractItemModel *model=nullptr)
ElementProvider::table.
Definition elementprovider.cpp:131
QVector< QPointer< Element > > freeElement(ElementData::Types filter) const
ElementProvider::FreeElement Search and return the asked element corresponding with the given filter ...
Definition elementprovider.cpp:56
QVector< QPointer< Element > > find(ElementData::Types elmt_type) const
ElementProvider::find Search and return the element with the type given in parameter.
Definition elementprovider.cpp:106
QList< Diagram * > m_diagram_list
Definition elementprovider.h:52
QList< Element * > fromUuids(QList< QUuid >) const
ElementProvider::fromUuids.
Definition elementprovider.cpp:85
QetGraphicsTableItem * tableFromUuid(const QUuid &uuid)
ElementProvider::tableFromUuid.
Definition elementprovider.cpp:183
Definition qetproject.h:62
The QetGraphicsTableItem class This item display a table destined to represent the content of a QAbst...
Definition qetgraphicstableitem.h:43
The TerminalElement class.
Definition terminalelement.h:31