MeVisLab Scripting Reference
|
Inherits QObject.
Public Slots | |
Script access | |
| |
void | setOutputFormat (const QString &format) |
void | setOutputFileName (const QString &filename) |
void | setLandscapeOrientation () |
void | setPortraitOrientation () |
void | setPageSize (const QString &paperSize) |
void | printTextDocument (QTextDocument *document) |
void | printHtml (const QString &html, const QString &localPath=QString()) |
bool | showPrintDialog () |
MLABPrinter object available via MLAB.
The MLABPrinter object can be used to print either to a printer or a PDF document:
See the TestPrinting module for getting a complete example.
|
slot |
Prints the given rich text, localPath is used to resolve links to images.
|
slot |
Prints the given text document.
|
slot |
Sets to landscape orientation.
|
slot |
Sets the filename to be written.
|
slot |
Sets the output format (may be "PDF" or "NATIVE").
|
slot |
Sets the page size.
|
slot |
Sets to portrait orientation.
|
slot |
Configures with print dialog, returns true if printing should be performed.