Change the mechanism of paintEvent