mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Nomenclature now use properly the element type 'thumbnail'
Use function provided by ElementData to check element type and master type instead of use plain text (code is more strong)
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include <QList>
|
||||
#include <QAbstractTableModel>
|
||||
|
||||
#include "properties/elementdata.h"
|
||||
|
||||
class QETProject;
|
||||
class Diagram;
|
||||
class Element;
|
||||
@@ -42,6 +44,7 @@ class ElementProvider
|
||||
QList <Element *> freeElement(const int filter) const;
|
||||
QList <Element *> fromUuids(QList <QUuid>) const;
|
||||
QList <Element *> find(const int filter) const;
|
||||
QVector<QPointer<Element> > find(ElementData::Types elmt_type) const;
|
||||
QVector <QetGraphicsTableItem *> table(QetGraphicsTableItem *table = nullptr, QAbstractItemModel *model = nullptr);
|
||||
QetGraphicsTableItem *tableFromUuid(const QUuid &uuid);
|
||||
QVector<TerminalElement *> freeTerminal() const;
|
||||
|
||||
Reference in New Issue
Block a user