Add new description field

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5059 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2017-10-02 16:59:53 +00:00
parent ecd33d36c7
commit 9c24163556
5 changed files with 8 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ QString nomenclature::getNomenclature()
""+ QObject::tr("Position") +";"
""+ QObject::tr("Label") +";"
""+ QObject::tr("Désignation") +";"
""+ QObject::tr("Description") +";"
""+ QObject::tr("Commentaire") +";"
""+ QObject::tr("Fabricant") +";"
""+ QObject::tr("Reference") +";"
@@ -147,6 +148,7 @@ QString nomenclature::getElementInfo(Element *elmt) {
info += elmt-> diagram()-> convertPosition(elmt -> scenePos()).toString() + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["label"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["designation"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["description"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["comment"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["manufacturer"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["manufacturer-reference"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";