|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef MASTERELEMENT_H
19 #define MASTERELEMENT_H
46 QVariant
itemChange(GraphicsItemChange change,
const QVariant &value)
override;
57 #endif // MASTERELEMENT_H
virtual kind linkType() const
Definition: element.h:159
void unlinkElement(Element *elmt) override
MasterElement::unlinkElement Unlink the given elmt in parametre.
Definition: masterelement.cpp:88
MasterElement(const ElementsLocation &, QGraphicsItem *=nullptr, int *=nullptr)
MasterElement::MasterElement Default constructor.
Definition: masterelement.cpp:31
Diagram * diagram() const
Definition: qetgraphicsitem.cpp:40
bool m_first_scene_change
Definition: masterelement.h:54
QRectF boundingRect() const override
CrossRefItem::boundingRect.
Definition: crossrefitem.cpp:129
virtual void setHighlighted(bool)
Definition: element.cpp:178
virtual void linkToElement(Element *)
Definition: element.h:154
void linkedElementChanged()
@ Slave
Definition: element.h:56
QETProject * project() const
Diagram::project.
Definition: diagram.cpp:2326
QVariant itemChange(GraphicsItemChange change, const QVariant &value) override
Definition: masterelement.cpp:126
virtual void initLink(QETProject *)
Element::initLink Initialise the link between this element and other elements. This method can be cal...
Definition: element.cpp:1508
The XRefProperties class this class store properties used by XrefItem.
Definition: xrefproperties.h:29
DiagramContext kindInformations() const
Definition: element.h:100
void aboutDeleteXref()
MasterElement::aboutDeleteXref Check if Xref item must be displayed, if not, delete it....
Definition: masterelement.cpp:162
QList< Element * > connected_elements
Definition: element.h:200
bool isFree() const
Definition: element.h:230
The MasterElement class This class is a custom element, with extended behavior to be a master element...
Definition: masterelement.h:32
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition: elementslocation.h:46
void xrefPropertiesChanged()
Definition: masterelement.cpp:136
Definition: qetproject.h:51
void linkToElement(Element *elmt) override
MasterElement::linkToElement Link this master to another element For this class element must be a sla...
Definition: masterelement.cpp:51
CrossRefItem * m_Xref_item
Definition: masterelement.h:53
@ Bottom
Definition: xrefproperties.h:39
~MasterElement() override
MasterElement::~MasterElement default destructor.
Definition: masterelement.cpp:41
void XRefPropertiesChanged()
void unlinkAllElements() override
MasterElement::unlinkAllElements Unlink all of the element in the QList connected_elements.
Definition: masterelement.cpp:72
QRectF XrefBoundingRect() const
MasterElement::XrefBoundingRect.
Definition: masterelement.cpp:118
SnapTo snapTo() const
Definition: xrefproperties.h:62
void initLink(QETProject *project) override
MasterElement::initLink.
Definition: masterelement.cpp:108
XRefProperties defaultXRefProperties(const QString &type) const
Definition: qetproject.h:106
The CrossRefItem class This clas provide an item, for show the cross reference, like the contacts lin...
Definition: crossrefitem.h:47