[qet] [4357] Minor

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


Revision: 4357
Author:   scorpio810
Date:     2016-02-28 12:34:46 +0100 (Sun, 28 Feb 2016)
Log Message:
-----------
Minor

Modified Paths:
--------------
    branches/Qetdxf/sources/editor/qetelementeditor.cpp
    branches/Qetdxf/sources/editor/qetelementeditor.h

Modified: branches/Qetdxf/sources/editor/qetelementeditor.cpp
===================================================================
--- branches/Qetdxf/sources/editor/qetelementeditor.cpp	2016-02-28 11:02:30 UTC (rev 4356)
+++ branches/Qetdxf/sources/editor/qetelementeditor.cpp	2016-02-28 11:34:46 UTC (rev 4357)
@@ -1052,9 +1052,10 @@
  * @brief QETElementEditor::slot_openDxf
  */
 void QETElementEditor::slot_openDxf (){
-	//test for try
-	//DXFtoQET_MainWindow w;
-	//w.show();
+	QWidget *widget = new QWidget;
+	Ui::DXFtoQET_MainWindow ui;
+	ui.setupUi(widget);
+	widget->show();
 }
 
 /**

Modified: branches/Qetdxf/sources/editor/qetelementeditor.h
===================================================================
--- branches/Qetdxf/sources/editor/qetelementeditor.h	2016-02-28 11:02:30 UTC (rev 4356)
+++ branches/Qetdxf/sources/editor/qetelementeditor.h	2016-02-28 11:34:46 UTC (rev 4357)
@@ -27,6 +27,7 @@
 
 class ElementItemEditor;
 class ElementView;
+class DXFtoQET_MainWindow;
 
 /**
 	This class represents an element editor, allowing users to draw, change and


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