[Qt] QTabWidget problem

zeljko zeljko at holobit.net
Thu Jan 29 21:15:43 CET 2009

On Thursday 29 January 2009 20:52, Den Jean wrote:

> Though the binding does not allow overriding of virtual methods in pascal
> and we sometimes need to manually write qlcl* to override stuff, note
> however that almost all these methods are called upon from the eventfilter,
> if you carefully craft your eventfilter, the unwanted call to keyPressEvent
> can be avoided.

Hm....I've already tried to "shut up" qtabbar & qtabwidget by setting result 
to true in eventFilter if Key=TAB or BACKTAB, and sent SlotKey() to LCL - but 
nothing happens.

> Anyhow if you let Qt do its work -> it works fine, it you want to silence
> (shut up) Qt and let LCL do this work, well you should be able to this with
> the eventfilters. The fact that it does not work now, is proof that
> your existing eventfilters manage to shut up Qt, but the correct LCL calls
> are not there!

We'll .... it's possible that LCL calls are incorrect , I've lost some time 
against this problem and couldn't find the way to fix it.

> I will look into your eventfilters



More information about the Qt mailing list