Hi all,

I created a class and places some public variables to use in class functions:

QImage resultImage;

Now i need to declare a QPainter too in the Public and use with all the functions.

QPainter radar_painter(&resultImage); this code how do i declare in constructor and use the variable in all functions for drawing or updating.

Please help me.

Regards,
Augus.