52 QList <Element *> free_elmt;
57 QList <Element *> elmt_list;
59 foreach (
Element *elmt, elmt_list) {
61 if (elmt->
isFree()) free_elmt << elmt;
73 QList <Element *> found_element;
77 if (uuid_list.contains(elmt->
uuid())) {
78 found_element << elmt;
79 uuid_list.removeAll(elmt->uuid());
94 QList <Element *> elmt_;
99 QList <Element *> elmt_list;
101 foreach (
Element *elmt, elmt_list) {
ElementProvider(QETProject *prj, Diagram *diagram=nullptr)
ElementProvider::ElementProvider Constructor.
QList< Element * > find(const int filter) const
ElementProvider::find Search and return the asked element corresponding with the given filter...
QList< Diagram * > diagrams() const
virtual kind linkType() const
QUuid uuid() const
Element::uuid.
QList< Diagram * > diag_list
QList< Element * > fromUuids(QList< QUuid >) const
ElementProvider::fromUuids.
QList< Element * > freeElement(const int filter) const
ElementProvider::FreeElement Search and return the asked element corresponding with the given filter ...
QList< Element * > elements() const