Public Slots | |
Graphic methods | |
| bool | convertImage (const QString &input, const QString &out) |
| bool | createDesktopScreenshot (const QString &filename) |
| bool | createIDEScreenshot (const QString &filename) |
| void | createPieChart (const QString &filename, int size, const QStringList &values, const QStringList &colors, const QStringList &texts, const QStringList &legendcolors) |
| bool | createScaledImage (const QString &input, const QString &out, int width, int height) |
| bool | createScaledImage (const QString &input, const QString &out, int width) |
| bool | createThumbNail (const QString &input, const QString &thumb, int size) |
The MLABGraphic object can be used to work with 2d image files
| bool MLABGraphic::convertImage | ( | const QString & | input, | |
| const QString & | out | |||
| ) | [slot] |
copies the given image to the output file by converting the image format
| bool MLABGraphic::createDesktopScreenshot | ( | const QString & | filename | ) | [slot] |
grab the whole desktop
| bool MLABGraphic::createIDEScreenshot | ( | const QString & | filename | ) | [slot] |
grab the MeVisLab IDE window
| void MLABGraphic::createPieChart | ( | const QString & | filename, | |
| int | size, | |||
| const QStringList & | values, | |||
| const QStringList & | colors, | |||
| const QStringList & | texts, | |||
| const QStringList & | legendcolors | |||
| ) | [slot] |
draw a piechart
| bool MLABGraphic::createScaledImage | ( | const QString & | input, | |
| const QString & | out, | |||
| int | width, | |||
| int | height | |||
| ) | [slot] |
creates a scaled image (aspectRatio is NOT kept)
| bool MLABGraphic::createScaledImage | ( | const QString & | input, | |
| const QString & | out, | |||
| int | width | |||
| ) | [slot] |
creates a scaled image (aspectRatio is kept, height is calculated depending on the width)
| bool MLABGraphic::createThumbNail | ( | const QString & | input, | |
| const QString & | thumb, | |||
| int | size | |||
| ) | [slot] |
create a thumbnail for the given image
1.5.8