![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|

Functions | |
| QString CTK_WIDGETS_EXPORT | ctk::base64HTMLImageTagSrc (const QImage &image) |
| QImage CTK_WIDGETS_EXPORT | ctk::grabWidget (QWidget *widget, QRect rectangle=QRect()) |
| void | initCTKVisualizationVTKWidgetsPythonQtDecorators () |
| void | initCTKWidgetsPythonQtDecorators () |
| QImage CTK_WIDGETS_EXPORT | ctk::kwIconToQImage (const unsigned char *data, int width, int height, int pixelSize, unsigned int bufferLength, int options=0) |
| QString CTK_WIDGETS_EXPORT ctk::base64HTMLImageTagSrc | ( | const QImage & | image | ) |
Create a base 64 image tag. Can be used that way: QString("<img src=\"%1">").arg(base64HTMLImageTagSrc(myImage);
| QImage CTK_WIDGETS_EXPORT ctk::grabWidget | ( | QWidget * | widget, |
| QRect | rectangle = QRect() |
||
| ) |
Grab the contents of a QWidget and all its children. Handle correctly the case of QGLWidgets.
| void initCTKVisualizationVTKWidgetsPythonQtDecorators | ( | ) |
Definition at line 128 of file ctkVisualizationVTKWidgetsPythonQtDecorators.h.
| void initCTKWidgetsPythonQtDecorators | ( | ) |
Definition at line 162 of file ctkWidgetsPythonQtDecorators.h.
| QImage CTK_WIDGETS_EXPORT ctk::kwIconToQImage | ( | const unsigned char * | data, |
| int | width, | ||
| int | height, | ||
| int | pixelSize, | ||
| unsigned int | bufferLength, | ||
| int | options = 0 |
||
| ) |
Convert an KWidget encoded image into a QImage The data can be base64 encoded and/or zlib compressed.