Moin,

I am looking at directFB from a Qt point of view right now.
With Qt5 the QWS system will go away and I am trying to figure
out which features are lost by doing this.

>From a quick look (also the reason to use the user list) I
have not found a directFB API for Input Method support, maybe
you can help me to find it.

Currently with QWS the following is possible:

  - The QWSInputMethod[3] of the QWSServer[1] is called for focus
    changes. I assume I can use the IDirectFBWindows interface
    and supply a DFBWindowsWatcher to get such a feature.

  - The QWSInputMethod can use the qwsServer singleton to query
    the remote application[2]. The integer parameter of
    sendIMQuery is one of the enum values of Qt::InputMethodQuery.

  - The application will respond asynchronously to this request.


Usage:

  E.g. with WebKit the controls on a page are no Widgets, so one
  can use the ImMicroFocus to get the rect of the area the input
  is happening (e.g. to place a a window close to this location)


does directFB support such a feature? are there plans to add them?

holger

[1] http://doc.qt.nokia.com/4.7/qwsserver.html
[2] http://doc.qt.nokia.com/4.7/qwsserver.html#sendIMQuery
[3] http://doc.qt.nokia.com/4.7/qwsinputmethod.html
[4] http://doc.qt.nokia.com/4.7/qt.html#InputMethodQuery-enum

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to