mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 13:40:52 +01:00
Element text item with are now converted to dynamic element text item.
From now, the class ElementTextItem is not anymore use in qet. Every texts in a diagram are DynamicElementTextItem. the Xref item was adapted to dynamic text. Previously, the comment and location, displayed as a "static text" below the "old text" tagged "label" are now automaticaly converted to DynamicElementTextItem, so visually, these texts stay unchanged git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5216 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -117,7 +117,7 @@ class Element : public QetGraphicsItem
|
||||
virtual void unlinkElement (Element *) {}
|
||||
virtual void initLink (QETProject *);
|
||||
QList<Element *> linkedElements ();
|
||||
virtual kind linkType() const {return link_type_;} // @return the linkable type
|
||||
virtual kind linkType() const {return m_link_type;} // @return the linkable type
|
||||
void newUuid() {uuid_ = QUuid::createUuid();} //create new uuid for this element
|
||||
|
||||
//ATTRIBUTES related to linked element
|
||||
@@ -125,7 +125,7 @@ class Element : public QetGraphicsItem
|
||||
QList <Element *> connected_elements;
|
||||
QList <QUuid> tmp_uuids_link;
|
||||
QUuid uuid_;
|
||||
kind link_type_;
|
||||
kind m_link_type;
|
||||
ElementTextItem* setTaggedText(const QString &tagg, const QString &newstr, const bool noeditable=false);
|
||||
|
||||
signals:
|
||||
|
||||
Reference in New Issue
Block a user