declare class QPaintEvent { }