[immodule-qt] Does QT 4 beta 1 support IM modules

Lars Knoll lars at trolltech.com
Wed Feb 23 12:47:31 EET 2005


On Wednesday 23 February 2005 11:39, Daisuke Kameda wrote:
> On Tuesday 22 February 2005 18:52, Lars Knoll wrote:
> > I went through the problem once again now. I found a rather easy solution
> > to the event propagation problem:
> >
> > If a QInputContext has a parent() that itself is an input context,
> > QInputContext::sendEvent will go via the parents sendEvent method instead
> > of dispatching the event itself:
>
> [snip]
>
> > I also added imsw-multi as the IME switcher now. I might change this in
> > future versions of Qt, but this will be the state for Qt 4.0. The changes
> > will be in tonights snapshot.
>
> I have checked it, and I think this implement is good
> solution for QMultiInputContext and input method proxy.
> Thank you for consideration.

Good.

> BTW, I found that setFocus was changed to setFocusWidget.
> Why changed like this?

Because it makes the meaning of the method clearer. It's a small semantic 
change we made to hopefully make it easier to understand the API.

> Moreover, please also take introduction of
> QSimpleInputContext into consideration.

Do you have a recent copy of the QSimpleInputContext class?

Thanks,
Lars



More information about the immodule-qt mailing list