#include <QByteArray>
Go to the source code of this file.
|
| 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.
|
◆ 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
-
- Returns
◆ ElementScalerBinaryPath()
| QString ElementScalerBinaryPath |
( |
| ) |
|
ElementScalerBinaryPath.
- Returns
- the path to the QET_ElementScaler program
◆ ElementScalerDirPath()
| QString ElementScalerDirPath |
( |
| ) |
|
◆ ElementScalerIsPresent()
| bool ElementScalerIsPresent |
( |
bool | install_dialog, |
|
|
QWidget * | parent ) |
ElementScalerIsPresent Return true if QET_ElementScaler is present in the system.
- Parameters
-
| install_dialog | True to display a dialog with the explanations of how to install the QET_ElementScaler program if not present in the system. |
- Returns