28 link_type ==
"next_report"?
Element::NextReport :
Element::PreviousReport),
29 m_inverse_report(link_type ==
"next_report"?
Element::PreviousReport :
Element::NextReport)
40 disconnect(
terminals().first(),
nullptr,
nullptr,
nullptr);
53 qDebug() <<
"ReportElement : linkToElement : Unable to link this or element to link isn't in a diagram";
virtual void linkToElement(Element *)
virtual kind linkType() const
QList< Element * > connected_elements
Diagram * diagram() const
QetGraphicsItem::diagram return the diagram of this item.
virtual void setHighlighted(bool)
void linkedElementChanged()
~ReportElement() override
ReportElement::~ReportElement Destructor.
QList< Terminal * > terminals() const
Element::terminals.
ReportElement(const ElementsLocation &, const QString &link_type, QGraphicsItem *=nullptr, int *=nullptr)
void unlinkElement(Element *elmt) override
ReportElement::unlinkElement unlink the specified element. for reportelement, they must be only one l...
void linkToElement(Element *) override
ReportElement::linkToElement Link this element to the other element.
void unlinkAllElements() override
ReportElement::unLinkAllElements Unlink all of the element in the QList connected_elements.