mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
report element: label update when the linked folio report position change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2682 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -51,12 +51,12 @@ class Element : public QetGraphicsItem {
|
||||
enum { Type = UserType + 1000 };
|
||||
|
||||
protected:
|
||||
QList <Element *> connected_elements;
|
||||
|
||||
private:
|
||||
QSize dimensions;
|
||||
QPoint hotspot_coord;
|
||||
QPixmap preview;
|
||||
QList <Element *> connected_elements;
|
||||
|
||||
// methods
|
||||
public:
|
||||
@@ -82,6 +82,7 @@ class Element : public QetGraphicsItem {
|
||||
virtual int maxTerminalsCount() const = 0;
|
||||
bool isFree () const;
|
||||
virtual void linkToElement(Element *) {}
|
||||
virtual void unLinkAllElements() {}
|
||||
/**
|
||||
Draw this element
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user