From 0fb622fae5f8656fd9409a43ad2c7833efae130a Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Thu, 16 Nov 2017 18:57:16 +0000 Subject: [PATCH] Add UUID field in nomenclature export git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5101 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/nomenclature.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/nomenclature.cpp b/sources/nomenclature.cpp index 1462082e3..dc83f8d5c 100644 --- a/sources/nomenclature.cpp +++ b/sources/nomenclature.cpp @@ -88,6 +88,7 @@ QString nomenclature::getNomenclature() ""+ QObject::tr("Titre de folio") +";" ""+ QObject::tr("Label de folio") +";" ""+ QObject::tr("Désignation qet") +";" + ""+ QObject::tr("UUID") +";" ""+ QObject::tr("Position") +";" ""+ QObject::tr("Label") +";" ""+ QObject::tr("Désignation") +";" @@ -146,6 +147,7 @@ QString nomenclature::getElementInfo(Element *elmt) { info += diagram -> title() + ";"; info += autonum::AssignVariables::formulaToLabel(diagram->border_and_titleblock.folio(), empty_seq, diagram) + ";"; info += elmt -> name() + ";"; + info += QUuid::createUuid().toString() + ";"; 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) + ";";