mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-25 05:59:58 +02:00
slave element: when linked to master, label is replaced by the label of master, and show the position of the master
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2946 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -115,10 +115,13 @@ class Element : public QetGraphicsItem {
|
||||
QUuid uuid_;
|
||||
kind link_type_;
|
||||
|
||||
signals:
|
||||
void elementInfoChange(DiagramContext);
|
||||
|
||||
//METHODS related to information
|
||||
public:
|
||||
DiagramContext elementInformations()const {return element_informations_;}
|
||||
void setElementInformations(DiagramContext dc) {element_informations_ = dc;}
|
||||
void setElementInformations(DiagramContext dc);//{element_informations_ = dc; emit elementInfoChange(dc);}
|
||||
DiagramContext kindInformations() const {return kind_informations_;} //@kind_information_ is used to store more information
|
||||
//about the herited class like contactelement for know
|
||||
// kind of contact (simple tempo) or number of contact show by the element.
|
||||
|
||||
Reference in New Issue
Block a user