[PySide] paintEvent ni QScrollArea not triggered
Frank Rueter | OHUfx
frank at ohufx.com
Wed Nov 20 01:31:53 CET 2013
I forgot:
this problem only occurs when the application's style is set.
On 20/11/13 13:28, Frank Rueter | OHUfx wrote:
> 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
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
More information about the PySide
mailing list