[qet] [3767]

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


Revision: 3767
Author:   rdsivd
Date:     2015-02-25 23:16:27 +0100 (Wed, 25 Feb 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dxftoelmt/ImportDXF.pro
    branches/dxftoelmt/src/main.cpp
    branches/dxftoelmt/src/ui/dxf_elmt_output.cpp
    branches/dxftoelmt/src/ui/dxf_elmt_output.h
    branches/dxftoelmt/src/ui/dxftoelmt.cpp
    branches/dxftoelmt/src/ui/dxftoelmt.h

Added Paths:
-----------
    branches/dxftoelmt/src/ui/dxf_form_mainwindow.ui
    branches/dxftoelmt/src/ui/dxf_mainwindow.cpp
    branches/dxftoelmt/src/ui/dxf_mainwindow.h

Removed Paths:
-------------
    branches/dxftoelmt/src/ui/mainwindow.cpp
    branches/dxftoelmt/src/ui/mainwindow.h
    branches/dxftoelmt/src/ui/mainwindow.ui

Modified: branches/dxftoelmt/ImportDXF.pro
===================================================================
--- branches/dxftoelmt/ImportDXF.pro	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/ImportDXF.pro	2015-02-25 22:16:27 UTC (rev 3767)
@@ -17,7 +17,6 @@
 CONFIG += uitools
 
 SOURCES += src/main.cpp \
-        src/ui/mainwindow.cpp \
     src/ui/dxf_ltype.cpp \
     src/ui/dxf_line.cpp \
     src/ui/dxf_data.cpp \
@@ -44,10 +43,10 @@
     src/ui/dxf_check_string_chars.cpp \
     src/ui/dxf_check_ltype.cpp \
     src/ui/dxf_solid.cpp \
-    src/ui/dxf_block.cpp
+    src/ui/dxf_block.cpp \
+    src/ui/dxf_mainwindow.cpp
 
-HEADERS += src/ui_mainwindow.h \
-        src/ui/mainwindow.h \
+HEADERS += src/ui_dxf_mainwindow.h \
     src/ui/dxf_ltype.h \
     src/ui/dxf_line.h \
     src/ui/dxf_data.h \
@@ -75,9 +74,11 @@
     src/ui/dxf_check_ltype.h \
     src/ui/dxf_solid.h \
     src/ui/dxf_block.h \
-    src/ui_mainwindow.h
+    src/ui_mainwindow.h \
+    src/ui/dxf_mainwindow.h
 
-FORMS    += src/ui/mainwindow.ui
+FORMS    += \
+    src/ui/dxf_form_mainwindow.ui
 
 
 

Modified: branches/dxftoelmt/src/main.cpp
===================================================================
--- branches/dxftoelmt/src/main.cpp	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/main.cpp	2015-02-25 22:16:27 UTC (rev 3767)
@@ -1,5 +1,5 @@
 #include <QApplication>
-#include "mainwindow.h"
+#include "dxf_mainwindow.h"
 
 int main(int argc, char *argv[])
 {

Modified: branches/dxftoelmt/src/ui/dxf_elmt_output.cpp
===================================================================
--- branches/dxftoelmt/src/ui/dxf_elmt_output.cpp	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/ui/dxf_elmt_output.cpp	2015-02-25 22:16:27 UTC (rev 3767)
@@ -4,7 +4,7 @@
 {
 }
 
-QString dxf_elmt_output::elmt(int BlockCount, int Flag, struct _Block_ACAD BlockList[], QString Filename1)
+int dxf_elmt_output::elmt(int BlockCount, int Flag, struct _Block_ACAD BlockList[], QString Filename1)
 {
 	Filename=Filename1;
 
@@ -26,9 +26,771 @@
 
 	ResultElmt.append(elmt_Eof());
 
-	return ResultElmt;
+	return Flag;
 }
 
+int dxf_elmt_output::qet(int BlockCount, int Flag, struct _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout="";
+
+	Filename=Filename1;
+
+	ResultElmt = qet_Begin( BlockCount,  Flag,  BlockList,  Filename1);
+
+	ResultElmt.append(qet_properties(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_newdiagrams(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_diagram_begin(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_elements_begin(BlockCount,  Flag,  BlockList,  Filename1));
+
+	//ResultElmt.append(qet_elements_einde(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_diagram_einde(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_collection_begin(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_category_begin(BlockCount,  Flag,  BlockList,  Filename1));
+
+	//ResultElmt.append(qet_collection_element_begin(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_collection_element(BlockCount,  Flag,  BlockList,  Filename1));
+
+	//ResultElmt.append(qet_collection_element_einde(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_category_einde(BlockCount,  Flag,  BlockList,  Filename1));
+
+	ResultElmt.append(qet_collection_einde(BlockCount,  Flag,  BlockList,  Filename1));
+
+
+
+	return Flag;
+}
+
+
+
+
+QString dxf_elmt_output::qet_category_einde(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("   ");
+
+	Lineout2.append("</category>");
+	Lineout2.append('\n');
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_category_begin(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+
+	Lineout2="";
+
+	Lineout2="   ";
+	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("<names>");
+	Lineout2.append('\n');
+
+	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("</names>");
+	Lineout2.append('\n');
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_collection_begin(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+
+	Lineout2="";
+
+	Lineout2="   ";
+
+	Lineout2.append("<collection>");
+	Lineout2.append('\n');
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_collection_element_begin(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<element");
+	Lineout2.append(" name=");
+	Lineout2.append(QChar(34));
+	Lineout2.append(Filename1);
+	Lineout2.append(QChar(34));
+	Lineout2.append(">");
+	Lineout2.append(QChar(34));
+	Lineout2.append('\n');
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_collection_element_einde(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+
+	Lineout2.append("</element>");
+
+	Lineout2.append('\n');
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_collection_element(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	int x;
+	x=0;
+
+
+	Lineout2="";
+
+
+	for (x=0 ;x<BlockCount;x++)
+	{
+
+		if (x==0 )
+		{
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("<element");
+			Lineout2.append(" name=");
+			Lineout2.append(QChar(34));
+			Lineout2.append(Filename1);
+			Lineout2.append(QChar(34));
+			Lineout2.append(">");
+
+			Lineout2.append('\n');
+
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+
+			Lineout2.append(elmt_Begin());
+
+			Lineout2.append(elmt_Taal());
+
+			Lineout2.append(elmt_Info());
+
+			Lineout2.append(BlockList[0].BlockDef);
+
+			Lineout2.append(elmt_Einde());
+
+
+
+			Lineout2.append("</element>");
+
+			Lineout2.append('\n');
+
+		}
+		else
+		{
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("<element");
+			Lineout2.append(" name=");
+			Lineout2.append(QChar(34));
+			Lineout2.append(BlockList[x].BlockName);
+			Lineout2.append(QChar(34));
+			Lineout2.append(">");
+
+			Lineout2.append('\n');
+
+
+
+
+			Part.append(BlockList[x].BlockDef);
+			Part.replace(QString("/partdescript"),QString("/description"));
+			Part.replace(QString("partdescript"),QString("description"));
+			Part.replace(QString("/part"),QString("/definition"));
+			Part.replace(QString("part"),QString("definition"));
+
+
+			Lineout2.append(Part);
+			Lineout2.append('\n');
+
+
+
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+			Lineout2.append("   ");
+
+			Lineout2.append("</element>");
+
+			Lineout2.append('\n');
+		}
+
+
+	}
+
+
+//
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_collection_einde(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("   ");
+	Lineout2.append("</collection>");
+	Lineout2.append('\n');
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_elements_begin(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	int sp1;
+	bool sp2;
+	int sp3;
+	int x;
+	x=0;
+
+	ElementsPart=BlockList[0].BlockDef;
+	ElementsName=BlockList[0].BlockName;
+	ElementsUUID=BlockList[0].BlockHandle;
+
+	ElementsLine1=ElementsPart.split("<");
+	sp1=ElementsLine1.count();
+
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("   ");
+	Lineout2.append("<element");
+
+	Lineout2.append(" x=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" y=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" type=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("embed://import/dxfconverter/");
+	Lineout2.append(Filename1);
+	Lineout2.append(".elmt");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" uuid=");
+	Lineout2.append(QChar(34));
+	Lineout2.append(QUuid::createUuid());
+	Lineout2.append(QChar(34));
+	Lineout2.append(" orientation=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));
+
+	Lineout2.append(">");
+	Lineout2.append('\n');
+	Lineout2.append(qet_elements_einde(BlockCount,  Flag,  BlockList,  Filename1));
+
+	Lineout3="";
+
+	for (x=0;x<sp1;x++)
+	{
+		Part2=ElementsLine1[x];
+		sp2=0;
+		sp2=ElementsLine1[x].contains("insertpart");
+		if (sp2==1)
+		{
+
+			ElementsLine2=ElementsLine1[x].split(QChar(34));
+
+			Lineout3.append("   ");
+			Lineout3.append("   ");
+			Lineout3.append("<element");
+
+			Lineout3.append(" x=");
+			Lineout3.append(QChar(34));
+			Lineout3.append(ElementsLine2[1]);
+			Lineout3.append(QChar(34));
+			Lineout3.append(" y=");
+			Lineout3.append(QChar(34));
+			Lineout3.append(ElementsLine2[3]);
+			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));
+			Lineout3.append(QUuid::createUuid());
+			Lineout3.append(QChar(34));
+			Lineout3.append(" orientation=");
+			Lineout3.append(QChar(34));
+			Lineout3.append(ElementsLine2[7]);
+			Lineout3.append(QChar(34));
+
+			Lineout3.append(">");
+			Lineout3.append('\n');
+
+			Lineout3.append(qet_elements_einde(BlockCount,  Flag,  BlockList,  Filename1));
+
+			Lineout2.append(Lineout3);
+			Lineout3="";
+		}
+
+
+
+	}
+
+
+
+
+
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_elements_einde(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout2="";
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("</element>");
+	Lineout2.append('\n');
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_diagram_einde(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("</diagram>");
+	Lineout2.append('\n');
+
+	return Lineout2;
+
+}
+
+QString dxf_elmt_output::qet_diagram_begin(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+
+	/*  <diagram title="" displayrows="true" version="0.4" cols="16" folio="%id/%total"
+	displaycols="true" height="1020" colsize="100" order="1" rows="10" author="rds"
+	filename="" date="20141011" rowsize="100">*/
+
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("<diagram");
+
+	Lineout2.append(" title=");
+	Lineout2.append(QChar(34));
+	Lineout2.append(Filename);
+	Lineout2.append(QChar(34));
+	Lineout2.append(" displayrows=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("true");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" version=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("0.4");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" cols=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("9");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" folio=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(QChar(37));//%
+	Lineout2.append("id");
+	Lineout2.append(QChar(47));//"
+	Lineout2.append(QChar(37));//%
+	Lineout2.append("total");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" displaycols=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("true");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" height=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("820");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" colsize=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("100");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" order=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("1");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" rows=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("8");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" author=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("dxfconverter");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" filename=");
+	Lineout2.append(QChar(34));
+	Lineout2.append(Filename);
+	Lineout2.append(QChar(34));
+	Lineout2.append(" date=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("20150101");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" rowsize=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("100");
+	Lineout2.append(QChar(34));
+	Lineout2.append(">");
+	Lineout2.append('\n');
+
+	/*  <defaultconductor num="_" vertirotatetext="270" displaytext="1" type="multi"
+	  horizrotatetext="0" numsize="6" onetextperfolio="1"/>*/
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<defaultconductor");
+	Lineout2.append(" num=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("_");
+	Lineout2.append(QChar(34));//"
+
+	Lineout2.append(" vertirotatetext=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("270");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" displaytext=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("1");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" type=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("multi");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" horizrotatetext=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" numsize=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("7");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" onetextperfolio=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("/>");
+	Lineout2.append('\n');
+
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_Begin(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	//<project folioSheetQuantity="0" title="" version="0.4">
+
+	Lineout2="";
+
+	Lineout2="<project folioSheetQuantity=";
+	Lineout2.append(QChar(34));
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" title=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("dxfconverted file");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" version=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("0.4");
+	Lineout2.append(QChar(34));
+	Lineout2.append(">");
+	Lineout2.append('\n');
+
+
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_properties(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("<properties/>");
+	Lineout2.append('\n');
+
+	return Lineout2;
+}
+
+QString dxf_elmt_output::qet_newdiagrams(int BlockCount, int Flag, _Block_ACAD BlockList[], QString Filename1)
+{
+	Lineout2="";
+
+	Lineout2="   ";
+	Lineout2.append("<newdiagrams>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<border");
+	Lineout2.append(" displayrows=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("true");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" cols=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("9");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" displaycols=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("true");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" colsize=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("100");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" rows=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("8");
+	Lineout2.append(QChar(34));
+	Lineout2.append(" rowsize=");
+	Lineout2.append(QChar(34));
+	Lineout2.append("100");
+	Lineout2.append(QChar(34));
+	Lineout2.append("/>");
+	Lineout2.append('\n');
+
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<inset");
+	Lineout2.append(" title=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" folio=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(QChar(37));//%
+	Lineout2.append("id");
+	Lineout2.append(QChar(47));//"
+	Lineout2.append(QChar(37));//%
+	Lineout2.append("total");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" author=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" filename=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" date=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("now");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("/>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<conductors");
+	Lineout2.append(" num=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("_");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" vertirotatetext=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("270");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" displaytext=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("1");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" type=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("multi");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" horizrotatetext=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" numsize=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("7");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" onetextperfolio=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("0");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("/>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<report");
+	Lineout2.append(" label=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(QChar(37));//%
+	Lineout2.append("f-");
+	Lineout2.append(QChar(37));//%
+	Lineout2.append("l");
+	Lineout2.append(QChar(37));//%
+	Lineout2.append("c");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("/>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<xrefs>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<xref");
+	Lineout2.append(" snapto=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("bottom");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" switchprefix=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" powerprefix=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" displayhas=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("cross");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" type=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("protection");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" showpowerctc=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("true");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" delayprefix=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("/>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<xref");
+	Lineout2.append(" snapto=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("bottom");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" switchprefix=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" powerprefix=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" displayhas=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("cross");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" type=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("coil");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" showpowerctc=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("true");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append(" delayprefix=");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("");
+	Lineout2.append(QChar(34));//"
+	Lineout2.append("/>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("</xrefs>");
+	Lineout2.append('\n');
+
+	Lineout2.append("   ");
+	Lineout2.append("   ");
+	Lineout2.append("<conductors_autonums/>");
+	Lineout2.append('\n');
+
+
+	Lineout2.append("   ");
+	Lineout2.append("</newdiagrams>");
+	Lineout2.append('\n');
+
+
+	return Lineout2;
+}
+
+
+
+
 QString dxf_elmt_output::elmt_Begin()
 {
 
@@ -220,9 +982,9 @@
 	Lineout.append('\n');
 
 
+	/*Lineout.append("   ");
 	Lineout.append("   ");
 	Lineout.append("   ");
-	Lineout.append("   ");
 	Lineout.append("<name lang=");
 	Lineout.append(QChar(34));
 	Lineout.append("fr");
@@ -230,7 +992,7 @@
 	Lineout.append(">");
 	Lineout.append(Filename);
 	Lineout.append("</name>");
-	Lineout.append('\n');
+	Lineout.append('\n');*/
 
 	Lineout.append("   ");
 	Lineout.append("   ");
@@ -244,9 +1006,9 @@
 	Lineout.append("</name>");
 	Lineout.append('\n');
 
+	/*Lineout.append("   ");
 	Lineout.append("   ");
 	Lineout.append("   ");
-	Lineout.append("   ");
 	Lineout.append("<name lang=");
 	Lineout.append(QChar(34));
 	Lineout.append("be");
@@ -422,7 +1184,7 @@
 	Lineout.append(">");
 	Lineout.append(Filename);
 	Lineout.append("</name>");
-	Lineout.append('\n');
+	Lineout.append('\n');*/
 
 
 	Lineout.append("   ");

Modified: branches/dxftoelmt/src/ui/dxf_elmt_output.h
===================================================================
--- branches/dxftoelmt/src/ui/dxf_elmt_output.h	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/ui/dxf_elmt_output.h	2015-02-25 22:16:27 UTC (rev 3767)
@@ -3,7 +3,6 @@
 
 #include <QtCore>
 #include "dxf_data.h"
-#include "ui_mainwindow.h"
 
 class dxf_elmt_output: public DXF_Data
 {
@@ -23,12 +22,31 @@
 	QString ResultElmt2;
 	QString Filename;
 
+	QString Lineout2;
+	QString Lineout3;
+	QString Part;
+	QString ElementsPart;
+	QString ElementsName;
+	QString ElementsUUID;
+	QStringList ElementsLine1;
+	QStringList ElementsLine2;
+	QString Part2;
+	QStringList x_list;
+	QStringList y_list;
+	QString Split;
 
+	QString QET_width;
+	QString QET_height;
+	QString QET_x;
+	QString QET_y;
 
 
+
+
+
 	dxf_elmt_output();
 
-	QString elmt(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	int elmt(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
 	QString elmt_Begin();
 	QString elmt_Einde();
 	QString elmt_Eof();
@@ -36,9 +54,34 @@
 	QString elmt_Info();
 	QString elmt_BlockCreation(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
 	QString elmt_BlockCreationBegin(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
-
 	QString elmt_BlockCreationEinde(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
 
+
+
+
+	int qet(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_Begin(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_properties(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_newdiagrams(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_diagram_begin(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_diagram_einde(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_elements_begin(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_element(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_elements_einde(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_shapes();
+	QString qet_collection_begin(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_collection_element(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_collection_element_begin(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_collection_element_einde(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_collection_einde(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_category_begin(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+	QString qet_category_einde(int BlockCount, int Flag, struct _Block_ACAD BlockList[2000], QString Filename1);
+
+
+
+
+
+
 };
 
 #endif // DXF_ELMT_OUTPUT_H

Copied: branches/dxftoelmt/src/ui/dxf_form_mainwindow.ui (from rev 3715, branches/dxftoelmt/src/ui/mainwindow.ui)
===================================================================
--- branches/dxftoelmt/src/ui/dxf_form_mainwindow.ui	                        (rev 0)
+++ branches/dxftoelmt/src/ui/dxf_form_mainwindow.ui	2015-02-25 22:16:27 UTC (rev 3767)
@@ -0,0 +1,225 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <author>Ronny Desmedt</author>
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>1088</width>
+    <height>669</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>DXF to ELMT / QET converter</string>
+  </property>
+  <widget class="QWidget" name="centralWidget">
+   <layout class="QVBoxLayout" name="verticalLayout">
+    <item>
+     <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0,0,0">
+      <property name="horizontalSpacing">
+       <number>5</number>
+      </property>
+      <property name="verticalSpacing">
+       <number>6</number>
+      </property>
+      <item row="4" column="3">
+       <widget class="QLineEdit" name="ExportFile"/>
+      </item>
+      <item row="7" column="4">
+       <widget class="QPlainTextEdit" name="ExportToQet">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="2">
+       <widget class="QPushButton" name="m_save_elmt_pb">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>save to elmt file</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0" colspan="2">
+       <widget class="QLabel" name="label_3">
+        <property name="text">
+         <string>Binary DXF can not be converted !!!</string>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="1">
+       <widget class="QLineEdit" name="SectionCount1">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="3">
+       <widget class="QLineEdit" name="m_elmt_name_le"/>
+      </item>
+      <item row="5" column="2">
+       <widget class="QLabel" name="label_4">
+        <property name="text">
+         <string>element name :</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="1">
+       <widget class="QLineEdit" name="LineCountDXF"/>
+      </item>
+      <item row="5" column="0">
+       <widget class="QLabel" name="labelSectionCount">
+        <property name="text">
+         <string>Section count</string>
+        </property>
+       </widget>
+      </item>
+      <item row="4" column="0">
+       <widget class="QLabel" name="label">
+        <property name="text">
+         <string>Import file path :</string>
+        </property>
+       </widget>
+      </item>
+      <item row="4" column="1">
+       <widget class="QLineEdit" name="m_import_file_path_le">
+        <property name="maximumSize">
+         <size>
+          <width>16777165</width>
+          <height>16777215</height>
+         </size>
+        </property>
+        <property name="toolTipDuration">
+         <number>-1</number>
+        </property>
+       </widget>
+      </item>
+      <item row="7" column="0" colspan="2">
+       <widget class="QTextEdit" name="ImportDXF">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
+      </item>
+      <item row="4" column="2">
+       <widget class="QLabel" name="label_2">
+        <property name="text">
+         <string>Export directory path :</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="0">
+       <widget class="QPushButton" name="m_load_dxf_pb">
+        <property name="text">
+         <string>Load DXF file</string>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="4">
+       <widget class="QLineEdit" name="dxfLineCounter"/>
+      </item>
+      <item row="3" column="4">
+       <widget class="QPushButton" name="m_save_qet_pb">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>save to qet file</string>
+        </property>
+       </widget>
+      </item>
+      <item row="7" column="2" colspan="2">
+       <widget class="QTextEdit" name="ExportToELMT">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
+      </item>
+      <item row="8" column="0" colspan="5">
+       <widget class="QTextEdit" name="ProcesLog">
+        <property name="enabled">
+         <bool>true</bool>
+        </property>
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="minimumSize">
+         <size>
+          <width>0</width>
+          <height>10</height>
+         </size>
+        </property>
+        <property name="maximumSize">
+         <size>
+          <width>16777215</width>
+          <height>100</height>
+         </size>
+        </property>
+        <property name="baseSize">
+         <size>
+          <width>0</width>
+          <height>50</height>
+         </size>
+        </property>
+        <property name="frameShadow">
+         <enum>QFrame::Sunken</enum>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QMenuBar" name="menuBar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>1088</width>
+     <height>23</height>
+    </rect>
+   </property>
+  </widget>
+  <widget class="QToolBar" name="mainToolBar">
+   <attribute name="toolBarArea">
+    <enum>TopToolBarArea</enum>
+   </attribute>
+   <attribute name="toolBarBreak">
+    <bool>false</bool>
+   </attribute>
+  </widget>
+  <widget class="QStatusBar" name="statusBar">
+   <property name="autoFillBackground">
+    <bool>true</bool>
+   </property>
+  </widget>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <resources/>
+ <connections/>
+</ui>

Copied: branches/dxftoelmt/src/ui/dxf_mainwindow.cpp (from rev 3715, branches/dxftoelmt/src/ui/mainwindow.cpp)
===================================================================
--- branches/dxftoelmt/src/ui/dxf_mainwindow.cpp	                        (rev 0)
+++ branches/dxftoelmt/src/ui/dxf_mainwindow.cpp	2015-02-25 22:16:27 UTC (rev 3767)
@@ -0,0 +1,176 @@
+#include "dxf_mainwindow.h"
+#include "ui_dxf_form_mainwindow.h"
+#include "QTextStream"
+#include <QFileDialog>
+#include "dxf_elmt_output.h"
+#include "dxf_data.h"
+
+#if QT_VERSION >= 0x050000
+	#include <QtWidgets>
+#else
+	#include <QMessageBox>
+#endif
+
+
+MainWindow::MainWindow(QWidget *parent) :
+    QMainWindow(parent),
+    ui(new Ui::MainWindow)
+{
+
+    ui->setupUi(this);
+
+}
+
+MainWindow::~MainWindow()
+{
+    delete ui;
+}
+
+
+void MainWindow::loadFile()
+{
+
+	ProcesLog2="loadfile";
+
+    QFileDialog dialog(this);
+    dialog.setNameFilter(tr("DXF files (*.dxf *.DXF)"));
+    dialog.setFileMode(QFileDialog::ExistingFile);
+    dialog.setViewMode(QFileDialog::Detail);
+
+    if (dialog.exec() == QDialog::Accepted) {
+        m_file_path = dialog.selectedFiles().first();
+        m_path_dir = dialog.directory().absolutePath();
+
+		StatusBarMessage="Read DXF file for convertion";
+
+		ProcesLog2.append(StatusBarMessage);
+
+		ui->statusBar->clearMessage();
+		ui->statusBar->showMessage(StatusBarMessage );
+		ui->statusBar->repaint();
+
+        QFile file(m_file_path);
+        if (!file.open(QFile::ReadOnly | QFile::Text)) {
+            QMessageBox::warning(this, tr("Application"),
+					  tr("Cannot read file %1:\n%2.").arg(m_file_path).arg(file.errorString()));
+            return;
+        }
+
+		ui->m_import_file_path_le -> setPlaceholderText(m_file_path);
+        ui->ExportFile->setPlaceholderText(m_path_dir);
+
+
+
+		QTextStream in(&file);
+		QString textAll = in.readAll();
+
+		ui->ImportDXF->setPlainText(textAll);
+		ui->ImportDXF->show();
+		ui->ImportDXF->repaint();
+
+		Filename = fillElmtName();
+
+		ui->statusBar->clearMessage();
+
+		ui->ExportToELMT->clear();
+
+		//Filename=ui->m_elmt_name_le->placeholderText();
+
+		StatusBarMessage="Start of DXF convertion";
+		ProcesLog2.append(StatusBarMessage);
+
+		ui->statusBar->clearMessage();
+		ui->statusBar->showMessage(StatusBarMessage );
+		ui->statusBar->repaint();
+
+		//ui->ProcesLog->setPlainText(StatusBarMessage);
+
+
+		dxfTOelmt ConvertDXF;
+
+
+		 ConvertDXF.m_file_path=m_file_path;
+		 ConvertDXF.m_path_dir=m_path_dir;
+		 ConvertDXF.Filename1=Filename;
+
+		 Flag=ConvertDXF.CreateElmt();
+
+		 ElmtResult=ConvertDXF.ElmtResult;
+		 QetResult=ConvertDXF.QetResult;
+
+
+		 ui->ExportToELMT->setPlainText(ElmtResult);
+		 ui->ExportToELMT->repaint();
+
+		 ui->ExportToQet->setPlainText(QetResult);
+		 ui->ExportToQet->repaint();
+
+
+		 StatusBarMessage="End of DXF convertion";
+		 ProcesLog2.append(StatusBarMessage);
+
+		 ui->statusBar->clearMessage();
+		 ui->statusBar->showMessage(StatusBarMessage );
+		 ui->statusBar->repaint();
+
+		 ui->ProcesLog->setPlainText(ProcesLog2);
+		 ui->ProcesLog->repaint();
+	return;
+
+    }
+}
+
+
+QString MainWindow::fillElmtName()
+{
+    QString name = m_file_path.split("/").last();
+    name.remove(".dxf");
+    ui->m_elmt_name_le->setText(name);
+	return name;
+}
+
+void MainWindow::on_m_save_elmt_pb_clicked() {
+
+    QFile file(m_path_dir + "/" + ui->m_elmt_name_le->text() + ".elmt");
+    if (!file.open(QFile::WriteOnly | QFile::Text)) {
+        QMessageBox::warning(this, tr("Application"),
+                             tr("Cannot write file %1:\n%2.")
+                             .arg(m_path_dir)
+                             .arg(file.errorString()));
+        return;
+    }
+
+    QTextStream out(&file);
+    out << ui->ExportToELMT->toPlainText();
+
+    file.close();
+	QMessageBox::information(this, tr("Export as elmt file"), tr("L'\351l\351ment %1 \340 bien \351t\351 enregistr\351").arg(ui->m_elmt_name_le->text()));
+}
+
+void MainWindow::on_m_load_dxf_pb_clicked()
+{
+     loadFile();
+}
+
+void MainWindow::on_LineCountDXF_textEdited(const QString &arg1)
+{
+
+}
+
+void MainWindow::on_m_save_qet_pb_clicked()
+{
+	QFile file(m_path_dir + "/" + ui->m_elmt_name_le->text() + ".qet");
+	if (!file.open(QFile::WriteOnly | QFile::Text)) {
+		QMessageBox::warning(this, tr("Application"),
+							 tr("Cannot write file %1:\n%2.")
+							 .arg(m_path_dir)
+							 .arg(file.errorString()));
+		return;
+	}
+
+	QTextStream out(&file);
+	out << ui->ExportToQet->toPlainText();
+
+	file.close();
+	QMessageBox::information(this, tr("Export as qet file"), tr("L'\351l\351ment %1 \340 bien \351t\351 enregistr\351").arg(ui->m_elmt_name_le->text()));
+}

Copied: branches/dxftoelmt/src/ui/dxf_mainwindow.h (from rev 3715, branches/dxftoelmt/src/ui/mainwindow.h)
===================================================================
--- branches/dxftoelmt/src/ui/dxf_mainwindow.h	                        (rev 0)
+++ branches/dxftoelmt/src/ui/dxf_mainwindow.h	2015-02-25 22:16:27 UTC (rev 3767)
@@ -0,0 +1,73 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+#include "dxftoelmt.h"
+
+QT_BEGIN_NAMESPACE
+    class QPlainTextEdit;
+QT_END_NAMESPACE
+
+
+namespace Ui {
+class MainWindow;
+}
+
+class MainWindow : public QMainWindow,  DXF_Data
+{
+    Q_OBJECT
+
+public:
+    explicit MainWindow(QWidget *parent = 0);
+    ~MainWindow();
+
+
+	int VectorCount;
+	int Flag;
+
+	QString StatusConvertion;
+	QString StatusBarMessage;
+	QString Filename;
+	QString ProcesLog1;
+	QString ProcesLog2;
+
+	QString ElmtResult;
+	QString QetResult;
+
+	Ui::MainWindow *ui;
+
+
+private slots:
+
+    void on_m_save_elmt_pb_clicked();
+    void on_m_load_dxf_pb_clicked();
+
+
+
+	void on_LineCountDXF_textEdited(const QString &arg1);
+
+	void on_m_save_qet_pb_clicked();
+
+	signals:
+
+
+
+private:
+
+	//Ui::MainWindow *ui;
+
+
+
+    void loadFile();
+	//void createElmt();
+	QString fillElmtName();
+
+    QString m_file_path, m_path_dir;
+
+
+
+
+
+};
+
+#endif // MAINWINDOW_H

Modified: branches/dxftoelmt/src/ui/dxftoelmt.cpp
===================================================================
--- branches/dxftoelmt/src/ui/dxftoelmt.cpp	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/ui/dxftoelmt.cpp	2015-02-25 22:16:27 UTC (rev 3767)
@@ -4,9 +4,11 @@
 {
 }
 
-QString dxfTOelmt::CreateElmt()
+int dxfTOelmt::CreateElmt()
 {
 
+
+
 	ProcesAddLog="Start convertion of dxf file /n";
 
 
@@ -46,6 +48,10 @@
 	ActiveSection=0;
 	BlockCount=1;
 
+//statusBar()->showMessage(tr("Projet %1 enregistr\351 dans le repertoire: %2.").arg(title).arg (filePath), 2000);
+
+	Wstatus.showMessage(QString::number(dxfLineCounter));
+
 	while (!ReadLine.isNull())
 	{
 		Aantal_Tekens = Line2.length();
@@ -59,6 +65,8 @@
 			Line2=ReadLine;
 			dxfLineCounter=dxfLineCounter+2;
 
+			Wstatus.showMessage(QString::number(dxfLineCounter));
+
 /* HEADER SECTION of DXF file */
 
 			Aantal_Tekens = Line2.length();
@@ -82,6 +90,7 @@
 					LineCount1=LineCount1+1;
 					dxfLineCounter=dxfLineCounter+2;
 
+					Wstatus.showMessage(QString::number(dxfLineCounter));
 
 					Aantal_Tekens = Line2.length();
 					switch1=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDSEC", Qt::CaseSensitive)and Aantal_Tekens==6);
@@ -124,6 +133,8 @@
 					Line2=ReadLine;
 					dxfLineCounter=dxfLineCounter+2;
 
+					Wstatus.showMessage(QString::number(dxfLineCounter));
+
 					Aantal_Tekens = Line2.length();
 					switch2=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDSEC", Qt::CaseSensitive)and Aantal_Tekens==6);
 
@@ -163,8 +174,10 @@
 					Line2=ReadLine;
 					dxfLineCounter=dxfLineCounter+2;
 
+					Wstatus.showMessage(QString::number(dxfLineCounter));
 
 
+
 					Aantal_Tekens = Line2.length();
 					if (Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("LTYPE", Qt::CaseSensitive)and Aantal_Tekens==5)
 					{
@@ -188,7 +201,9 @@
 							LineCount2=LineCount2+1;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
 
+
 							Aantal_Tekens = Line2.length();
 							switch3=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDTAB", Qt::CaseSensitive)and Aantal_Tekens==6);
 							if (LineCount2>=2000)
@@ -225,7 +240,9 @@
 							LineCount3=LineCount3+1;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
 
+
 							Aantal_Tekens = Line2.length();
 							switch4=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDTAB", Qt::CaseSensitive)and Aantal_Tekens==6);
 							if (LineCount3>=2000)
@@ -290,6 +307,8 @@
 				Line2=ReadLine;
 				dxfLineCounter=dxfLineCounter+2;
 
+				Wstatus.showMessage(QString::number(dxfLineCounter));
+
 				Aantal_Tekens = Line2.length();
 				switch2=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDSEC", Qt::CaseSensitive)and Aantal_Tekens==6);
 
@@ -318,6 +337,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -337,6 +358,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -441,6 +464,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -460,6 +485,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -499,6 +526,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -520,6 +549,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -554,6 +585,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -575,6 +608,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -610,6 +645,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -631,6 +668,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -670,6 +709,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -691,6 +732,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -731,6 +774,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -752,6 +797,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -783,6 +830,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -803,6 +852,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -845,6 +896,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -861,6 +914,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -891,6 +946,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -912,6 +969,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -942,6 +1001,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -963,6 +1024,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -993,6 +1056,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -1014,6 +1079,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -1063,6 +1130,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -1082,6 +1151,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -1132,6 +1203,8 @@
 								Line2=ReadLine;
 								dxfLineCounter=dxfLineCounter+2;
 
+								Wstatus.showMessage(QString::number(dxfLineCounter));
+
 								LineTable5[LineCount5].Line1=Line1;
 								LineTable5[LineCount5].Line2=Line2;
 								LineCount5=LineCount5+1;
@@ -1151,6 +1224,8 @@
 									Line2=ReadLine;
 									dxfLineCounter=dxfLineCounter+2;
 
+									Wstatus.showMessage(QString::number(dxfLineCounter));
+
 									LineTable5[LineCount5].Line1=Line1;
 									LineTable5[LineCount5].Line2=Line2;
 									LineCount5=LineCount5+1;
@@ -1203,6 +1278,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable6[LineCount6].Line1=Line1;
 							LineTable6[LineCount6].Line2=Line2;
 							LineCount6=LineCount6+1;
@@ -1222,6 +1299,8 @@
 								Line2=ReadLine;
 								dxfLineCounter=dxfLineCounter+2;
 
+								Wstatus.showMessage(QString::number(dxfLineCounter));
+
 								LineTable6[LineCount6].Line1=Line1;
 								LineTable6[LineCount6].Line2=Line2;
 								LineCount6=LineCount6+1;
@@ -1267,6 +1346,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1287,6 +1368,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1317,6 +1400,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -1337,6 +1422,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -1375,6 +1462,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1396,6 +1485,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1426,6 +1517,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1448,6 +1541,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1478,6 +1573,10 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+
+
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1499,6 +1598,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1529,6 +1630,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1550,6 +1653,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1580,6 +1685,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1601,6 +1708,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1631,6 +1740,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1652,6 +1763,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1682,6 +1795,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1703,6 +1818,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1733,6 +1850,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1754,6 +1873,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1784,6 +1905,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1804,6 +1927,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1834,6 +1959,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1855,6 +1982,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1885,6 +2014,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1905,6 +2036,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1935,6 +2068,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -1956,6 +2091,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -1986,6 +2123,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2007,6 +2146,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2037,6 +2178,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2058,6 +2201,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2088,6 +2233,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2109,6 +2256,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2140,6 +2289,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2161,6 +2312,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2191,6 +2344,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2211,6 +2366,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2255,6 +2412,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2276,6 +2435,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2307,6 +2468,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2328,6 +2491,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2359,6 +2524,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2380,6 +2547,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2424,6 +2593,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2443,6 +2614,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2516,6 +2689,8 @@
 				Line2=ReadLine;
 				dxfLineCounter=dxfLineCounter+2;
 
+				Wstatus.showMessage(QString::number(dxfLineCounter));
+
 				while(switch2==false)
 				{
 
@@ -2529,6 +2704,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2548,6 +2725,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2587,6 +2766,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2608,6 +2789,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2642,6 +2825,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2663,6 +2848,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2698,6 +2885,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2719,6 +2908,9 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2758,6 +2950,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2777,6 +2971,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2815,6 +3011,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2836,6 +3034,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2876,6 +3076,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -2896,6 +3098,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -2938,6 +3142,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -2954,6 +3160,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -2984,6 +3192,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3005,6 +3215,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3035,6 +3247,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -3056,6 +3270,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -3097,6 +3313,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -3118,6 +3336,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -3167,6 +3387,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -3186,6 +3408,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -3236,6 +3460,8 @@
 								Line2=ReadLine;
 								dxfLineCounter=dxfLineCounter+2;
 
+								Wstatus.showMessage(QString::number(dxfLineCounter));
+
 								LineTable5[LineCount5].Line1=Line1;
 								LineTable5[LineCount5].Line2=Line2;
 								LineCount5=LineCount5+1;
@@ -3255,6 +3481,8 @@
 									Line2=ReadLine;
 									dxfLineCounter=dxfLineCounter+2;
 
+									Wstatus.showMessage(QString::number(dxfLineCounter));
+
 									LineTable5[LineCount5].Line1=Line1;
 									LineTable5[LineCount5].Line2=Line2;
 									LineCount5=LineCount5+1;
@@ -3307,6 +3535,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable6[LineCount6].Line1=Line1;
 							LineTable6[LineCount6].Line2=Line2;
 							LineCount6=LineCount6+1;
@@ -3326,6 +3556,8 @@
 								Line2=ReadLine;
 								dxfLineCounter=dxfLineCounter+2;
 
+								Wstatus.showMessage(QString::number(dxfLineCounter));
+
 								LineTable6[LineCount6].Line1=Line1;
 								LineTable6[LineCount6].Line2=Line2;
 								LineCount6=LineCount6+1;
@@ -3371,6 +3603,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3391,6 +3625,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3421,6 +3657,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -3441,6 +3679,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -3479,6 +3719,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3500,6 +3742,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3530,6 +3774,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3552,6 +3798,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3582,6 +3830,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3603,6 +3853,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3633,6 +3885,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3654,6 +3908,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3684,6 +3940,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3705,6 +3963,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3735,6 +3995,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3756,6 +4018,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3786,6 +4050,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3807,6 +4073,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3837,6 +4105,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3858,6 +4128,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3888,6 +4160,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3908,6 +4182,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3938,6 +4214,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -3959,6 +4237,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -3989,6 +4269,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4009,6 +4291,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4039,6 +4323,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4060,6 +4346,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4090,6 +4378,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4111,6 +4401,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4141,6 +4433,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4162,6 +4456,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4192,6 +4488,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4213,6 +4511,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4244,6 +4544,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4265,6 +4567,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4295,6 +4599,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						LineTable4[LineCount4].Line1=Line1;
 						LineTable4[LineCount4].Line2=Line2;
 						LineCount4=LineCount4+1;
@@ -4315,6 +4621,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							LineTable4[LineCount4].Line1=Line1;
 							LineTable4[LineCount4].Line2=Line2;
 							LineCount4=LineCount4+1;
@@ -4359,6 +4667,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4380,6 +4690,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4411,6 +4723,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4432,6 +4746,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4463,6 +4779,8 @@
 						Line2=ReadLine;
 						dxfLineCounter=dxfLineCounter+2;
 
+						Wstatus.showMessage(QString::number(dxfLineCounter));
+
 						//LineTable4[LineCount4].Line1=Line1;
 						//LineTable4[LineCount4].Line2=Line2;
 						//LineCount4=LineCount4+1;
@@ -4484,6 +4802,8 @@
 							Line2=ReadLine;
 							dxfLineCounter=dxfLineCounter+2;
 
+							Wstatus.showMessage(QString::number(dxfLineCounter));
+
 							//LineTable4[LineCount4].Line1=Line1;
 							//LineTable4[LineCount4].Line2=Line2;
 							//LineCount4=LineCount4+1;
@@ -4520,6 +4840,9 @@
 				ReadLine=in.readLine();
 				Line2=ReadLine;
 				dxfLineCounter=dxfLineCounter+2;
+
+				Wstatus.showMessage(QString::number(dxfLineCounter));
+
 				switch10=0;
 
 			}
@@ -4543,6 +4866,8 @@
 					Line2=ReadLine;
 					dxfLineCounter=dxfLineCounter+2;
 
+					Wstatus.showMessage(QString::number(dxfLineCounter));
+
 					Aantal_Tekens = Line2.length();
 					switch2=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDSEC", Qt::CaseSensitive)and Aantal_Tekens==6);
 
@@ -4554,6 +4879,8 @@
 				Line2=ReadLine;
 				dxfLineCounter=dxfLineCounter+2;
 
+				Wstatus.showMessage(QString::number(dxfLineCounter));
+
 			}
 
 
@@ -4576,6 +4903,8 @@
 					Line2=ReadLine;
 					dxfLineCounter=dxfLineCounter+2;
 
+					Wstatus.showMessage(QString::number(dxfLineCounter));
+
 					Aantal_Tekens = Line2.length();
 					switch2=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDSEC", Qt::CaseSensitive)and Aantal_Tekens==6);
 
@@ -4587,9 +4916,47 @@
 				Line2=ReadLine;
 				dxfLineCounter=dxfLineCounter+2;
 
+				Wstatus.showMessage(QString::number(dxfLineCounter));
+
 			}
 
+/* THUMBNAILIMAGE SECTION of DXF file */
 
+			Aantal_Tekens = Line2.length();
+			if (Line1.contains(" 2", Qt::CaseSensitive) and Line2.contains("THUMBNAILIMAGE", Qt::CaseSensitive)and Aantal_Tekens==14)
+			{
+				ActiveSection=7;
+
+				Aantal_Tekens = Line2.length();
+				switch2=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDSEC", Qt::CaseSensitive)and Aantal_Tekens==6);
+
+				while(switch2==false)
+				{
+
+					ReadLine=in.readLine();
+					Line1=ReadLine;
+					ReadLine=in.readLine();
+					Line2=ReadLine;
+					dxfLineCounter=dxfLineCounter+2;
+
+					Wstatus.showMessage(QString::number(dxfLineCounter));
+
+					Aantal_Tekens = Line2.length();
+					switch2=(Line1.contains(" 0", Qt::CaseSensitive) and Line2.contains("ENDSEC", Qt::CaseSensitive)and Aantal_Tekens==6);
+
+				}
+
+				ReadLine=in.readLine();
+				Line1=ReadLine;
+				ReadLine=in.readLine();
+				Line2=ReadLine;
+				dxfLineCounter=dxfLineCounter+2;
+
+				Wstatus.showMessage(QString::number(dxfLineCounter));
+
+			}
+
+
 /* ENDSEC of DXF file */
 
 			Aantal_Tekens = Line2.length();
@@ -4601,7 +4968,9 @@
 				Line2=ReadLine;
 				dxfLineCounter=dxfLineCounter+2;
 
+				Wstatus.showMessage(QString::number(dxfLineCounter));
 
+
 			}
 
 /* EOF of DXF file */
@@ -4615,6 +4984,8 @@
 				ReadLine=in.readLine();
 				Line2=ReadLine;
 				dxfLineCounter=dxfLineCounter+2;
+
+				Wstatus.showMessage(QString::number(dxfLineCounter));
 			}
 
 
@@ -4625,13 +4996,18 @@
 	dxf_elmt_output CreateOutputElmt;
 	CreateOutputElmt.Filename=Filename1;
 
-	ElmtResult = CreateOutputElmt.elmt(BlockCount, Flag, BlockList, Filename1);
+	Flag = CreateOutputElmt.elmt(BlockCount, Flag, BlockList, Filename1);
 
+	ElmtResult=CreateOutputElmt.ResultElmt;
 
+	Flag = CreateOutputElmt.qet(BlockCount, Flag, BlockList, Filename1);
 
+	QetResult=CreateOutputElmt.ResultElmt;
+
 	//StatusBarMessage="end of conversion";
 
-	return ElmtResult;
+	return Flag;
+
 }
 
 void dxfTOelmt::Selector()

Modified: branches/dxftoelmt/src/ui/dxftoelmt.h
===================================================================
--- branches/dxftoelmt/src/ui/dxftoelmt.h	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/ui/dxftoelmt.h	2015-02-25 22:16:27 UTC (rev 3767)
@@ -4,10 +4,10 @@
 #include <QtCore>
 #include <QFileDialog>
 #include <QtUiTools>
-#include <qmainwindow.h>
+#include <QStatusBar>
 #include "QTextStream"
 #include <QMessageBox>
-#include "mainwindow.h"
+
 #include "dxf_data.h"
 #include "dxf_header.h"
 #include "dxf_ltype.h"
@@ -38,6 +38,7 @@
 
 	public:
 
+	QStatusBar Wstatus;
 
 	//Ui::MainWindow *ui;
 
@@ -70,10 +71,11 @@
 	QString ProcesAddLog;
 
 	QString ElmtResult;
+	QString QetResult;
 
 	dxfTOelmt();
 
-	QString CreateElmt();
+	int CreateElmt();
 
 	QTextStream in;
 

Deleted: branches/dxftoelmt/src/ui/mainwindow.cpp
===================================================================
--- branches/dxftoelmt/src/ui/mainwindow.cpp	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/ui/mainwindow.cpp	2015-02-25 22:16:27 UTC (rev 3767)
@@ -1,148 +0,0 @@
-#include "mainwindow.h"
-#include "ui_mainwindow.h"
-#include "QTextStream"
-#include <QFileDialog>
-
-
-
-#if QT_VERSION >= 0x050000
-	#include <QtWidgets>
-#else
-	#include <QMessageBox>
-#endif
-
-
-MainWindow::MainWindow(QWidget *parent) :
-    QMainWindow(parent),
-    ui(new Ui::MainWindow)
-{
-
-    ui->setupUi(this);
-
-}
-
-MainWindow::~MainWindow()
-{
-    delete ui;
-}
-
-
-void MainWindow::loadFile()
-{
-
-	ProcesLog2="loadfile";
-
-    QFileDialog dialog(this);
-    dialog.setNameFilter(tr("DXF files (*.dxf *.DXF)"));
-    dialog.setFileMode(QFileDialog::ExistingFile);
-    dialog.setViewMode(QFileDialog::Detail);
-
-    if (dialog.exec() == QDialog::Accepted) {
-        m_file_path = dialog.selectedFiles().first();
-        m_path_dir = dialog.directory().absolutePath();
-
-		StatusBarMessage="Read DXF file for convertion";
-
-		ProcesLog2.append(StatusBarMessage);
-
-		ui->statusBar->clearMessage();
-		ui->statusBar->showMessage(StatusBarMessage );
-		ui->statusBar->repaint();
-
-        QFile file(m_file_path);
-        if (!file.open(QFile::ReadOnly | QFile::Text)) {
-            QMessageBox::warning(this, tr("Application"),
-					  tr("Cannot read file %1:\n%2.").arg(m_file_path).arg(file.errorString()));
-            return;
-        }
-
-		ui->m_import_file_path_le -> setPlaceholderText(m_file_path);
-        ui->ExportFile->setPlaceholderText(m_path_dir);
-
-
-
-		QTextStream in(&file);
-		QString textAll = in.readAll();
-
-		ui->ImportDXF->setPlainText(textAll);
-		ui->ImportDXF->show();
-		ui->ImportDXF->repaint();
-
-		Filename = fillElmtName();
-
-		ui->statusBar->clearMessage();
-
-		ui->ExportToELMT->clear();
-
-		//Filename=ui->m_elmt_name_le->placeholderText();
-
-		StatusBarMessage="Start of DXF convertion";
-
-		ui->statusBar->clearMessage();
-		ui->statusBar->showMessage(StatusBarMessage );
-		ui->statusBar->repaint();
-
-		ui->ProcesLog->setPlainText(StatusBarMessage);
-
-
-		dxfTOelmt ConvertDXF;
-
-
-		 ConvertDXF.m_file_path=m_file_path;
-		 ConvertDXF.m_path_dir=m_path_dir;
-		 ConvertDXF.Filename1=Filename;
-
-		 StatusConvertion=ConvertDXF.CreateElmt();
-
-		 ui->ExportToELMT->setPlainText(StatusConvertion);
-		 ui->ExportToELMT->repaint();
-
-		 StatusBarMessage="End of DXF convertion";
-
-		 ui->statusBar->clearMessage();
-		 ui->statusBar->showMessage(StatusBarMessage );
-		 ui->statusBar->repaint();
-
-		 ui->ProcesLog->setPlainText(ProcesLog2);
-		 ui->ProcesLog->repaint();
-	return;
-
-    }
-}
-
-
-QString MainWindow::fillElmtName()
-{
-    QString name = m_file_path.split("/").last();
-    name.remove(".dxf");
-    ui->m_elmt_name_le->setText(name);
-	return name;
-}
-
-void MainWindow::on_m_save_elmt_pb_clicked() {
-
-    QFile file(m_path_dir + "/" + ui->m_elmt_name_le->text() + ".elmt");
-    if (!file.open(QFile::WriteOnly | QFile::Text)) {
-        QMessageBox::warning(this, tr("Application"),
-                             tr("Cannot write file %1:\n%2.")
-                             .arg(m_path_dir)
-                             .arg(file.errorString()));
-        return;
-    }
-
-    QTextStream out(&file);
-    out << ui->ExportToELMT->toPlainText();
-
-    file.close();
-    QMessageBox::information(this, tr("Export"), tr("L'\351l\351ment %1 \340 bien \351t\351 enregistr\351").arg(ui->m_elmt_name_le->text()));
-}
-
-void MainWindow::on_m_load_dxf_pb_clicked()
-{
-     loadFile();
-}
-
-void MainWindow::on_LineCountDXF_textEdited(const QString &arg1)
-{
-
-}

Deleted: branches/dxftoelmt/src/ui/mainwindow.h
===================================================================
--- branches/dxftoelmt/src/ui/mainwindow.h	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/ui/mainwindow.h	2015-02-25 22:16:27 UTC (rev 3767)
@@ -1,67 +0,0 @@
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QMainWindow>
-#include "dxftoelmt.h"
-
-QT_BEGIN_NAMESPACE
-    class QPlainTextEdit;
-QT_END_NAMESPACE
-
-
-namespace Ui {
-class MainWindow;
-}
-
-class MainWindow : public QMainWindow
-{
-    Q_OBJECT
-
-public:
-    explicit MainWindow(QWidget *parent = 0);
-    ~MainWindow();
-
-
-	int VectorCount;
-
-	QString StatusConvertion;
-	QString StatusBarMessage;
-	QString Filename;
-	QString ProcesLog1;
-	QString ProcesLog2;
-
-	Ui::MainWindow *ui;
-
-
-private slots:
-
-    void on_m_save_elmt_pb_clicked();
-    void on_m_load_dxf_pb_clicked();
-
-
-
-	void on_LineCountDXF_textEdited(const QString &arg1);
-
-signals:
-
-
-
-private:
-
-	//Ui::MainWindow *ui;
-
-
-
-    void loadFile();
-	//void createElmt();
-	QString fillElmtName();
-
-    QString m_file_path, m_path_dir;
-
-
-
-
-
-};
-
-#endif // MAINWINDOW_H

Deleted: branches/dxftoelmt/src/ui/mainwindow.ui
===================================================================
--- branches/dxftoelmt/src/ui/mainwindow.ui	2015-02-25 21:14:07 UTC (rev 3766)
+++ branches/dxftoelmt/src/ui/mainwindow.ui	2015-02-25 22:16:27 UTC (rev 3767)
@@ -1,165 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <author>Ronny Desmedt</author>
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>1088</width>
-    <height>669</height>
-   </rect>
-  </property>
-  <property name="windowTitle">
-   <string>MainWindow</string>
-  </property>
-  <widget class="QWidget" name="centralWidget">
-   <layout class="QVBoxLayout" name="verticalLayout">
-    <item>
-     <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0,0,0">
-      <property name="spacing">
-       <number>5</number>
-      </property>
-      <item row="4" column="3">
-       <widget class="QLineEdit" name="ExportFile"/>
-      </item>
-      <item row="5" column="1">
-       <widget class="QLineEdit" name="SectionCount1">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-       </widget>
-      </item>
-      <item row="5" column="3">
-       <widget class="QLineEdit" name="m_elmt_name_le"/>
-      </item>
-      <item row="5" column="2">
-       <widget class="QLabel" name="label_4">
-        <property name="text">
-         <string>element name :</string>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="1">
-       <widget class="QLineEdit" name="LineCountDXF"/>
-      </item>
-      <item row="5" column="0">
-       <widget class="QLabel" name="labelSectionCount">
-        <property name="text">
-         <string>Section count</string>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="0">
-       <widget class="QLabel" name="label">
-        <property name="text">
-         <string>Import file path :</string>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="1">
-       <widget class="QLineEdit" name="m_import_file_path_le">
-        <property name="maximumSize">
-         <size>
-          <width>16777165</width>
-          <height>16777215</height>
-         </size>
-        </property>
-        <property name="toolTipDuration">
-         <number>-1</number>
-        </property>
-       </widget>
-      </item>
-      <item row="7" column="0" colspan="2">
-       <widget class="QTextEdit" name="ImportDXF">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="2">
-       <widget class="QLabel" name="label_2">
-        <property name="text">
-         <string>Export directory path :</string>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="0">
-       <widget class="QPushButton" name="m_load_dxf_pb">
-        <property name="text">
-         <string>Load DXF file</string>
-        </property>
-       </widget>
-      </item>
-      <item row="7" column="2" colspan="2">
-       <widget class="QTextEdit" name="ExportToELMT"/>
-      </item>
-      <item row="7" column="4">
-       <widget class="QTextEdit" name="ProcesLog">
-        <property name="enabled">
-         <bool>true</bool>
-        </property>
-        <property name="frameShadow">
-         <enum>QFrame::Sunken</enum>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="0" colspan="2">
-       <widget class="QLabel" name="label_3">
-        <property name="text">
-         <string>Binary DXF can not be converted !!!</string>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="2">
-       <widget class="QPushButton" name="m_save_elmt_pb">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="text">
-         <string>save to elmt file</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </item>
-   </layout>
-  </widget>
-  <widget class="QMenuBar" name="menuBar">
-   <property name="geometry">
-    <rect>
-     <x>0</x>
-     <y>0</y>
-     <width>1088</width>
-     <height>23</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QToolBar" name="mainToolBar">
-   <attribute name="toolBarArea">
-    <enum>TopToolBarArea</enum>
-   </attribute>
-   <attribute name="toolBarBreak">
-    <bool>false</bool>
-   </attribute>
-  </widget>
-  <widget class="QStatusBar" name="statusBar">
-   <property name="autoFillBackground">
-    <bool>true</bool>
-   </property>
-  </widget>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <resources/>
- <connections/>
-</ui>


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