QPainterImage¶
-
MacroModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
definition QPainterImage.def
Purpose¶
The QPainterImage
allows to create a 2D image onto which the user can paint using Python and a QPainter.
Parameter Fields¶
Visible Fields¶
Script¶
-
name:
script
, type:
String
¶ This contains the Python script. The following variables are available:
- painter - a QPainter
- image - the QImage onto which the painter paints
- width - the width of the image
- height - the height of the image
- ctx - the parent context of the network that the module is in