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

Go to the source code of this file.

Functions

QByteArray ElementScaler (const QString &file_path, QWidget *parent)
 QET_ElementScaler Return the scaled element from file_path. The returned value is a QByteArray, instead of a QDomDocument or QString, to let user do what he/she wants. If something goes wrong the QByteArray returned is empty.
QString ElementScalerDirPath ()
QString ElementScalerBinaryPath ()
 ElementScalerBinaryPath.
bool ElementScalerIsPresent (bool install_dialog=true, QWidget *parent=nullptr)
 ElementScalerIsPresent Return true if QET_ElementScaler is present in the system.

Function Documentation

◆ ElementScaler()

QByteArray ElementScaler ( const QString & file_path,
QWidget * parent )

QET_ElementScaler Return the scaled element from file_path. The returned value is a QByteArray, instead of a QDomDocument or QString, to let user do what he/she wants. 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:

◆ ElementScalerBinaryPath()

QString ElementScalerBinaryPath ( )

ElementScalerBinaryPath.

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

◆ ElementScalerDirPath()

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

◆ ElementScalerIsPresent()

bool ElementScalerIsPresent ( bool install_dialog,
QWidget * parent )

ElementScalerIsPresent Return true if QET_ElementScaler is present in the system.

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