[Development] Wrong resize event for QAbstractScrollArea derives

raven-worx Software info at raven-worx.net
Fri Oct 11 13:31:31 CEST 2013


Hi,

a question out of curiosity:
In QAbstractScrollArea::viewportEvent() a resize event is passed to  
the base class implementation of the event handler. Whats the reason  
for doing this for a non input event?

I'm asking because, this actually causes that you receive a wrong  
resize event for your scroll area widget, which actually didn't resize  
at all.

I hope i haven't overseen something?

You can find this code in Qt4 and still in Qt5.

thanks.





More information about the Development mailing list