paintevent() called , without update() or repaint()
-
HI,
My question is, paintevent() will not get called , untill we call update() or repaint(),But paintevent(), is getting called without using update() or repaint(), what am i doing wrong?.
Thanks,
-
HI,
My question is, paintevent() will not get called , untill we call update() or repaint(),But paintevent(), is getting called without using update() or repaint(), what am i doing wrong?.
Thanks,
@Pradeep-Kumar "Paint events are sent to widgets that need to update themselves, for instance when part of a widget is exposed because a covering widget was moved." - http://doc.qt.io/qt-5/qpaintevent.html#details
Paint event are sent even without anybody calling update() or repaint(). -
is their a solution how can it be resolved, or the is it the behaviour, how it should behave?.
Thanks,