18 #ifndef MASTERELEMENT_H 19 #define MASTERELEMENT_H 46 QVariant
itemChange(GraphicsItemChange change,
const QVariant &value)
override;
57 #endif // MASTERELEMENT_H The CrossRefItem class This clas provide an item, for show the cross reference, like the contacts lin...
CrossRefItem * m_Xref_item
The MasterElement class This class is a custom element, with extended behavior to be a master element...
bool m_first_scene_change
void unlinkElement(Element *elmt) override
MasterElement::unlinkElement Unlink the given elmt in parametre.
MasterElement(const ElementsLocation &, QGraphicsItem *=nullptr, int *=nullptr)
MasterElement::MasterElement Default constructor.
void linkToElement(Element *elmt) override
MasterElement::linkToElement Link this master to another element For this class element must be a sla...
void xrefPropertiesChanged()
~MasterElement() override
MasterElement::~MasterElement default destructor.
void initLink(QETProject *project) override
MasterElement::initLink.
QVariant itemChange(GraphicsItemChange change, const QVariant &value) override
QRectF XrefBoundingRect() const
MasterElement::XrefBoundingRect.
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...