mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Conductor now support variables. (%F, %id, %total, %f and titleblock and project variables). Minor: labels that use %F update when folio field is changed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4586 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -138,7 +138,10 @@ class BorderTitleBlock : public QObject
|
||||
}
|
||||
}
|
||||
/// @param author the new value of the "Folio" field
|
||||
void setFolio(const QString &folio) { btb_folio_ = folio; }
|
||||
void setFolio(const QString &folio) {
|
||||
btb_folio_ = folio;
|
||||
emit (titleBlockFolioChanged());
|
||||
}
|
||||
void setFolioData(int, int, QString = NULL, const DiagramContext & = DiagramContext());
|
||||
/// @param author the new value of the "File" field
|
||||
void setFileName(const QString &filename) { btb_filename_ = filename; }
|
||||
@@ -191,6 +194,12 @@ class BorderTitleBlock : public QObject
|
||||
Signal emitted after the title has changed
|
||||
*/
|
||||
void diagramTitleChanged(const QString &);
|
||||
|
||||
/**
|
||||
@brief titleBlockFolioChanged
|
||||
Signal emitted after Folio has changed
|
||||
*/
|
||||
void titleBlockFolioChanged();
|
||||
|
||||
/**
|
||||
Signal emitted when the title block requires its data to be updated in order
|
||||
|
||||
Reference in New Issue
Block a user