|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef SLAVEELEMENT_H
19 #define SLAVEELEMENT_H
29 QGraphicsItem * =
nullptr,
40 #endif // SLAVEELEMENT_H
virtual kind linkType() const
Definition: element.h:159
SlaveElement(const ElementsLocation &, QGraphicsItem *=nullptr, int *=nullptr)
SlaveElement::SlaveElement Default constructor.
Definition: slaveelement.cpp:31
virtual void setHighlighted(bool)
Definition: element.cpp:178
~SlaveElement() override
SlaveElement::~SlaveElement default destructor.
Definition: slaveelement.cpp:43
void unlinkAllElements() override
SlaveElement::unlinkAllElements Unlink all of the element in the QList connected_elements.
Definition: slaveelement.cpp:72
void linkedElementChanged()
QGraphicsTextItem * m_xref_item
Definition: slaveelement.h:37
Definition: slaveelement.h:25
@ Master
Definition: element.h:55
QList< Element * > connected_elements
Definition: element.h:200
bool isFree() const
Definition: element.h:230
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition: elementslocation.h:46
void linkToElement(Element *elmt) override
SlaveElement::linkToElement Link this slave to another element For this class element must be a maste...
Definition: slaveelement.cpp:53
void unlinkElement(Element *elmt) override
SlaveElement::unlinkElement Unlink the given elmt in parametre.
Definition: slaveelement.cpp:88