[MeeGo-touch-dev] How to use VKB in QT Applications?

Viacheslav Sobolev ext-viacheslav.sobolev at nokia.com
Mon Jan 17 01:54:20 PST 2011


Hi,

I use command line parameters for Qt style, for example "-style windows" 
or "-style motif".
Unfortunately I can not advise input method documentation which describe 
whole picture, but you could start your investigations from QInputContext.

ext danny wrote:
> Then how to set the Qt style?
>
> There is no qtconfig tool in meego OS, is it invalid for Qt-4.7?
>
> Is there any document to explain the input method related things for 
> Qt-4.7?
>
> --
> Best Regards,
>
>
> At 2011-01-14 17:29:09£¬"ViacheslavSobolev"<ext- 
> viacheslav.sobolev at nokia.com> wrote:
>
>     Hi,
>
>     It depends on selected Qt style too. As far as I remember default
>     Qt styling plugin shows VKB after second click on text entry.
>     Also it should be noted that plain Qt application could use VKB
>     without linking with libmeegotouch, because MInputContext provides
>     standard Qt interface for input method.
>
>     ext mohammad.anwari at nokia.com wrote:
>>     Hi,
>>
>>     The behaviour in plain Qt is bit different. With plain Qt text editor, you need to tap to a focused text editor first to get it shown.
>>
>>     ________________________________________
>>     Dari: ext danny [tornadory at 163.com]
>>     Terkirim: 14 Januari 2011 9:13
>>     Sampai: Anwari Mohammad (Nokia-MS/Helsinki)
>>     Cc: meego-touch-dev at meego.com
>>     Subjek: Re:RE: [MeeGo-touch-dev] How to use VKB in QT Applications?
>>
>>     Hi Mohammad,
>>
>>     Thanks for you quick reply.
>>
>>     I use:
>>
>>     meego-im-uiserver &
>>     export QT_IM_MODULE=MInputContext
>>     qtdemo
>>
>>     But the VKB is not showing, could you make VKB worked using that method, or I miss something?
>>
>>     --
>>      Best Regards,
>>
>>
>>
>>     At 2011-01-14 14:37:26£¬mohammad.anwari at nokia.com wrote:
>>
>>       
>>>     Hi,
>>>
>>>     You can set the QT_IM_MODULE environment variable with MInputContext
>>>     ________________________________________
>>>     Dari: meego-touch-dev-bounces at meego.com [meego-touch-dev-bounces at meego.com] atas nama ext danny [tornadory at 163.com]
>>>     Terkirim: 14 Januari 2011 8:21
>>>     Sampai: meego-touch-dev at meego.com
>>>     Subjek: [MeeGo-touch-dev] How to use VKB in QT Applications?
>>>
>>>     Hi all,
>>>
>>>     How could make QT applications use the VKB provided by meego-im-uiserver?
>>>
>>>     Is there some configurations such as GTK_IM_MODULE for gtk based applications?  I try to set the QT_IM_MODULE but do not know what should be set.
>>>
>>>     Or should I have to set the request in the source code?  I see one way using such as "inputContext->filterEvent( QEvent::RequestSoftwareInputPanel);"
>>>
>>>     And for the GTK based applications, I found that the applications all could use VKB directly even I set the GTK_IM_MODULE to null.
>>>
>>>     Any one could make me clear for this? Thanks in advance.
>>>
>>>
>>>     --
>>>     Best Regards,
>>>
>>>
>>>
>>>         
>>     _______________________________________________
>>     MeeGo-touch-dev mailing list
>>     MeeGo-touch-dev at meego.com
>>     http://lists.meego.com/listinfo/meego-touch-dev
>>       
>
>     -- 
>     Sincerely yours,
>     Viacheslav Sobolev
>
>         
>
>
>

-- 
Sincerely yours,
Viacheslav Sobolev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.meego.com/pipermail/meego-touch-dev/attachments/20110117/c0bdb89c/attachment.html>


More information about the MeeGo-touch-dev mailing list