mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-23 03:49: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:
@@ -44,6 +44,7 @@ class ElementTextItem : public DiagramTextItem {
|
||||
QPointF original_position;
|
||||
qreal original_rotation_angle_;
|
||||
bool first_move_;
|
||||
QString tagg_;
|
||||
|
||||
// methods
|
||||
public:
|
||||
@@ -63,6 +64,8 @@ class ElementTextItem : public DiagramTextItem {
|
||||
void setOriginalRotationAngle(const qreal &);
|
||||
qreal originalRotationAngle() const;
|
||||
virtual void setFont(const QFont &);
|
||||
void setTagg(const QString &str) {tagg_ = str;}
|
||||
QString tagg() const {return tagg_;}
|
||||
|
||||
public slots:
|
||||
void adjustItemPosition(int = 0);
|
||||
|
||||
Reference in New Issue
Block a user