![]() |
QElectroTech 0.100.0-dev
|
#include "dxftoelmt.h"#include "../ui/thirdpartybinaryinstalldialog.h"#include <QFile>#include <QProcess>#include <QMessageBox>#include <QDir>
Functions | |
| QByteArray | dxfToElmt (const QString &file_path) |
| dxftoElmt Return the dxf at file_path converted to elmt. The returned value is a QByteArray, instead of a QDomDocument or QString, to let user do what they want with that. If something goes wrong the QByteArray returned is empty. | |
| QString | dxf2ElmtDirPath () |
| QString | dxf2ElmtBinaryPath () |
| dxf2ElmtBinaryPath | |
| bool | dxf2ElmtIsPresent (bool install_dialog, QWidget *parent) |
| dxf2ElmtIsPresent Return true if dxf2elmt is present in the system | |
| QString dxf2ElmtBinaryPath | ( | ) |
dxf2ElmtBinaryPath


| QString dxf2ElmtDirPath | ( | ) |

| bool dxf2ElmtIsPresent | ( | bool | install_dialog, |
| QWidget * | parent | ||
| ) |
dxf2ElmtIsPresent Return true if dxf2elmt is present in the system
| install_dialog | True to display a dialog with the explanations of how to install the dxf2elmt program if not present in the system. |


| QByteArray dxfToElmt | ( | const QString & | file_path | ) |
dxftoElmt Return the dxf at file_path converted to elmt. The returned value is a QByteArray, instead of a QDomDocument or QString, to let user do what they want with that. If something goes wrong the QByteArray returned is empty.
| file_path |

