[Qt] viewportEvent of QAbstractScrollArea

Paul Ishenin ip at kmiac.ru
Tue Oct 2 10:52:49 CEST 2007


Den.Jean at telenet.be wrote:
> Hi,
> 
> I am working on providing viewportEvent of QAbstractScrollArea:
> 
> Here is a first attempt.
> http://users.pandora.be/Jan.Van.hijfte/qtforfpc/qt4pas-V1.52_Qt4.3.1.tar.gz
> http://users.pandora.be/Jan.Van.hijfte/qtforfpc/win_qt4pas-V1.52_Qt4.3.1.zip
> 
> Look at qlclabstractscrollarea.h
> 
>  1) use override_viewportEvent to install own viewportEvent
>  2) in your own Pascal viewportEvent you can call InheritedViewportEvent
>     to call QAbstractScrollArea::viewportEvent(event);
>  3) QLCLAbstractScrollArea::viewportEvent does not call QAbstractScrollArea::viewportEvent unless no pascal procedure is stored to call. 
>     
> Is this what you wanted ? If not, tell me what to change. When everything is coordinated I will release a final V1.52 for all platforms.
> 
Yes Den, this is I wanted.

Best regards,
Paul Ishenin.




More information about the Qt mailing list