[qet] [3857] dxf converter |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3857
Author: rdsivd
Date: 2015-03-26 17:49:40 +0100 (Thu, 26 Mar 2015)
Log Message:
-----------
dxf converter
modifcation du export *.qet
Modified Paths:
--------------
branches/dxftoelmt/src/ui/dxf_elmt_output.cpp
Modified: branches/dxftoelmt/src/ui/dxf_elmt_output.cpp
===================================================================
--- branches/dxftoelmt/src/ui/dxf_elmt_output.cpp 2015-03-26 16:21:02 UTC (rev 3856)
+++ branches/dxftoelmt/src/ui/dxf_elmt_output.cpp 2015-03-26 16:49:40 UTC (rev 3857)
@@ -435,11 +435,11 @@
Lineout2.append("0");
Lineout2.append(QChar(34));
- Lineout2.append(" uuid=");
- Lineout2.append(QChar(34));
- Uuidstring=QUuid::createUuid();
- Lineout2.append(Uuidstring.toString());
- Lineout2.append(QChar(34));
+ //Lineout2.append(" uuid=");
+ //Lineout2.append(QChar(34));
+ //Uuidstring=QUuid::createUuid();
+ //Lineout2.append(Uuidstring.toString());
+ //Lineout2.append(QChar(34));
Lineout2.append(" type=");
Lineout2.append(QChar(34));
@@ -457,11 +457,11 @@
Lineout2.append(".elmt");
Lineout2.append(QChar(34));
- //Lineout2.append(" uuid=");
- //Lineout2.append(QChar(34));
- //Uuidstring=QUuid::createUuid();
- //Lineout2.append(Uuidstring.toString());
- //Lineout2.append(QChar(34));
+ Lineout2.append(" uuid=");
+ Lineout2.append(QChar(34));
+ Uuidstring=QUuid::createUuid();
+ Lineout2.append(Uuidstring.toString());
+ Lineout2.append(QChar(34));
//Lineout2.append(" orientation=");
//Lineout2.append(QChar(34));
@@ -537,12 +537,12 @@
Lineout3.append(ElementsLine2[7]);
Lineout3.append(QChar(34));
- //Lineout3.append(" type=");
- //Lineout3.append(QChar(34));
- //Lineout3.append("embed://import/dxfconverter/");
- //Lineout3.append(ElementsLine2[5]);
- //Lineout3.append(".elmt");
- //Lineout3.append(QChar(34));
+ Lineout3.append(" type=");
+ Lineout3.append(QChar(34));
+ Lineout3.append("embed://import/dxfconverter/");
+ Lineout3.append(ElementsLine2[5]);
+ Lineout3.append(".elmt");
+ Lineout3.append(QChar(34));
Lineout3.append(" uuid=");
Lineout3.append(QChar(34));
@@ -555,12 +555,12 @@
//Lineout3.append(ElementsLine2[7]);
//Lineout3.append(QChar(34));
- Lineout3.append(" type=");
- Lineout3.append(QChar(34));
- Lineout3.append("embed://import/dxfconverter/");
- Lineout3.append(ElementsLine2[5]);
- Lineout3.append(".elmt");
- Lineout3.append(QChar(34));
+ //Lineout3.append(" type=");
+ //Lineout3.append(QChar(34));
+ //Lineout3.append("embed://import/dxfconverter/");
+ //Lineout3.append(ElementsLine2[5]);
+ //Lineout3.append(".elmt");
+ //Lineout3.append(QChar(34));
Lineout3.append(" x=");
Lineout3.append(QChar(34));
@@ -634,7 +634,12 @@
Lineout2="";
- Lineout2=" ";
+ Lineout2.append(" ");
+ Lineout2.append(" ");
+ Lineout2.append("</elements>");
+ Lineout2.append('\n');
+
+ Lineout2.append(" ");
Lineout2.append("</diagram>");
Lineout2.append('\n');
@@ -757,6 +762,10 @@
Lineout2.append("/>");
Lineout2.append('\n');
+ Lineout2.append(" ");
+ Lineout2.append(" ");
+ Lineout2.append("<elements>");
+ Lineout2.append('\n');
return Lineout2;
}