[Qt] viewportEvent of QAbstractScrollArea

Павел Ишенин webpirat at mail.ru
Mon Oct 1 15:15:31 CEST 2007


zeljko wrote:
> On Monday 01 October 2007 13:05, Den.Jean at telenet.be wrote:
>   
>> I do not think this was necessary. It could have been done
>> with an eventfilter. But as you asked for it twice :-).
>> The disadvantage of this is that you cannot use it on descendants
>> of QAbstractscrollarea. With an eventfilter you can
>>     
>
> I don't think that's not necessary anymore , but let's wait paul's opinion
>   
We are still painting on QAbstractScrollArea window instead of viewport 
window and this is bad. I dont know how to paint on viewport window 
without hack So I think this will be useful.

Best regards,
Paul Ishenin.



More information about the Qt mailing list