22 #include <QRegularExpression> 133 return Element::itemChange(change, value);
The CrossRefItem class This clas provide an item, for show the cross reference, like the contacts lin...
CrossRefItem * m_Xref_item
virtual void linkToElement(Element *)
virtual kind linkType() const
QList< Element * > connected_elements
bool m_first_scene_change
void unlinkElement(Element *elmt) override
MasterElement::unlinkElement Unlink the given elmt in parametre.
The XRefProperties class this class store properties used by XrefItem.
MasterElement(const ElementsLocation &, QGraphicsItem *=nullptr, int *=nullptr)
MasterElement::MasterElement Default constructor.
Diagram * diagram() const
QetGraphicsItem::diagram return the diagram of this item.
virtual void setHighlighted(bool)
void linkedElementChanged()
virtual void initLink(QETProject *)
Element::initLink Initialise the link between this element and other elements. This method can be cal...
void linkToElement(Element *elmt) override
MasterElement::linkToElement Link this master to another element For this class element must be a sla...
void xrefPropertiesChanged()
QRectF boundingRect() const override
CrossRefItem::boundingRect.
~MasterElement() override
MasterElement::~MasterElement default destructor.
void initLink(QETProject *project) override
MasterElement::initLink.
QVariant itemChange(GraphicsItemChange change, const QVariant &value) override
XRefProperties defaultXRefProperties(const QString &type) const
DiagramContext kindInformations() const
QRectF XrefBoundingRect() const
MasterElement::XrefBoundingRect.
void XRefPropertiesChanged()
QETProject * project() const
void unlinkAllElements() override
MasterElement::unlinkAllElements Unlink all of the element in the QList connected_elements.
void aboutDeleteXref()
MasterElement::aboutDeleteXref Check if Xref item must be displayed, if not, delete it...