[PySide] paintEvent ni QScrollArea not triggered

Frank Rueter | OHUfx frank at ohufx.com
Wed Nov 20 01:28:36 CET 2013


Hi all,

I seem to be stumbling from one bug into the next these days.
Here is a code snippet that shows a QScrollArea's custom paintEvent not 
being triggered if the QScrollArea.setWidget() is used to add a child 
widget AND QScrollArea.setWidgetResizable(True) is called in the 
constructor:

http://pastebin.com/Qr27ndKY

If you comment out line 9 the paint method does it's job, with line 9 
active, it is not called.
Can somebody please confirm this is a bug before I log it?


Cheers,
frank



More information about the PySide mailing list