QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Functions
dxftoelmt.h File Reference
#include <QByteArray>
Include dependency graph for dxftoelmt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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=true, QWidget *parent=nullptr)
 dxf2ElmtIsPresent Return true if dxf2elmt is present in the system
 

Function Documentation

◆ dxf2ElmtBinaryPath()

QString dxf2ElmtBinaryPath ( )

dxf2ElmtBinaryPath

Returns
the path to the dxf2elmt program
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dxf2ElmtDirPath()

QString dxf2ElmtDirPath ( )
Here is the caller graph for this function:

◆ dxf2ElmtIsPresent()

bool dxf2ElmtIsPresent ( bool  install_dialog,
QWidget *  parent 
)

dxf2ElmtIsPresent Return true if dxf2elmt is present in the system

Parameters
install_dialogTrue to display a dialog with the explanations of how to install the dxf2elmt program if not present in the system.
Returns
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dxfToElmt()

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.

Parameters
file_path
Returns
Here is the call graph for this function:
Here is the caller graph for this function: