Minor : Assign new variables %M and %LM to Conductor Autonum

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4689 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-09-05 16:49:16 +00:00
parent bdffd05cd6
commit 24df870700
2 changed files with 3 additions and 1 deletions

View File

@@ -1298,6 +1298,8 @@ QString Conductor::assignVariables(QString label) {
label.replace("%F", diagram() -> border_and_titleblock.folio());
label.replace("%id", QString::number(diagram()->folioIndex()+1));
label.replace("%total", QString::number(diagram()->border_and_titleblock.folioTotal()));
label.replace("%M", diagram() -> border_and_titleblock.machine());
label.replace("%LM", diagram() -> border_and_titleblock.locmach());
label = assignSeq(label, this);
return label;
}

View File

@@ -86,7 +86,7 @@ void NumPartEditorW::setVisibleItems() {
else if (parentWidget()->parentWidget()->objectName()=="ConductorTab") {
items << tr("Chiffre 1") << tr("Chiffre 1 - Folio") << tr("Chiffre 01")
<< tr("Chiffre 01 - Folio") << tr("Chiffre 001") << tr("Chiffre 001 - Folio")
<< tr("Texte") << tr("N° folio") << tr("Folio");
<< tr("Texte") << tr("N° folio") << tr("Folio") << tr("Machine") << tr("Locmach");
}
else
items << tr("Chiffre 1") << tr("Chiffre 1 - Folio") << tr("Chiffre 01")