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:
dfochi
2016-07-20 21:54:54 +00:00
parent 3a7d210bcb
commit 989905da01
5 changed files with 75 additions and 5 deletions

View File

@@ -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