[qet] [4003] Nomemclature: add field element position in the graphic scene to export .csv file |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4003
Author: scorpio810
Date: 2015-06-10 21:31:26 +0200 (Wed, 10 Jun 2015)
Log Message:
-----------
Nomemclature: add field element position in the graphic scene to export .csv file
Modified Paths:
--------------
trunk/sources/nomenclature.cpp
trunk/sources/nomenclature.h
Modified: trunk/sources/nomenclature.cpp
===================================================================
--- trunk/sources/nomenclature.cpp 2015-06-09 16:28:54 UTC (rev 4002)
+++ trunk/sources/nomenclature.cpp 2015-06-10 19:31:26 UTC (rev 4003)
@@ -84,6 +84,7 @@
data += tr("N° de folio") +";"
""+ tr("Titre de folio") +";"
""+ tr("Désignation qet") +";"
+ ""+ tr("Position") +";"
""+ tr("Label") +";"
""+ tr("Désignation") +";"
""+ tr("Commentaire") +";"
@@ -125,6 +126,7 @@
info += QString::number(diagram -> folioIndex()+1) + ";";
info += diagram -> title() + ";";
info += elmt -> name() + ";";
+ info += elmt-> diagram()-> convertPosition(elmt -> scenePos()).toString() + ";";
info += elmt_info["label"].toString() + ";";
info += elmt_info["designation"].toString() + ";";
info += elmt_info["comment"].toString() + ";";
Modified: trunk/sources/nomenclature.h
===================================================================
--- trunk/sources/nomenclature.h 2015-06-09 16:28:54 UTC (rev 4002)
+++ trunk/sources/nomenclature.h 2015-06-10 19:31:26 UTC (rev 4003)
@@ -25,6 +25,7 @@
#include "qetgraphicsitem/element.h"
#include "diagramcontent.h"
#include "qetgraphicsitem/customelement.h"
+#include "diagramposition.h"
class QETProject;
class Diagram;