[qet] qet/qet: [5101] Add UUID field in nomenclature export |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5101
Author: scorpio810
Date: 2017-11-16 19:57:16 +0100 (Thu, 16 Nov 2017)
Log Message:
-----------
Add UUID field in nomenclature export
Modified Paths:
--------------
trunk/sources/nomenclature.cpp
Modified: trunk/sources/nomenclature.cpp
===================================================================
--- trunk/sources/nomenclature.cpp 2017-11-16 09:26:30 UTC (rev 5100)
+++ trunk/sources/nomenclature.cpp 2017-11-16 18:57:16 UTC (rev 5101)
@@ -88,6 +88,7 @@
""+ 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 @@
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) + ";";