[SCIM] Re: [immodule-qt] qt-immodule for scim is available in SVN
LiuCougar
liucougar at gmail.com
Fri Jul 16 09:33:50 PDT 2004
Thanks for you hint
I just hate to use native X APIs, because I'd like to make it as
portable as possible ;)
Ok, I will use preprocessor to wrap these "ugly" things
On Sat, 17 Jul 2004 01:23:03 +0900, YamaKen <yamaken at bp.iij4u.or.jp> wrote:
> At Tue, 6 Jul 2004 00:42:37 +0000,
> liucougar at gmail.com wrote:
> > Another embarrasing key related issue is that: Qt can not distinguish
> > left and right modifier keys! Increditible, isn't it? However it IS
> > true. So currently, in qtimm I take it for granted that the user
> > always use the left modifer keys. Do you have any ideas?
>
> Yes, Qt (Qt3 and Qt4) does not distinguish left and right
> modifiers. I'm guessing that this limitation had been introduced
> to abstract all platforms into single Qt platform that ensures
> source compatibility regardless of target platform. For example,
> I had heard that Mac OS X does not distinguish left and right
> modifiers.
>
> But a solution exists for X11 platform. Use
> QInputContext::x11FilterEvent() to filter the modifiers as raw
> xevent. It is called precede QInputContext::filterEvent().
>
> Although current implementstion is only running on X11 platform,
> please insert #ifdef Q_WS_X11. I hope that our implementation is
> portable, at least for Qt/Embedded.
>
> -------------------------------
> YamaKen yamaken at bp.iij4u.or.jp
>
More information about the scim
mailing list