[qet] [4341] Add new files

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


Revision: 4341
Author:   scorpio810
Date:     2016-02-06 14:09:15 +0100 (Sat, 06 Feb 2016)
Log Message:
-----------
Add new files

Added Paths:
-----------
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/.directory
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.h
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.cpp
    branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.h

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,50 @@
+#include "dxf_block_arc.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_arc DXF_input_block_arc[100][50];
+
+dxf_block_arc::dxf_block_arc(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_block_arc::Make_Block_Arc()
+{
+	Result_Block_Arc="";
+	Count_lines_block2=0;
+
+	dxf_arc dxb_arc;
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_arc_count[Insert_block_nr])
+	{
+
+		dxb_arc.center_x=x_insert+(DXF_input_block_arc[Insert_block_nr][Count_lines_block2].DXF_block_arc_code_10*x_insert_scale);
+		dxb_arc.center_y=(-y_insert)+(-(DXF_input_block_arc[Insert_block_nr][Count_lines_block2].DXF_block_arc_code_20*y_insert_scale));
+		dxb_arc.radius=(DXF_input_block_arc[Insert_block_nr][Count_lines_block2].DXF_block_arc_code_40*x_insert_scale);
+
+		dxb_arc.start_angle=DXF_input_block_arc[Insert_block_nr][Count_lines_block2].DXF_block_arc_code_50;
+		dxb_arc.end_angle=DXF_input_block_arc[Insert_block_nr][Count_lines_block2].DXF_block_arc_code_51;
+
+		dxb_arc.layer=DXF_input_block_arc[Insert_block_nr][Count_lines_block2].DXF_block_arc_code_8;
+		dxb_arc.ltype=DXF_input_block_arc[Insert_block_nr][Count_lines_block2].DXF_block_arc_code_6;
+		dxb_arc.color_dxf=-1;
+		dxb_arc.color=block_color;
+		dxb_arc.antialias=block_antialias;
+		dxb_arc.filling=block_filling;
+		dxb_arc.line_weight=block_line_weight;
+
+
+
+		 Result_Block_Arc.append(dxb_arc.Create_ARC());
+
+
+
+		 Count_lines_block2=Count_lines_block2+1;
+
+	}
+
+
+	return Result_Block_Arc;
+
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_arc.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,42 @@
+#ifndef DXF_BLOCK_ARC_H
+#define DXF_BLOCK_ARC_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_arc.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+
+class dxf_block_arc : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_arc(QWidget *parent = 0);
+
+	QString Result_Block_Arc;
+	int Count_lines_block2;
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		//black
+	QString block_line_weight;	//thin
+	QString block_filling;		//none
+	QString block_antialias;	// false
+
+	QString Make_Block_Arc();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DCF_BLOCK_ARC_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,45 @@
+#include "dxf_block_attdef.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_attdef DXF_input_block_attdef[100][50];
+
+dxf_block_attdef::dxf_block_attdef(QWidget *parent) : QWidget(parent)
+{
+
+
+}
+
+QString dxf_block_attdef::Make_Block_Attdef()
+{
+
+	Count_lines_block2=0;
+	Result_Block_attdef="";
+
+	dxf_attdef dxb_attdef3;
+	DXF_Text_control db_txt_check4;
+
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_attdef_count[Insert_block_nr])
+	{
+
+		dxb_attdef3.x=DXF_input_block_attdef[Insert_block_nr][Count_lines_block2].DXF_block_attdef_code_10;
+		dxb_attdef3.y=-DXF_input_block_attdef[Insert_block_nr][Count_lines_block2].DXF_block_attdef_code_20;
+		dxb_attdef3.rotation=DXF_input_block_attdef[Insert_block_nr][Count_lines_block2].DXF_block_attdef_code_50;
+		dxb_attdef3.size=DXF_input_block_attdef[Insert_block_nr][Count_lines_block2].DXF_block_attdef_code_40*((x_insert_scale+y_insert_scale)/2);
+		dxb_attdef3.tag="label"; //DXF_input_entities_attdef[Count_lines].DXF_entities_attdef_code_2;
+		dxb_attdef3.rotate=block_rotate;
+		dxb_attdef3.color_attdef=block_color_attdef;
+
+		db_txt_check4.TextToCheck=DXF_input_block_attdef[Insert_block_nr][Count_lines_block2].DXF_block_attdef_code_1;
+
+		dxb_attdef3.text=db_txt_check4.Text_control();
+
+		Result_Block_attdef.append(dxb_attdef3.Create_ATTDEF());
+
+		Count_lines_block2=Count_lines_block2+1;
+
+
+	}
+
+	return Result_Block_attdef;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attdef.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,46 @@
+#ifndef DXF_BLOCK_ATTDEF_H
+#define DXF_BLOCK_ATTDEF_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_attdef.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_block_attdef : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_attdef(QWidget *parent = 0);
+
+	QString Result_Block_attdef;
+	int Count_lines_block2;
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		//black
+	QString block_line_weight;	//thin
+	QString block_filling;		//none
+	QString block_antialias;	// false
+	QString block_rotate;		// true
+	QString block_color_attdef;	//
+
+
+	QString Make_Block_Attdef();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_ATTDEF_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,41 @@
+#include "dxf_block_attribute.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_attrib DXF_input_block_attrib[100][50];
+
+dxf_block_attribute::dxf_block_attribute(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_block_attribute::Make_Block_Attri()
+{
+	Count_lines_block2=0;
+
+	Result_Block_attr="";
+
+	dxf_attr dxb_attr2;
+	DXF_Text_control db_txt_check3;
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_attrib_count[Insert_block_nr])
+	{
+
+		dxb_attr2.x=DXF_input_block_attrib[Insert_block_nr][Count_lines_block2].DXF_block_attrib_code_10;					// x start
+		dxb_attr2.y=-DXF_input_block_attrib[Insert_block_nr][Count_lines_block2].DXF_block_attrib_code_20;					// y start
+		dxb_attr2.rotation=DXF_input_block_attrib[Insert_block_nr][Count_lines_block2].DXF_block_attrib_code_50;			//text rotation
+		dxb_attr2.size=DXF_input_block_attrib[Insert_block_nr][Count_lines_block2].DXF_block_attrib_code_40*((x_insert_scale+y_insert_scale)/2);				//text height
+		dxb_attr2.tag="label"; //DXF_input_entities_attrib[Count_lines_block2].DXF_entities_attrib_code_2;		// tag
+		dxb_attr2.rotate=block_rotate;
+		dxb_attr2.color_attrib=block_color_attrib;
+
+		db_txt_check3.TextToCheck=DXF_input_block_attrib[Insert_block_nr][Count_lines_block2].DXF_block_attrib_code_1;	// value
+
+		dxb_attr2.text=db_txt_check3.Text_control();
+
+		Result_Block_attr.append(dxb_attr2.Create_ATTR());
+
+		Count_lines_block2=Count_lines_block2+1;
+	}
+
+	return Result_Block_attr;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_attribute.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,45 @@
+#ifndef DXF_BLOCK_ATTRIBUTE_H
+#define DXF_BLOCK_ATTRIBUTE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_attr.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_block_attribute : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_attribute(QWidget *parent = 0);
+
+	QString Result_Block_attr;
+	int Count_lines_block2;
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		// black
+	QString block_line_weight;	// thin
+	QString block_filling;		// none
+	QString block_antialias;	// false
+	QString block_rotate;		// true
+	QString block_color_attrib;	// black
+
+	QString Make_Block_Attri();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_ATTRIBUTE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,44 @@
+#include "dxf_block_circle.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_circle DXF_input_block_circle[100][50];
+
+dxf_block_circle::dxf_block_circle(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_block_circle::Make_Block_Circle()
+{
+
+	Result_Block_Circle="";
+	Count_lines_block2=0;
+
+	dxf_circle dxb_circle2;
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_circle_count[Insert_block_nr])
+	{
+
+		dxb_circle2.x=x_insert+(DXF_input_block_circle[Insert_block_nr][Count_lines_block2].DXF_block_circle_code_10*x_insert_scale);
+		dxb_circle2.y=(-y_insert)+(-(DXF_input_block_circle[Insert_block_nr][Count_lines_block2].DXF_block_circle_code_20*y_insert_scale));
+		dxb_circle2.diameter=((DXF_input_block_circle[Insert_block_nr][Count_lines_block2].DXF_block_circle_code_40*2)*x_insert_scale);
+
+		dxb_circle2.layer=DXF_input_block_circle[Insert_block_nr][Count_lines_block2].DXF_block_circle_code_8;
+		dxb_circle2.ltype=DXF_input_block_circle[Insert_block_nr][Count_lines_block2].DXF_block_circle_code_6;
+		dxb_circle2.color=block_color;
+		dxb_circle2.antialias=block_antialias;
+		dxb_circle2.line_weight=block_line_weight;
+		dxb_circle2.filling=block_filling;
+
+
+
+		 Result_Block_Circle.append(dxb_circle2.Create_CIRCLE());
+
+
+		 Count_lines_block2=Count_lines_block2+1;
+
+	}
+
+
+	return Result_Block_Circle;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_circle.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,42 @@
+#ifndef DXF_BLOCK_CIRCLE_H
+#define DXF_BLOCK_CIRCLE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_circle.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+
+class dxf_block_circle : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_circle(QWidget *parent = 0);
+
+	QString Result_Block_Circle;
+	int Count_lines_block2;
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		//black
+	QString block_line_weight;	//thin
+	QString block_filling;		//none
+	QString block_antialias;	// false
+
+	QString Make_Block_Circle();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_CIRCLE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,46 @@
+#include "dxf_block_ellipse.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_ellipse DXF_input_block_ellipse[100][50];
+
+dxf_block_ellipse::dxf_block_ellipse(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_block_ellipse::Make_Block_Ellipse()
+{
+
+	Result_Block_ellipse="";
+	Count_lines_block2=0;
+
+	dxf_ellipse dxb_ellipse2;
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_ellipse_count[Insert_block_nr])
+	{
+
+		dxb_ellipse2.center_x=x_insert+DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_10;
+		dxb_ellipse2.center_y=(-y_insert)+(-DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_20);
+		dxb_ellipse2.major_radius_x=DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_11;
+		dxb_ellipse2.major_radius_y=-DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_21;
+		dxb_ellipse2.ratio_of_minor=DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_40;
+		//dxb_ellipse2.rotation=DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_50;
+		dxb_ellipse2.start=DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_41;
+		dxb_ellipse2.end2=DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_42;
+		dxb_ellipse2.LineTypeOFLine=DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_6;
+		dxb_ellipse2.LayerNameOFLine=DXF_input_block_ellipse[Insert_block_nr][Count_lines_block2].DXF_block_ellipse_code_8;
+		dxb_ellipse2.Color=block_color;
+		dxb_ellipse2.Line_weight=block_line_weight;
+		dxb_ellipse2.Filling=block_filling;
+
+
+		 Result_Block_ellipse.append(dxb_ellipse2.Create_ELLIPSE());
+
+
+		 Count_lines_block2=Count_lines_block2+1;
+
+	}
+
+
+	return Result_Block_ellipse;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_ellipse.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,42 @@
+#ifndef DXF_BLOCK_ELLIPSE_H
+#define DXF_BLOCK_ELLIPSE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_ellipse.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+
+class dxf_block_ellipse : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_ellipse(QWidget *parent = 0);
+
+	QString Result_Block_ellipse;
+	int Count_lines_block2;
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		//black
+	QString block_line_weight;	//thin
+	QString block_filling;		//none
+	QString block_antialias;	// false
+
+	QString Make_Block_Ellipse();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_ELLIPSE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,7 @@
+#include "dxf_block_insert.h"
+
+dxf_block_insert::dxf_block_insert(QWidget *parent): QWidget(parent)
+{
+
+}
+

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_insert.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,18 @@
+#ifndef DXF_BLOCK_INSERT_H
+#define DXF_BLOCK_INSERT_H
+
+//#include <QMainWindow>
+#include <QWidget>
+
+class dxf_block_insert : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_insert(QWidget *parent = 0);
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_INSERT_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,43 @@
+#include "dxf_block_lines.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_line DXF_input_block_line[100][50];
+
+dxf_block_lines::dxf_block_lines(QWidget *parent) : QWidget(parent)
+{
+
+
+}
+
+QString dxf_block_lines::Make_Block_Lines()
+{
+	Result_Block_Lines="";
+	Count_lines_block2=0;
+
+	DXF_LINE dxb_line;
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_line_count[Insert_block_nr])
+	{
+
+
+		   dxb_line.x1=x_insert+((DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_10)*x_insert_scale);
+		   dxb_line.x2=x_insert+((DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_11)*x_insert_scale);
+		   dxb_line.y1=(-y_insert)+(-(DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_20*y_insert_scale));
+		   dxb_line.y2=(-y_insert)+(-(DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_21*y_insert_scale));
+		   dxb_line.ltype=DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_6;
+		   dxb_line.layer=DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_8;
+		   dxb_line.color=block_color;
+		   dxb_line.line_weight=block_line_weight;
+		   dxb_line.filling=block_filling;
+
+
+		 Result_Block_Lines.append(dxb_line.Create_LINE());
+
+
+		 Count_lines_block2=Count_lines_block2+1;
+
+	}
+
+
+	return Result_Block_Lines;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lines.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,41 @@
+#ifndef DXF_BLOCK_LINES_H
+#define DXF_BLOCK_LINES_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_line.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+
+class dxf_block_lines : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_lines(QWidget *parent = 0);
+
+	QString Result_Block_Lines;
+	int Count_lines_block2;
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;
+	QString block_line_weight;
+	QString block_filling;
+
+	QString Make_Block_Lines();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_LINES_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,100 @@
+#include "dxf_block_lwpolyline.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_lwpolyline DXF_input_block_lwpolyline[100][50];
+
+
+dxf_block_lwpolyline::dxf_block_lwpolyline(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_block_lwpolyline::Make_Block_Lwpolyline()
+{
+
+	/* prepare polygon from block items */
+
+	dxf_lwpolyline dxb_lwpolyline;
+
+	Count_lines_block2=0;
+	Count_lines2=0;
+
+	Result_Block_lwpolyline="";
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_lwpolyline_count[Insert_block_nr])
+	{
+
+
+		Count_block_lwpolyline2=DXF_main_base[0].DXF_block_lwpolyline_count[Insert_block_nr];
+
+		while (Count_lines2<Count_block_lwpolyline2)
+		{
+			vector_max=DXF_input_block_lwpolyline[Insert_block_nr][Count_lines2].DXF_block_lwpolyline_code_90; // max number of vectors
+
+			if(vector_max>0)
+			{
+				//vector_max=vector_max+1;
+
+
+			   for(counter_x=0;counter_x<vector_max;counter_x++)
+			   {
+
+
+					dxb_lwpolyline.x_vector[count_vertex]=x_insert+DXF_input_block_lwpolyline[Insert_block_nr][Count_lines_block2].DXF_block_lwpolyline_code_10[counter_x];
+					dxb_lwpolyline.y_vector[count_vertex]=(-y_insert)+(-DXF_input_block_lwpolyline[Insert_block_nr][Count_lines_block2].DXF_block_lwpolyline_code_20[counter_x]);
+					count_vertex=count_vertex+1;
+
+				   if (count_vertex>49)
+				   {
+					   counter_x=vector_max+2;
+				   }
+				   if (count_vertex>vector_max+1)
+				   {
+					   counter_x=vector_max+2;
+				   }
+
+			   }
+
+			   dxb_lwpolyline.vector_count=vector_max;
+
+			   dxb_lwpolyline.antialias=block_antialias;
+			   dxb_lwpolyline.line_style=block_line_style;
+			   dxb_lwpolyline.line_weight=block_line_weight;
+			   dxb_lwpolyline.filling=block_filling;
+			   dxb_lwpolyline.color=block_color;
+			   dxb_lwpolyline.closed=DXF_input_block_lwpolyline[Insert_block_nr][Count_lines_block2].DXF_block_lwpolyline_code_70;
+
+
+			   dxb_lwpolyline.ltype=DXF_input_block_lwpolyline[Insert_block_nr][Count_lines_block2].DXF_block_lwpolyline_code_6;
+			   dxb_lwpolyline.layer=DXF_input_block_lwpolyline[Insert_block_nr][Count_lines_block2].DXF_block_lwpolyline_code_8;
+
+
+
+
+			  Result_Block_lwpolyline.append(dxb_lwpolyline.Create_LWPOLYLINE());
+
+			   Count_lines_block2=Count_lines_block2+1;
+			   count_vertex=1;
+			   counter_x=0;
+			   Count_lines2=Count_lines2+1;
+
+			}
+			else
+			{
+				Count_lines2=Count_lines2+1;
+			}
+
+
+
+		}
+
+
+
+
+	}
+
+
+
+	return Result_Block_lwpolyline;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_lwpolyline.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,47 @@
+#ifndef DXF_BLOCK_LWPOLYLINE_H
+#define DXF_BLOCK_LWPOLYLINE_H
+
+//#include <QMainWindow>
+#include "dxftoqet2/src/dxf/dxf_lwpolyline.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+
+class dxf_block_lwpolyline : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_lwpolyline(QWidget *parent = 0);
+
+	QString Result_Block_lwpolyline;
+	int Count_lines_block2;
+	int Insert_block_nr;
+	int Count_lines2;
+	int Count_block_lwpolyline2;
+	int vector_max;
+	int counter_x;
+	int count_vertex;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		// black
+	QString block_line_weight;	// thin
+	QString block_filling;		// none
+	QString block_antialias;	// false
+	QString block_line_style;	// normal
+
+	QString Make_Block_Lwpolyline();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_LWPOLYLINE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,93 @@
+#include "dxf_block_polyline.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_polyline DXF_input_block_polyline[100][50];
+extern struct DXF_block_vertex DXF_input_block_vertex[100][500];
+
+dxf_block_polyline::dxf_block_polyline(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_block_polyline::Make_Block_Polyline()
+{
+	Result_Block_polyline="";
+	Count_lines_block2=0;
+	Polyline_vertex=DXF_main_base[0].DXF_block_vertex_count[Insert_block_nr];
+
+	dxf_polyline dxb_polyline2;
+
+	while(Count_lines_block2<DXF_main_base[0].DXF_block_polyline_count[Insert_block_nr])
+	{
+
+		Count_lines2=0;
+		count_vertex2=1;
+
+		Count_block_polyline=DXF_main_base[0].DXF_block_polyline_count[Insert_block_nr];
+
+		while (Count_lines2<=Count_block_polyline)
+		{
+
+		   for(counter_x=1;counter_x<=Polyline_vertex;counter_x++)
+		   {
+
+			   for (int clean=0;clean>=49;clean++)
+			   {
+					dxb_polyline2.x_vector[clean]=0;
+					dxb_polyline2.y_vector[clean]=0;
+
+			   }
+
+			   if (DXF_input_block_vertex[Insert_block_nr][counter_x].Master_block_handle_id==DXF_input_block_polyline[Insert_block_nr][Count_lines2].DXF_block_polyline_code_5)
+			   {
+				dxb_polyline2.x_vector[count_vertex2]=x_insert+DXF_input_block_vertex[Insert_block_nr][counter_x].DXF_block_vertex_code_10;
+				dxb_polyline2.y_vector[count_vertex2]=(-y_insert)+(-DXF_input_block_vertex[Insert_block_nr][counter_x].DXF_block_vertex_code_20);
+				count_vertex2=count_vertex2+1;
+			   }
+			   if (count_vertex2>49)
+			   {
+				   counter_x=Polyline_vertex+1;
+				   count_vertex2=49;
+			   }
+			   if (count_vertex2>Polyline_vertex)
+			   {
+				   counter_x=Polyline_vertex+1;
+			   }
+
+		   }
+
+		   dxb_polyline2.vector_count=count_vertex2-1;
+
+		   dxb_polyline2.antialias=block_antialias;
+		   dxb_polyline2.line_style=block_line_style;
+		   dxb_polyline2.line_weight=block_line_weight;
+		   dxb_polyline2.filling=block_filling;
+		   dxb_polyline2.color=block_color;
+		   dxb_polyline2.closed=DXF_input_block_polyline[Insert_block_nr][Count_lines2].DXF_block_polyline_code_70;
+
+
+		   dxb_polyline2.ltype=DXF_input_block_polyline[Insert_block_nr][Count_lines2].DXF_block_polyline_code_6;
+		   dxb_polyline2.layer=DXF_input_block_polyline[Insert_block_nr][Count_lines2].DXF_block_polyline_code_8;
+
+
+
+
+		   Result_Block_polyline.append(dxb_polyline2.Create_POLYLINE());
+
+		   Count_lines2=Count_lines2+1;
+		   count_vertex2=1;
+		   counter_x=0;
+
+
+
+
+
+		}
+		Count_lines_block2=Count_lines_block2+1;
+
+	}
+
+
+
+	return Result_Block_polyline;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_polyline.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,48 @@
+#ifndef DXF_BLOCK_POLYLINE_H
+#define DXF_BLOCK_POLYLINE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_polyline.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+
+class dxf_block_polyline : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_polyline(QWidget *parent = 0);
+
+	QString Result_Block_polyline;
+	int Count_lines_block2;
+	int Insert_block_nr;
+	int Polyline_vertex;
+	int Count_lines2;
+	int count_vertex2;
+	int Count_block_polyline;
+	int counter_x;
+
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		// black
+	QString block_line_weight;	// thin
+	QString block_filling;		// none
+	QString block_antialias;	// false
+	QString block_line_style;	// normal
+
+	QString Make_Block_Polyline();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_POLYLINE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,39 @@
+#include "dxf_block_text.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_block_text DXF_input_block_text[100][50];
+
+dxf_block_text::dxf_block_text(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_block_text::Make_Block_Text()
+{
+	Count_lines_block2=0;
+	Result_Block_text="";
+
+	dxf_text db_text_block;
+	DXF_Text_control db_txt_check_block;
+
+   while(Count_lines_block2<DXF_main_base[0].DXF_block_text_count[Insert_block_nr])
+   {
+	   db_text_block.QET_x=DXF_input_block_text[Insert_block_nr][Count_lines_block2].DXF_block_text_code_10;
+	   db_text_block.QET_y=-DXF_input_block_text[Insert_block_nr][Count_lines_block2].DXF_block_text_code_20;
+	   db_text_block.QET_rotation=DXF_input_block_text[Insert_block_nr][Count_lines_block2].DXF_block_text_code_50;
+	   db_text_block.QET_size=DXF_input_block_text[Insert_block_nr][Count_lines_block2].DXF_block_text_code_40*((x_insert_scale+y_insert_scale)/2);
+
+	   db_text_block.QET_color=block_color;
+
+	   db_txt_check_block.TextToCheck=DXF_input_block_text[Insert_block_nr][Count_lines_block2].DXF_block_text_code_1;
+
+	   db_text_block.QET_text=db_txt_check_block.Text_control();
+
+	   Result_Block_text.append(db_text_block.Create_Text());
+
+	   Count_lines_block2=Count_lines_block2+1;
+   }
+
+   return Result_Block_text;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_block/dxf_block_text.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,42 @@
+#ifndef DXF_BLOCK_TEXT_H
+#define DXF_BLOCK_TEXT_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_text.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_block_text : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_block_text(QWidget *parent = 0);
+
+	QString Result_Block_text;
+	int Count_lines_block2;
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+	double x_insert_scale;
+	double y_insert_scale;
+
+	double xy_rotation;
+
+	QString Name_insert;
+
+	QString block_color;		// black
+	QString block_line_weight;	// thin
+	QString block_filling;		// none
+	QString block_antialias;	// false
+
+	QString Make_Block_Text();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_BLOCK_TEXT_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/.directory
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/.directory	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/.directory	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,6 @@
+[Dolphin]
+Timestamp=2016,2,1,0,43,20
+Version=3
+
+[Settings]
+HiddenFilesShown=true

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,46 @@
+#include "dxf_entitie_arc.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_arc DXF_input_entities_arc[1000];
+
+dxf_entitie_arc::dxf_entitie_arc(QWidget *parent): QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_arc::dxf_entitie_make_arc()
+{
+
+	dxf_arc db_arc;
+
+	Result_arc="";
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_arc)
+	{
+
+	   db_arc.center_x=DXF_input_entities_arc[Count_lines].DXF_entities_arc_code_10;
+	   db_arc.center_y=-DXF_input_entities_arc[Count_lines].DXF_entities_arc_code_20;
+	   db_arc.radius=DXF_input_entities_arc[Count_lines].DXF_entities_arc_code_40;
+	   db_arc.start_angle=DXF_input_entities_arc[Count_lines].DXF_entities_arc_code_50;
+	   db_arc.end_angle=DXF_input_entities_arc[Count_lines].DXF_entities_arc_code_51;
+
+	   db_arc.layer=DXF_input_entities_arc[Count_lines].DXF_entities_arc_code_8;
+	   db_arc.ltype=DXF_input_entities_arc[Count_lines].DXF_entities_arc_code_6;
+	   db_arc.color_dxf=-1;
+	   db_arc.antialias=Entitie_antialias;		// false
+	   db_arc.line_weight=Entitie_line_weight;	// thin
+	   db_arc.filling=Entitie_filling;			// none
+	   db_arc.color=Entitie_color;				//	black
+
+	   Result_arc.append(db_arc.Create_ARC());
+
+	   Count_lines=Count_lines+1;
+
+	}
+
+
+	return Result_arc;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_arc.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,33 @@
+#ifndef DXF_ENTITIE_ARC_H
+#define DXF_ENTITIE_ARC_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_arc.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_arc : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_arc(QWidget *parent = 0);
+
+	QString Result_arc;
+	QString Entitie_color;
+	QString Entitie_line_weight;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+
+	int Count_lines;
+	int Count_entitie_arc;
+
+	QString dxf_entitie_make_arc();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_ARC_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,45 @@
+#include "dxf_entitie_attdef.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_attdef DXF_input_entities_attdef[1000];
+
+dxf_entitie_attdef::dxf_entitie_attdef(QWidget *parent) : QWidget(parent)//: QMainWindow(parent)
+{
+
+}
+
+QString dxf_entitie_attdef::dxf_entitie_make_attdef()
+{
+
+	dxf_attdef dxb_attdef2;
+	DXF_Text_control db_txt_check;
+
+	Result_attdef ="";
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_attdef)
+	{
+
+	   dxb_attdef2.x=DXF_input_entities_attdef[Count_lines].DXF_entities_attdef_code_10;
+	   dxb_attdef2.y=-DXF_input_entities_attdef[Count_lines].DXF_entities_attdef_code_20;
+	   dxb_attdef2.rotation=DXF_input_entities_attdef[Count_lines].DXF_entities_attdef_code_50;
+	   dxb_attdef2.size=DXF_input_entities_attdef[Count_lines].DXF_entities_attdef_code_40;
+	   dxb_attdef2.tag=Entitie_tag; // label //DXF_input_entities_attdef[Count_lines].DXF_entities_attdef_code_2;
+	   dxb_attdef2.rotate=Entitie_rotate; // true
+	   dxb_attdef2.color_attdef=Entitie_color; // black
+
+	   db_txt_check.TextToCheck=DXF_input_entities_attdef[Count_lines].DXF_entities_attdef_code_1;
+
+	   dxb_attdef2.text=db_txt_check.Text_control();
+
+	   Result_attdef.append(dxb_attdef2.Create_ATTDEF());
+
+	   Count_lines=Count_lines+1;
+
+
+	}
+
+	return Result_attdef;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attdef.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,35 @@
+#ifndef DXF_ENTITIE_ATTDEF_H
+#define DXF_ENTITIE_ATTDEF_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_attdef.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_attdef : public QWidget //QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_attdef(QWidget *parent = 0);
+
+	QString Result_attdef;
+	QString Entitie_color;
+	QString Entitie_line_weight;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+	QString Entitie_rotate;
+	QString Entitie_tag;
+
+	int Count_lines;
+	int Count_entitie_attdef;
+
+	QString dxf_entitie_make_attdef();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_ATTDEF_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,44 @@
+#include "dxf_entitie_attrinute.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_attrib DXF_input_entities_attrib[1000];
+
+dxf_entitie_attrinute::dxf_entitie_attrinute(QWidget *parent) : QWidget(parent)//: QMainWindow(parent)
+{
+
+}
+
+QString dxf_entitie_attrinute::dxf_entitie_make_attribute()
+{
+
+	dxf_attr dxb_attr;
+	DXF_Text_control db_txt_check2;
+
+	Result_attr ="";
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_attr)
+	{
+
+	   dxb_attr.x=DXF_input_entities_attrib[Count_lines].DXF_entities_attrib_code_10;					// x start
+	   dxb_attr.y=-DXF_input_entities_attrib[Count_lines].DXF_entities_attrib_code_20;					// y start
+	   dxb_attr.rotation=DXF_input_entities_attrib[Count_lines].DXF_entities_attrib_code_50;			//text rotation
+	   dxb_attr.size=DXF_input_entities_attrib[Count_lines].DXF_entities_attrib_code_40;				//text height
+	   dxb_attr.tag=Entitie_tag; //DXF_input_entities_attrib[Count_lines].DXF_entities_attrib_code_2;		// tag
+	   dxb_attr.rotate=Entitie_rotate;
+	   dxb_attr.color_attrib=Entitie_color;
+
+	   db_txt_check2.TextToCheck=DXF_input_entities_attrib[Count_lines].DXF_entities_attrib_code_1;	// value
+
+	   dxb_attr.text=db_txt_check2.Text_control();
+
+	   Result_attr.append(dxb_attr.Create_ATTR());
+
+	   Count_lines=Count_lines+1;
+
+
+	}
+
+	return Result_attr;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_attrinute.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,34 @@
+#ifndef DXF_ENTITIE_ATTRINUTE_H
+#define DXF_ENTITIE_ATTRINUTE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_attr.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_attrinute : public QWidget //QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_attrinute(QWidget *parent = 0);
+
+	QString Result_attr;
+	QString Entitie_color;			// black
+	QString Entitie_line_weight;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+	QString Entitie_rotate;			// true
+	QString Entitie_tag;			// label
+
+	int Count_lines;
+	int Count_entitie_attr;
+
+	QString dxf_entitie_make_attribute();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_ATTRINUTE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,47 @@
+#include "dxf_entitie_circle.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_circle DXF_input_entities_circle[1000];
+
+dxf_entitie_circle::dxf_entitie_circle(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_circle::dxf_entitie_make_circle()
+{
+
+	dxf_circle db_circle;
+
+	Result_circle="";
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_circle)
+	{
+
+	   db_circle.x=DXF_input_entities_circle[Count_lines].DXF_entities_circle_code_10;
+	   db_circle.y=-DXF_input_entities_circle[Count_lines].DXF_entities_circle_code_20;
+	   db_circle.diameter=DXF_input_entities_circle[Count_lines].DXF_entities_circle_code_40*2;
+
+
+	   db_circle.layer=DXF_input_entities_circle[Count_lines].DXF_entities_circle_code_8;
+	   db_circle.ltype=DXF_input_entities_circle[Count_lines].DXF_entities_circle_code_6;
+	   db_circle.color=Entitie_color;
+	   db_circle.antialias=Entitie_antialias;
+	   db_circle.line_weight=Entitie_line_weight;
+	   db_circle.filling=Entitie_filling;
+
+
+		Result_circle.append(db_circle.Create_CIRCLE());
+
+
+	   Count_lines=Count_lines+1;
+
+
+	}
+
+
+	return Result_circle;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_circle.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,34 @@
+#ifndef DXF_ENTITIE_CIRCLE_H
+#define DXF_ENTITIE_CIRCLE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_circle.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_circle : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_circle(QWidget *parent = 0);
+
+	QString Result_circle;
+	QString Entitie_color;			// black
+	QString Entitie_line_weight;	// thin
+	QString Entitie_filling;		// none
+	QString Entitie_antialias;		// true
+	QString Entitie_rotate;			// true
+	QString Entitie_tag;			// label
+
+	int Count_lines;
+	int Count_entitie_circle;
+
+	QString dxf_entitie_make_circle();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_CIRCLE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,45 @@
+#include "dxf_entitie_ellipse.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_ellipse DXF_input_entities_ellipse[1000];
+
+dxf_entitie_ellipse::dxf_entitie_ellipse(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_ellipse::dxf_entitie_make_ellipse()
+{
+	dxf_ellipse db_ellipse;
+
+
+	Result_ellipse2="";
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_ellipse)
+	{
+
+	   db_ellipse.center_x=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_10;
+	   db_ellipse.center_y=-DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_20;
+	   db_ellipse.major_radius_x=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_11;
+	   db_ellipse.major_radius_y=-DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_21;
+	   db_ellipse.ratio_of_minor=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_40;
+	   //db_ellipse.rotation=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_50;
+	   db_ellipse.start=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_41;
+	   db_ellipse.end2=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_42;
+	   db_ellipse.LineTypeOFLine=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_6;
+	   db_ellipse.LayerNameOFLine=DXF_input_entities_ellipse[Count_lines].DXF_entities_ellipse_code_8;
+	   db_ellipse.Color=Entitie_color;
+	   db_ellipse.Line_weight=Entitie_line_weight;
+	   db_ellipse.Filling=Entitie_filling;
+
+
+		Result_ellipse2.append(db_ellipse.Create_ELLIPSE());
+		Count_lines=Count_lines+1;
+
+
+	}
+
+	return Result_ellipse2;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_ellipse.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,34 @@
+#ifndef DXF_ENTITIE_ELLIPSE_H
+#define DXF_ENTITIE_ELLIPSE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_ellipse.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_ellipse : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_ellipse(QWidget *parent = 0);
+
+	QString Result_ellipse2;
+	QString Entitie_color;			// black
+	QString Entitie_line_weight;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+	QString Entitie_rotate;			// true
+	QString Entitie_tag;			// label
+
+	int Count_lines;
+	int Count_entitie_ellipse;
+
+	QString dxf_entitie_make_ellipse();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_ELLIPSE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,253 @@
+#include "dxf_entitie_insert.h"
+
+extern struct DXF_base DXF_main_base[1];
+
+extern struct DXF_block_line DXF_input_block_line[100][50];
+extern struct DXF_block_arc DXF_input_block_arc[100][50];
+extern struct DXF_block_attdef DXF_input_block_attdef[100][50];
+extern struct DXF_block_attrib DXF_input_block_attrib[100][50];
+extern struct DXF_block_circle DXF_input_block_circle[100][50];
+extern struct DXF_block_ellipse DXF_input_block_ellipse[100][50];
+extern struct DXF_block_attdef DXF_input_block_attdef[100][50];
+extern struct DXF_block_attrib DXF_input_block_attrib[100][50];
+extern struct DXF_block_lwpolyline DXF_input_block_lwpolyline[100][50];
+extern struct DXF_block_point DXF_input_block_point[100][50];
+extern struct DXF_block_polyline DXF_input_block_polyline[100][50];
+extern struct DXF_block_seqend DXF_input_block_seqend[100][50];
+extern struct DXF_block_text DXF_input_block_text[100][50];
+extern struct DXF_block_vertex DXF_input_block_vertex[100][500];
+
+extern struct DXF_entities_insert DXF_input_entities_insert[1000];
+
+extern struct DXF_table_block_record DXF_input_table_block_record[500];
+
+
+dxf_entitie_insert::dxf_entitie_insert(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_insert::dxf_entitie_make_insert()
+{
+	Result_insert="";
+
+	Count_lines=0;
+
+	dxf_block_lines insert_Make_Block_Lines;
+	dxf_block_arc insert_Make_Block_Arc;
+	dxf_block_circle insert_Make_Block_Circle;
+	dxf_block_ellipse insert_Make_Block_Ellipse;
+	dxf_block_polyline insert_Make_Block_Polyline;
+	dxf_block_lwpolyline insert_Make_Block_Lwpolyline;
+	dxf_block_attdef insert_Make_Block_Attdef;
+	dxf_block_attribute insert_Make_Block_Attribute;
+	dxf_block_text insert_Make_Block_Text;
+
+	while (Count_lines<=Count_entitie_insert)
+	{
+
+	  if (DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_2 == "")
+	  {
+		  Count_lines=Count_lines+1;
+
+	  }
+	  else
+	  {
+
+		  x_insert=0;
+		  y_insert=0;
+		  x_insert_scale=1;
+		  y_insert_scale=1;
+
+
+		  Insert_block_nr=Count_lines;
+
+		  x_insert=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_10;
+		  y_insert=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_20;
+		  x_insert_scale=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_41;
+		  y_insert_scale=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_42;
+
+		  xy_rotation=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_50;
+		  Name_insert=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_2;
+
+		  for (Block_counter=0;Block_counter<=Count_entitie_insert;Block_counter++)
+		  {
+			  if(Name_insert==DXF_input_table_block_record[Block_counter].dxf_table_block_record_code_2)
+			  {
+				  Insert_block_nr=Block_counter;
+				  Block_counter=Count_entitie_insert+1;
+			  }
+
+
+		  }
+
+
+
+		  /* Block LINES */
+
+		  insert_Make_Block_Lines.x_insert=x_insert;
+		  insert_Make_Block_Lines.y_insert=y_insert;
+		  insert_Make_Block_Lines.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Lines.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Lines.xy_rotation=xy_rotation;
+		  insert_Make_Block_Lines.Name_insert=Name_insert;
+		  insert_Make_Block_Lines.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Lines.block_color="green";
+		  insert_Make_Block_Lines.block_filling="none";
+		  insert_Make_Block_Lines.block_line_weight="thin";
+
+
+		  Result_insert.append(insert_Make_Block_Lines.Make_Block_Lines());
+
+		  /* Block ARC */
+
+		  insert_Make_Block_Arc.x_insert=x_insert;
+		  insert_Make_Block_Arc.y_insert=y_insert;
+		  insert_Make_Block_Arc.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Arc.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Arc.xy_rotation=xy_rotation;
+		  insert_Make_Block_Arc.Name_insert=Name_insert;
+		  insert_Make_Block_Arc.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Arc.block_color="green";
+		  insert_Make_Block_Arc.block_filling="none";
+		  insert_Make_Block_Arc.block_line_weight="thin";
+		  insert_Make_Block_Arc.block_antialias="false";
+
+		  Result_insert.append(insert_Make_Block_Arc.Make_Block_Arc());
+
+		  /* Block CIRCLE */
+
+		  insert_Make_Block_Circle.x_insert=x_insert;
+		  insert_Make_Block_Circle.y_insert=y_insert;
+		  insert_Make_Block_Circle.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Circle.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Circle.xy_rotation=xy_rotation;
+		  insert_Make_Block_Circle.Name_insert=Name_insert;
+		  insert_Make_Block_Circle.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Circle.block_color="green";
+		  insert_Make_Block_Circle.block_filling="none";
+		  insert_Make_Block_Circle.block_line_weight="thin";
+		  insert_Make_Block_Circle.block_antialias="false";
+
+		  Result_insert.append(insert_Make_Block_Circle.Make_Block_Circle());
+
+		  /* Block ELLIPSE */
+
+		  insert_Make_Block_Ellipse.x_insert=x_insert;
+		  insert_Make_Block_Ellipse.y_insert=y_insert;
+		  insert_Make_Block_Ellipse.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Ellipse.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Ellipse.xy_rotation=xy_rotation;
+		  insert_Make_Block_Ellipse.Name_insert=Name_insert;
+		  insert_Make_Block_Ellipse.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Ellipse.block_color="green";
+		  insert_Make_Block_Ellipse.block_filling="none";
+		  insert_Make_Block_Ellipse.block_line_weight="thin";
+		  insert_Make_Block_Ellipse.block_antialias="false";
+
+
+		  Result_insert.append(insert_Make_Block_Ellipse.Make_Block_Ellipse());
+
+		  /* Block POLYLINE */
+
+		  insert_Make_Block_Polyline.x_insert=x_insert;
+		  insert_Make_Block_Polyline.y_insert=y_insert;
+		  insert_Make_Block_Polyline.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Polyline.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Polyline.xy_rotation=xy_rotation;
+		  insert_Make_Block_Polyline.Name_insert=Name_insert;
+		  insert_Make_Block_Polyline.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Polyline.block_color="cyan";
+		  insert_Make_Block_Polyline.block_filling="none";
+		  insert_Make_Block_Polyline.block_line_weight="thin";
+		  insert_Make_Block_Polyline.block_line_style="normal";
+
+		  Result_insert.append(insert_Make_Block_Polyline.Make_Block_Polyline());
+
+		  /* Block LWPOLYLINE */
+
+		  insert_Make_Block_Lwpolyline.x_insert=x_insert;
+		  insert_Make_Block_Lwpolyline.y_insert=y_insert;
+		  insert_Make_Block_Lwpolyline.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Lwpolyline.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Lwpolyline.xy_rotation=xy_rotation;
+		  insert_Make_Block_Lwpolyline.Name_insert=Name_insert;
+		  insert_Make_Block_Lwpolyline.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Lwpolyline.block_color="orange";
+		  insert_Make_Block_Lwpolyline.block_filling="none";
+		  insert_Make_Block_Lwpolyline.block_line_weight="thin";
+		  insert_Make_Block_Lwpolyline.block_line_style="normal";
+
+		  Result_insert.append(insert_Make_Block_Lwpolyline.Make_Block_Lwpolyline());
+
+		  /* Block ATTDEF */
+
+		  insert_Make_Block_Attdef.x_insert=x_insert;
+		  insert_Make_Block_Attdef.y_insert=y_insert;
+		  insert_Make_Block_Attdef.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Attdef.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Attdef.xy_rotation=xy_rotation;
+		  insert_Make_Block_Attdef.Name_insert=Name_insert;
+		  insert_Make_Block_Attdef.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Attdef.block_color="green";
+		  insert_Make_Block_Attdef.block_filling="none";
+		  insert_Make_Block_Attdef.block_line_weight="thin";
+		  insert_Make_Block_Attdef.block_color_attdef="green";
+
+		  Result_insert.append(insert_Make_Block_Attdef.Make_Block_Attdef());
+
+		  /* Block ATTRIB*/
+
+		  insert_Make_Block_Attribute.x_insert=x_insert;
+		  insert_Make_Block_Attribute.y_insert=y_insert;
+		  insert_Make_Block_Attribute.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Attribute.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Attribute.xy_rotation=xy_rotation;
+		  insert_Make_Block_Attribute.Name_insert=Name_insert;
+		  insert_Make_Block_Attribute.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Attribute.block_color="green";
+		  insert_Make_Block_Attribute.block_filling="none";
+		  insert_Make_Block_Attribute.block_line_weight="thin";
+		  insert_Make_Block_Attribute.block_rotate="true";
+		  insert_Make_Block_Attribute.block_color_attrib="green";
+
+		  Result_insert.append(insert_Make_Block_Attribute.Make_Block_Attri());
+
+		  /* Block TEXT*/
+
+		  insert_Make_Block_Text.x_insert=x_insert;
+		  insert_Make_Block_Text.y_insert=y_insert;
+		  insert_Make_Block_Text.x_insert_scale=x_insert_scale;
+		  insert_Make_Block_Text.y_insert_scale=y_insert_scale;
+		  insert_Make_Block_Text.xy_rotation=xy_rotation;
+		  insert_Make_Block_Text.Name_insert=Name_insert;
+		  insert_Make_Block_Text.Insert_block_nr=Insert_block_nr;
+
+		  insert_Make_Block_Text.block_color="green";
+		  insert_Make_Block_Text.block_filling="none";
+		  insert_Make_Block_Text.block_line_weight="thin";
+
+
+		  Result_insert.append(insert_Make_Block_Text.Make_Block_Text());
+
+		  /* end of block */
+
+		  Count_lines=Count_lines+1;
+
+	  }
+
+
+
+	}
+
+	return Result_insert;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_insert.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,45 @@
+#ifndef DXF_ENTITIE_INSERT_H
+#define DXF_ENTITIE_INSERT_H
+
+//#include <QMainWindow>
+#include <QWidget>
+
+#include "dxftoqet2/src/dxf_block/dxf_block_lines.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_arc.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_circle.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_ellipse.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_polyline.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_lwpolyline.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_attdef.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_attribute.h"
+#include "dxftoqet2/src/dxf_block/dxf_block_text.h"
+
+class dxf_entitie_insert : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_insert(QWidget *parent = 0);
+
+		QString Result_insert;
+		QString Name_insert;
+
+		int Count_lines;
+		int Count_entitie_insert;
+		int Insert_block_nr;
+		int Block_counter;
+
+		double x_insert;
+		double y_insert;
+
+		double x_insert_scale;
+		double y_insert_scale;
+
+		double xy_rotation;
+
+		QString dxf_entitie_make_insert();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_INSERT_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,41 @@
+#include "dxf_entitie_line.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_line DXF_input_entities_line[100000];
+
+dxf_entitie_line::dxf_entitie_line(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_line::dxf_entitie_make_line()
+{
+	DXF_LINE dxb_line;
+
+	Result_line ="";
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_line)
+	{
+
+	   dxb_line.x1=DXF_input_entities_line[Count_lines].DXF_entities_line_code_10;
+	   dxb_line.x2=DXF_input_entities_line[Count_lines].DXF_entities_line_code_11;
+	   dxb_line.y1=-DXF_input_entities_line[Count_lines].DXF_entities_line_code_20;
+	   dxb_line.y2=-DXF_input_entities_line[Count_lines].DXF_entities_line_code_21;
+	   dxb_line.ltype=DXF_input_entities_line[Count_lines].DXF_entities_line_code_6;
+	   dxb_line.layer=DXF_input_entities_line[Count_lines].DXF_entities_line_code_8;
+	   dxb_line.color=Entitie_color;				// black
+	   dxb_line.line_weight=Entitie_line_weight;	// thin
+	   dxb_line.filling=Entitie_filling;			// none
+
+
+	   Result_line.append(dxb_line.Create_LINE());
+
+	   Count_lines=Count_lines+1;
+
+
+	}
+
+	return Result_line;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_line.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,32 @@
+#ifndef DXF_ENTITIE_LINE_H
+#define DXF_ENTITIE_LINE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_line.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_line : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_line(QWidget *parent = 0);
+
+	QString Result_line;
+	QString Entitie_color;
+	QString Entitie_line_weight;
+	QString Entitie_filling;
+
+	int Count_lines;
+	int Count_entitie_line;
+
+	QString dxf_entitie_make_line();
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_LINE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,84 @@
+#include "dxf_entitie_lwpolyline.h"
+
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_lwpolyline DXF_input_entities_lwpolyline[1000];
+extern struct DXF_entities_vertex DXF_input_entities_vertex[5000];
+
+dxf_entitie_lwpolyline::dxf_entitie_lwpolyline(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_lwpolyline::dxf_entitie_make_lwpolyline()
+{
+	dxf_lwpolyline db_lwpolyline;
+
+
+	Result_lwpolyline="";
+
+	Count_lines=0;
+	count_vertex=1;
+
+	while (Count_lines<=Count_entitie_lwpolyline)
+	{
+		vector_max=DXF_input_entities_lwpolyline[Count_lines].DXF_entities_lwpolyline_code_90;
+
+		if(vector_max>0)
+		{
+			//vector_max=vector_max+1;
+
+
+	   for(counter_x=0;counter_x<vector_max;counter_x++)
+	   {
+
+
+			db_lwpolyline.x_vector[count_vertex]=DXF_input_entities_lwpolyline[Count_lines].DXF_entities_lwpolyline_code_10[counter_x];
+			db_lwpolyline.y_vector[count_vertex]=-DXF_input_entities_lwpolyline[Count_lines].DXF_entities_lwpolyline_code_20[counter_x];
+			count_vertex=count_vertex+1;
+
+		   if (count_vertex>49)
+		   {
+			   counter_x=vector_max+2;
+		   }
+		   if (count_vertex>vector_max+1)
+		   {
+			   counter_x=vector_max+2;
+		   }
+
+	   }
+
+	   db_lwpolyline.vector_count=vector_max;
+
+	   db_lwpolyline.antialias=Entitie_antialias;		// false
+	   db_lwpolyline.line_style=Entitie_line_style;		// normal
+	   db_lwpolyline.line_weight=Entitie_line_weight;	// thin
+	   db_lwpolyline.filling=Entitie_filling;			// none
+	   db_lwpolyline.color=Entitie_color;				// orange
+	   db_lwpolyline.closed=DXF_input_entities_lwpolyline[Count_lines].DXF_entities_lwpolyline_code_70;
+
+
+	   db_lwpolyline.ltype=DXF_input_entities_lwpolyline[Count_lines].DXF_entities_lwpolyline_code_6;
+	   db_lwpolyline.layer=DXF_input_entities_lwpolyline[Count_lines].DXF_entities_lwpolyline_code_8;
+
+
+
+
+	  Result_lwpolyline.append(db_lwpolyline.Create_LWPOLYLINE());
+
+	   Count_lines=Count_lines+1;
+	   count_vertex=1;
+	   counter_x=0;
+
+		}
+		else
+		{
+			Count_lines=Count_lines+1;
+		}
+
+
+
+	}
+
+	return Result_lwpolyline;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_lwpolyline.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,40 @@
+#ifndef DXF_ENTITIE_LWPOLYLINE_H
+#define DXF_ENTITIE_LWPOLYLINE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_lwpolyline.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_lwpolyline : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_lwpolyline(QWidget *parent = 0);
+
+	QString Result_lwpolyline;
+	QString Entitie_color;			// black
+	QString Entitie_line_weight;
+	QString Entitie_line_style;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+	QString Entitie_rotate;			// true
+	QString Entitie_tag;			// label
+
+	int Count_lines;
+	int Count_entitie_lwpolyline;
+
+	int count_vertex;
+	int Polyline_vertex;
+	int counter_x;
+	int vector_max;
+
+	QString dxf_entitie_make_lwpolyline();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_LWPOLYLINE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,7 @@
+#include "dxftoqet2/src/dxf_entitie/dxf_entitie_pint.h"
+
+dxf_entitie_pint::dxf_entitie_pint(QWidget *parent) : QWidget(parent)
+{
+
+}
+

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_pint.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,18 @@
+#ifndef DXF_ENTITIE_PINT_H
+#define DXF_ENTITIE_PINT_H
+
+//#include <QMainWindow>
+#include <QWidget>
+
+class dxf_entitie_pint : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_pint(QWidget *parent = 0);
+
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_PINT_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,33 @@
+#include "dxf_entitie_point.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_point DXF_input_entities_point[1000];
+
+dxf_entitie_point::dxf_entitie_point(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_point::dxf_entitie_make_point()
+{
+	Result_point="";
+
+	dxf_point db_point;
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_point)
+	{
+
+		db_point.x1=DXF_input_entities_point[Count_lines].DXF_entities_point_code_10;
+		db_point.y1=-DXF_input_entities_point[Count_lines].DXF_entities_point_code_20;
+		db_point.orientation=Entitie_orientation;
+
+		Result_point.append(db_point.Create_POINT());
+
+		Count_lines=Count_lines+1;
+	}
+
+	return Result_point;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_point.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,34 @@
+#ifndef DXF_ENTITIE_POINT_H
+#define DXF_ENTITIE_POINT_H
+
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_point.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_point : public QWidget
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_point(QWidget *parent = 0);
+
+	QString Result_point;
+	QString Entitie_color;			// black
+	QString Entitie_line_weight;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+	QString Entitie_rotate;			// true
+	QString Entitie_tag;			// label
+	QString Entitie_orientation;	//	n
+
+	int Count_lines;
+	int Count_entitie_point;
+
+	QString dxf_entitie_make_point();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_POINT_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,77 @@
+#include "dxf_entitie_polyline.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_polyline DXF_input_entities_polyline[1000];
+extern struct DXF_entities_vertex DXF_input_entities_vertex[5000];
+
+dxf_entitie_polyline::dxf_entitie_polyline(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_polyline::dxf_entitie_make_polyline()
+{
+
+	/* read out table and pas values to xml creator */
+
+   dxf_polyline db_polyline;
+
+   Polyline_vertex=DXF_main_base[0].DXF_entities_vertex_count;
+
+   Result_polyline="";
+
+   Count_lines=0;
+   count_vertex=1;
+
+   while (Count_lines<Count_entitie_polyline)
+   {
+
+	  for(counter_x=0;counter_x<Polyline_vertex;counter_x++)
+	  {
+
+		  if (DXF_input_entities_vertex[counter_x].Master_handle_id==DXF_input_entities_polyline[Count_lines].DXF_entities_polyline_code_5)
+		  {
+		   db_polyline.x_vector[count_vertex]=DXF_input_entities_vertex[counter_x].DXF_entities_vertex_code_10;
+		   db_polyline.y_vector[count_vertex]=-DXF_input_entities_vertex[counter_x].DXF_entities_vertex_code_20;
+		   count_vertex=count_vertex+1;
+		  }
+		  if (count_vertex>499)
+		  {
+			  counter_x=Polyline_vertex+1;
+		  }
+		  if (count_vertex>Polyline_vertex)
+		  {
+			  counter_x=Polyline_vertex+1;
+		  }
+
+	  }
+
+	  db_polyline.vector_count=count_vertex-1;
+
+	  db_polyline.antialias=Entitie_antialias;		// false
+	  db_polyline.line_style=Entitie_line_style;	// normal
+	  db_polyline.line_weight=Entitie_line_weight;	// thin
+	  db_polyline.filling=Entitie_filling;			// none
+	  db_polyline.color=Entitie_color;				// red
+	  db_polyline.closed=DXF_input_entities_polyline[Count_lines].DXF_entities_polyline_code_70;
+
+
+	  db_polyline.ltype=DXF_input_entities_polyline[Count_lines].DXF_entities_polyline_code_6;
+	  db_polyline.layer=DXF_input_entities_polyline[Count_lines].DXF_entities_polyline_code_8;
+
+
+
+
+	  Result_polyline.append(db_polyline.Create_POLYLINE());
+
+	  Count_lines=Count_lines+1;
+	  count_vertex=1;
+	  counter_x=0;
+
+
+
+
+   }
+
+   return Result_polyline;
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_polyline.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,40 @@
+#ifndef DXF_ENTITIE_POLYLINE_H
+#define DXF_ENTITIE_POLYLINE_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_polyline.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_polyline : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_polyline(QWidget *parent = 0);
+
+	QString Result_polyline;
+	QString Entitie_color;			// black
+	QString Entitie_line_weight;
+	QString Entitie_line_style;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+	QString Entitie_rotate;			// true
+	QString Entitie_tag;			// label
+
+	int Count_lines;
+	int Count_entitie_polyline;
+
+	int count_vertex;
+	int Polyline_vertex;
+	int counter_x;
+
+
+	QString dxf_entitie_make_polyline();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_POLYLINE_H

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.cpp
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.cpp	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.cpp	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,43 @@
+#include "dxf_entitie_text.h"
+
+extern struct DXF_base DXF_main_base[1];
+extern struct DXF_entities_text DXF_input_entities_text[1000];
+
+dxf_entitie_text::dxf_entitie_text(QWidget *parent) : QWidget(parent)
+{
+
+}
+
+QString dxf_entitie_text::dxf_entitie_make_text()
+{
+	dxf_text db_text;
+	DXF_Text_control db_txt_check;
+
+	Result_text="";
+
+	Count_lines=0;
+
+	while (Count_lines<=Count_entitie_text)
+	{
+
+	   db_text.QET_x=DXF_input_entities_text[Count_lines].DXF_entities_text_code_10;
+	   db_text.QET_y=-DXF_input_entities_text[Count_lines].DXF_entities_text_code_20;
+	   db_text.QET_rotation=DXF_input_entities_text[Count_lines].DXF_entities_text_code_50;
+	   db_text.QET_size=DXF_input_entities_text[Count_lines].DXF_entities_text_code_40;
+	   db_text.QET_color=Entitie_color;
+
+
+	   db_txt_check.TextToCheck=DXF_input_entities_text[Count_lines].DXF_entities_text_code_1;
+
+	   db_text.QET_text=db_txt_check.Text_control();
+
+	   Result_text.append(db_text.Create_Text());
+
+	   Count_lines=Count_lines+1;
+
+
+	}
+
+	return Result_text;
+
+}

Added: branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.h
===================================================================
--- branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.h	                        (rev 0)
+++ branches/Qetdxf/sources/dxftoqet2/src/dxf_entitie/dxf_entitie_text.h	2016-02-06 13:09:15 UTC (rev 4341)
@@ -0,0 +1,34 @@
+#ifndef DXF_ENTITIE_TEXT_H
+#define DXF_ENTITIE_TEXT_H
+
+//#include <QMainWindow>
+#include <QWidget>
+#include "dxftoqet2/src/dxf/dxf_text.h"
+#include "dxftoqet2/src/dxf_data.h"
+#include "dxftoqet2/src/qet_base_types/baseelmt.h"
+#include "dxftoqet2/src/dxf_control/dxf_text_control.h"
+
+class dxf_entitie_text : public QWidget // QMainWindow
+{
+	Q_OBJECT
+	public:
+	explicit dxf_entitie_text(QWidget *parent = 0);
+
+	QString Result_text;
+	QString Entitie_color;			// black
+	QString Entitie_line_weight;
+	QString Entitie_filling;
+	QString Entitie_antialias;
+	QString Entitie_rotate;			// true
+	QString Entitie_tag;			// label
+
+	int Count_lines;
+	int Count_entitie_text;
+
+	QString dxf_entitie_make_text();
+	signals:
+
+	public slots:
+};
+
+#endif // DXF_ENTITIE_TEXT_H


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