[Interest] QML Virtual Keyboard + QWebview Text Inputs?
mitchell.verter at gmail.com
Fri Aug 23 23:37:56 CEST 2013
Hi. I have designed a Virtual Keyboard using QML and am trying to use it
in conjunction with a Qt (not QML) Webview.
I've been following the clues given in this posting
http://qt-project.org/forums/viewthread/11237 . Namely:
(1) Create a custom object and then
to manifest the custom object when the input is clicked
But I'm confused about how to direct the typed characters from the Virtual
would that be used to fill out a form? How could I keep the relationship
between the Keyboard and the TextInput active for long enough to enter a
string of characters?
The link above suggests:
1. QString <http://qt-project.org/doc/QString.html> WebBridge::
openInputContext(const QString <http://qt-project.org/doc/QString.html> &
3. QString <http://qt-project.org/doc/QString.html> text =
Box", "Enter your text");
4. return (!text.isNull()) ? text : orgtext;
This is very nice and I have been trying to adapt it by wrapping my QML
Keyboard in a WebBridge that inherits either from QDialog or from
No luck yet. Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest