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

Daisuke Kameda kaminmat at cc.rim.or.jp
Tue Feb 1 05:24:20 EET 2005


On Sunday 16 January 2005 22:37, Daisuke Kameda wrote:
> > > QMultiInputContext is never mere switcher.
> > > QMultiInputContext which we implemented has the following roles.
> > >
> > >
> > > 1. The input method which is able to delegate processing of events to
> > > the arbitrary input methods can be created by inheriting
> > > QMultiInputContext and using changeInputMethod(). This is one of the
> > > meanings of "Multi."
> > >
> > >    For example, IM can be more easily created by leaving
> > > QSimpleInputContext except the state where isComposing() is true.
> >
> > I don't think I understand you here.
>
> Sorry, I explain using other example.
>
> Please assume the situation of wanting to make input method for using
> Japanese and the language other than English. In this case, if it is
> implemented as follows, it is realizable immediately. Only when a Japanese
> input is active, Japanese input method (Anthy, canna, etc.) is used, and
> when other, input method to which m17n-lib corresponds is used.
>
> This is easily realizable if QMultiInputContext is used. The QInputContext
> class which inherited QMultiInputContext is only implemented, to which only
> when a specific key (for example, Zenkaku_Hankaku) is pushed Japanese input
> method operates, and in other, input method to which m17 n-lib corresponds
> operates.
>
> Although I do not know since I am not a specialist, probably there will be
> uses various otherwise.

I have implemented QMultiInputContext only with this feature.
The patch must be applied after applying setFocus patch. 

It has the minimum function at least. 

It will be necessary to consider individually about 
setting up default IM and changing IM by the context menu.

-- 
Daisuke Kameda <kaminmat at cc.rim.or.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-x11-opensource-4.0.0-b2-snapshot-20050131-qmultiinputcontext-contain_setFocus-20050201.diff.bz2
Type: application/x-bzip2
Size: 3312 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/immodule-qt/attachments/20050201/4c7aa7ea/attachment.bin 


More information about the immodule-qt mailing list