mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-17 23:29:58 +02:00
Fix bugtracker report N° 119 : Variable %F (of several element Xref) is not always up to date when the corresponding value of titleblock change.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4906 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -37,21 +37,22 @@ class ReportElement : public CustomElement
|
||||
virtual void linkToElement(Element *);
|
||||
virtual void unlinkAllElements();
|
||||
virtual void unlinkElement(Element *elmt);
|
||||
|
||||
private:
|
||||
int m_inverse_report;
|
||||
QString m_label;
|
||||
ElementTextItem *m_text_field;
|
||||
Conductor *m_watched_conductor;
|
||||
|
||||
|
||||
private:
|
||||
void conductorWasAdded(Conductor *conductor);
|
||||
void conductorWasRemoved(Conductor *conductor);
|
||||
|
||||
private slots:
|
||||
void setLabel (QString label);
|
||||
void setFormula (QString label);
|
||||
void updateLabel();
|
||||
void reportPropertiesChange(const QString &old_str, const QString &new_str);
|
||||
void setConnectionForFormula(const QString &str);
|
||||
void removeConnectionForFormula(const QString &str);
|
||||
void updateFormulaConnection();
|
||||
|
||||
private:
|
||||
int m_inverse_report;
|
||||
QString m_formula;
|
||||
ElementTextItem *m_text_field;
|
||||
Conductor *m_watched_conductor;
|
||||
};
|
||||
|
||||
#endif // REPORTELEMENT_H
|
||||
|
||||
Reference in New Issue
Block a user