The LayoutExport JavaScript class. Pop up a dialog, render layout and manage the export progress bar.
More...
The LayoutExport JavaScript class. Pop up a dialog, render layout and manage the export progress bar.
◆ addRender
Add a node to be rendered.
- Parameters
-
params | The layout export parameters of the dialog when the dialog is closed. Passed as a reference. |
- Returns
- True if the parameters are valid and the scene is in a good state for being rendered.
◆ execDialog
bool LayoutExport::execDialog |
( |
LayoutExportParams * |
params, |
|
|
bool |
showExportMultiple, |
|
|
bool |
showImageSize, |
|
|
String & |
dialogTitle |
|
) |
| |
|
slot |
Show the Layout Export dialog.
- Parameters
-
params | The layout export parameters of the dialog when the dialog is closed. Passed as a reference. |
showExportMultiple | Display the export multiple files checkbox. |
showImageSize | Display the image size group of widget. |
dialogTitle | The dialog's title |
- Returns
- Return true if the user closed the dialog by pressing OK. False otherwise.
◆ flush
void LayoutExport::flush |
( |
| ) |
|
|
slot |
◆ hideProgress
void LayoutExport::hideProgress |
( |
| ) |
|
|
slot |
◆ outputFilePath
Get the path to the output files.
◆ progressCanceled
bool LayoutExport::progressCanceled |
( |
| ) |
|
|
slot |
◆ save
◆ saveXli
◆ setProgressLabel
void LayoutExport::setProgressLabel |
( |
String |
lbl | ) |
|
|
slot |
◆ showProgress
void LayoutExport::showProgress |
( |
int |
totalSteps | ) |
|
|
slot |
◆ updateProgress
void LayoutExport::updateProgress |
( |
int |
progress | ) |
|
|
slot |