Terminal strip editor display the free terminal elements

This commit is contained in:
joshua
2021-04-04 19:42:02 +02:00
parent 00846c1418
commit 63429ab087
5 changed files with 68 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ class QETProject;
class Diagram;
class Element;
class QetGraphicsTableItem;
class TerminalElement;
/**
this class can search in the given diagram or project some kind of element
@@ -43,6 +44,7 @@ class ElementProvider
QList <Element *> find(const int filter) const;
QVector <QetGraphicsTableItem *> table(QetGraphicsTableItem *table = nullptr, QAbstractItemModel *model = nullptr);
QetGraphicsTableItem *tableFromUuid(const QUuid &uuid);
QVector<TerminalElement *> freeTerminal() const;
private:
QList <Diagram *> m_diagram_list;