[Qt-qml] TextInput and open/closeSoftwareInputPanel methods

mathias.malmqvist at nokia.com mathias.malmqvist at nokia.com
Wed Feb 23 23:42:49 CET 2011


Hi Thomas,

> I developed my own VirtualKeybord with qml and I have no idea how implement it with TextInput methods. 
> I speak about openSoftwareInputPanel() and closeSoftwareInputPanel().

The openSoftwareInputPanel() and closeSoftwareInputPanel() operates the platform's built-in virtual keyboard, 
and won't have any effect on a virtual keyboard you've added to your QML application. I don't believe there's
any hooks to allow your QML virtual keyboard to take the place of the build-in one, but someone else can 
probably tell us for sure. Maybe there's a way to disable the VK for your whole application, but then it would still
be hard to get your own to show up in all cases instead. In any case, implementing a UI element with so many
individual parts as a VK will result in very poor loading performance on a mobile platform.


Cheers
Mathias


________________________________________
From: qt-qml-bounces+mathias.malmqvist=nokia.com at qt.nokia.com [qt-qml-bounces+mathias.malmqvist=nokia.com at qt.nokia.com] on behalf of ext Thomas PABST [thomas.pabst at gmail.com]
Sent: Wednesday, February 23, 2011 4:33 PM
To: Qt-qml at qt.nokia.com
Subject: [Qt-qml] TextInput and open/closeSoftwareInputPanel methods

Hi,

I'm currently trying to understand how we can use our own behavior with TextInput.

I developed my own VirtualKeybord with qml and I have no idea how implement it with TextInput methods. I speak about openSoftwareInputPanel() and closeSoftwareInputPanel().

I also read the Qt documentation at http://doc.qt.nokia.com/4.7-snapshot/qml-textinput.html#openSoftwareInputPanel-method but informations inside don't tell us how use the mechanism.

Thanks

-----------------------------------------------------
Thomas PABST
thomas.pabst at gmail.com<mailto:thomas.pabst at gmail.com>


More information about the Qt-qml mailing list