Описание тега paintevent
An event that is triggered when a GUI component needs to be repainted
A PaintEvent
is an event that is triggered when a GUI component needs to be repainted. This is usually a result of a change to the underlying data behind the GUI component, so the GUI display needs to be repainted to reflect the change.