[maemo-developers] Qt4 hildonization.

From: Sebastian Mancke asteban at gmx.de
Date: Mon Dec 24 10:51:29 EET 2007
Antonio Aloisio schrieb:
> Menus doesn't seems a problem, the code seems too easy.
> But i'm a bit confused on Input method.
> I don't understand what i really need..
> I need to embed a Qt application in a Hildon app?

You need to implement the application side of the InputMethod Framework
which handles special X messages and forwards them the QT. This will be
the qt equivalent to [5].


> 
> 
> 
> On 12/21/07, Sebastian Mancke <asteban at gmx.de> wrote:
>> Hi Antonio,
>>
>> Antonio Aloisio schrieb:
>>> I've found kkito, a kde developer that probably has got interesting
>>> patches. But it's a old user, so it's unavailable. I'm trying to
>>> contact him...
>>> PS: Can i use Dbus to create Menus and to call/comunicate with
>>> On-Screen keyboard?
>>> (i don't know hildon well yet!)
>> I'm working on an input method wrapper for java Swing. Since I'm using
>> Swing with a gtk peer, it is somewhat simpler than your qt effort. Maybe
>> you should take a look at [1] to get an idea of how it works normally/in
>> my case.
>>
>> Text Input:
>> For text input in hildon, a window has to communicate with the virtual
>> keyboard using special X Messages. This protocol is not documented (or I
>> can't find it). The best documentation I found is [2] (with some source
>> code links [3]). Nokia has released the HildonInput Framework to go to
>> the gnome upstream [4]. Since that step, the source code of the gtk-side
>> X protocol implementation is available. The most interesting part for
>> you should be in [5].
>>
>> It would help a lot, if an ongoing implementation would start with a
>> refactoring of the code in [5], to separate the protocol handling from
>> the gtk logic and get one piece of code which could be used by all
>> implementations.
>>
>> Menus:
>> The hildon Menu implementation seems to be a simple pop up menu, which
>> is displayed on the upper left corner. I think you have to reimplement
>> this in qt in a similar way.
>>
>> --Sebastian
>>
>> [1]
>> https://evolvis.org/plugins/scmsvn/viewcvs.php/trunk/maemo/hildon_swing_input/?root=jalimo
>> [2] http://maemo.org/community/wiki/inputmethod/
>> [3] https://garage.maemo.org/snippet/detail.php?type=snippet&id=5
>> [4] http://live.gnome.org/Hildon/HildonInputMethod
>> [5]
>> https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method-framework/src/hildon-im-context.c
>> --
>> tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH
>>
>> Heilsbachstr. 24, 53123 Bonn    | Poststr. 4-5, 10178 Berlin
>> fon: +49(228) / 52675-0         | fon: +49(30) / 27594853
>> fax: +49(228) / 52675-25        | fax: +49(30) / 78709617
>> durchwahl: +49(228) / 52675-17  | mobil: +49(171) / 7673249
>>
>> Geschäftsführer:
>> Boris Esser, Elmar Geese, Thomas Müller-Ackermann
>> HRB AG Bonn 5168
>> Ust-ID: DE122264941
>>
> 


-- 
tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH

Heilsbachstr. 24, 53123 Bonn    | Poststr. 4-5, 10178 Berlin
fon: +49(228) / 52675-0         | fon: +49(30) / 27594853
fax: +49(228) / 52675-25        | fax: +49(30) / 78709617
durchwahl: +49(228) / 52675-17  | mobil: +49(171) / 7673249

Geschäftsführer:
Boris Esser, Elmar Geese, Thomas Müller-Ackermann
HRB AG Bonn 5168
Ust-ID: DE122264941

More information about the maemo-developers mailing list