[qet] [3780] dxf converter

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3780
Author:   rdsivd
Date:     2015-03-01 23:11:04 +0100 (Sun, 01 Mar 2015)
Log Message:
-----------
dxf converter
updated dxf to qet conversion

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-01 17:39:29 UTC (rev 3779)
+++ branches/dxftoelmt/src/ui/dxf_elmt_output.cpp	2015-03-01 22:11:04 UTC (rev 3780)
@@ -79,7 +79,13 @@
 
 	Lineout2="   ";
 	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("</category>");
+	Lineout2.append('\n');
 
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+
 	Lineout2.append("</category>");
 	Lineout2.append('\n');
 
@@ -93,13 +99,14 @@
 
 	Lineout2="";
 
-	Lineout2="   ";
+
+
 	Lineout2.append("   ");
 
 	Lineout2.append("<category");
 	Lineout2.append(" name=");
 	Lineout2.append(QChar(34));
-	Lineout2.append("dxfconverter");
+	Lineout2.append("import");
 	Lineout2.append(QChar(34));
 	Lineout2.append(">");
 	Lineout2.append('\n');
@@ -121,7 +128,7 @@
 	Lineout2.append(QChar(34));
 	Lineout2.append("en");
 	Lineout2.append(QChar(34));
-	Lineout2.append(">dxfconverter</name>");
+	Lineout2.append(">import</name>");
 	Lineout2.append('\n');
 
 	Lineout2.append("   ");
@@ -130,6 +137,49 @@
 
 	Lineout2.append("</names>");
 	Lineout2.append('\n');
+
+
+
+
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<category");
+	Lineout2.append(" name=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("dxfconverter");
+	Lineout2.append(QChar(34));
+	Lineout2.append(">");
+	Lineout2.append('\n');
+
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<names>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<name lang=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("en");
+	Lineout2.append(QChar(34));
+	Lineout2.append(">dxfconverter</name>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("</names>");
+	Lineout2.append('\n');
+
 	return Lineout2;
 }
 
@@ -363,6 +413,31 @@
 
 	Lineout2.append(">");
 	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<terminals>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("</terminals>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<inputs>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("</inputs>");
+	Lineout2.append('\n');
+
 	Lineout4.append(qet_elements_einde(BlockCount,  Flag,  BlockList,  Filename1));
 
 	Lineout2.append(Lineout4);
@@ -409,6 +484,30 @@
 			Lineout3.append(">");
 			Lineout3.append('\n');
 
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("<terminals>");
+			Lineout3.append('\n');
+
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("</terminals>");
+			Lineout3.append('\n');
+
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("<inputs>");
+			Lineout3.append('\n');
+
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("</inputs>");
+			Lineout3.append('\n');
+
 			Lineout3.append(qet_elements_einde(BlockCount,  Flag,  BlockList,  Filename1));
 
 			Lineout2.append(Lineout3);
@@ -477,7 +576,7 @@
 	Lineout2.append(QChar(34));
 	Lineout2.append(" displayrows=");
 	Lineout2.append(QChar(34));
-	Lineout2.append("true");
+	Lineout2.append("false");
 	Lineout2.append(QChar(34));
 	Lineout2.append(" version=");
 	Lineout2.append(QChar(34));
@@ -485,7 +584,7 @@
 	Lineout2.append(QChar(34));
 	Lineout2.append(" cols=");
 	Lineout2.append(QChar(34));
-	Lineout2.append("9");
+	Lineout2.append("16");
 	Lineout2.append(QChar(34));
 	Lineout2.append(" folio=");
 	Lineout2.append(QChar(34));//"
@@ -497,7 +596,7 @@
 	Lineout2.append(QChar(34));//"
 	Lineout2.append(" displaycols=");
 	Lineout2.append(QChar(34));
-	Lineout2.append("true");
+	Lineout2.append("false");
 	Lineout2.append(QChar(34));
 	Lineout2.append(" height=");
 	Lineout2.append(QChar(34));
@@ -866,7 +965,11 @@
 	width1=QString::number (xwidth1,'f',2);
 	height1=QString::number (xheight1,'f',2);
 
-	/* definition */
+	/*	definition
+		<definition width="860" version="0.4" hotspot_x="82"
+		hotspot_y="50" height="100" link_type="master" type="element"
+		ic="true" orientation="dyyy">
+	*/
 	Lineout2="<definition";
 
 	Lineout2.append(" width=");
@@ -910,7 +1013,7 @@
 	Lineout2.append("true");
 	Lineout2.append(QChar(34));
 
-	Lineout2.append(" lin_type=");
+	Lineout2.append(" link_type=");
 	Lineout2.append(QChar(34));
 	Lineout2.append("simple");
 	Lineout2.append(QChar(34));


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/