2013年9月22日星期日

[Android] qt floppy

Wants to be a software disk , press the edit box pops up when a floppy disk, a . Eject floppy not get the focus , the focus in the edit box . 2 at the same time to support the external physical keyboard input. Received under mostly do not match. Neighborhoods to the point we thought .
------ Solution ---------------------------------------- ----
under Qt embedded devices have QWSInputMethod support .

other platforms, bad implementation.
but not incapable .
can try soft keyboard with setWindowsFlags (staysOnTop..)
open a thread with QApplication 's focusWidget to monitor focus changes .
Each button is clicked, reset the focus back to the edit box ...
so on. .
Anyway, do not support the original ecosystem , more awkward

没有评论:

发表评论