mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-26 23:29:59 +02:00
Finish a move element with free terminal aligned with other terminal from other element, will create auto creation of conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3594 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -94,6 +94,7 @@ class Element : public QetGraphicsItem {
|
||||
/// @return the maximum number of terminals for this element
|
||||
virtual int maxTerminalsCount() const = 0;
|
||||
|
||||
QList <QPair <Terminal *, Terminal *> > AlignedFreeTerminals () const;
|
||||
|
||||
/**
|
||||
*related method and attributes,
|
||||
@@ -121,7 +122,7 @@ class Element : public QetGraphicsItem {
|
||||
signals:
|
||||
void elementInfoChange(DiagramContext old_info, DiagramContext new_info);
|
||||
|
||||
//METHODS related to information
|
||||
//METHODS related to information
|
||||
public:
|
||||
DiagramContext elementInformations ()const {return element_informations_;}
|
||||
DiagramContext& rElementInformations () {return element_informations_;}
|
||||
|
||||
Reference in New Issue
Block a user