[qet] [4358] Run dxf converter is a external program |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4358
Author: scorpio810
Date: 2016-02-28 15:10:26 +0100 (Sun, 28 Feb 2016)
Log Message:
-----------
Run dxf converter is a external program
Modified Paths:
--------------
branches/Qetdxf/sources/editor/qetelementeditor.cpp
Modified: branches/Qetdxf/sources/editor/qetelementeditor.cpp
===================================================================
--- branches/Qetdxf/sources/editor/qetelementeditor.cpp 2016-02-28 11:34:46 UTC (rev 4357)
+++ branches/Qetdxf/sources/editor/qetelementeditor.cpp 2016-02-28 14:10:26 UTC (rev 4358)
@@ -1052,10 +1052,10 @@
* @brief QETElementEditor::slot_openDxf
*/
void QETElementEditor::slot_openDxf (){
- QWidget *widget = new QWidget;
- Ui::DXFtoQET_MainWindow ui;
- ui.setupUi(widget);
- widget->show();
+QString program = (QDir::homePath() + "/.qet/DXFtoQET");
+QStringList arguments;
+QProcess *myProcess = new QProcess(qApp);
+myProcess->start(program, arguments);
}
/**