Guys. All Qt text input controls work well and launch soft keyboard automatically.
My problem was in my own TextEdit, that I wrote... Thanks. From: Cezar Menezes Sent: Monday, March 31, 2014 3:14 AM To: VStevenP Cc: igor mironchik ; Alan Ezust ; interest@qt-project.org Subject: Re: [Interest] TextEdit and virtual keyboard I believe TextEdit already launches the virtual keyboard when it receives the focus. Try setting the "z" parameter as 1 to put the TextInput object in foreground. Perhaps a MouseArea may be overriding the focus capture. Example: import QtQuick 2.0 Rectangle { width: 320 height: 480 TextEdit { z: 1 width: parent.width text: "Some Text" font.family: "Helvetica" font.pointSize: 20 color: "blue" wrapMode: TextEdit.WrapAnywhere } MouseArea { anchors.fill: parent onClicked: { Qt.inputMethod.hide() ; } } } -------------------------------------------------------------------------------- From: "VStevenP" <vstevenpa...@yahoo.com> To: "igor mironchik" <igor.mironc...@gmail.com>, "Alan Ezust" <alan.ez...@gmail.com> Cc: interest@qt-project.org Sent: Sunday, March 30, 2014 8:42:55 PM Subject: Re: [Interest] TextEdit and virtual keyboard As an aside, when you use a _TextInput_ on iOS, it does auto-launch the iOS soft keypad when you tap on the TextInput. Pretty convenient. Maybe TextEdit should be enhanced to work like TextInput; maybe it should auto-launch the platform-specific keypad like TextInput does. - VStevenP -------------------------------------------------------------------------------- From: "igor.mironc...@gmail.com" <igor.mironc...@gmail.com> To: Alan Ezust <alan.ez...@gmail.com> Cc: interest@qt-project.org Sent: Saturday, March 29, 2014 12:26 PM Subject: Re: [Interest] TextEdit and virtual keyboard Hi and thanks. I’ve found the answer: qApp->inputMethod()->show(); From: Alan Ezust Sent: Saturday, March 29, 2014 5:21 PM To: igor.mironc...@gmail.com Cc: interest@qt-project.org Subject: Re: [Interest] TextEdit and virtual keyboard There is not one that is included in Qt. You can make one. Here are some links that show how. http://doc.qt.digia.com/QtVirtualKeyboard/qtvirtualkeyboard-enterprise-virtualkeyboard-virtualkeyboard-virtualkeyboard-qml.html http://qt-project.org/forums/viewthread/1486 Or you can try to reuse one that was created for a specific platform, such as meego. https://gitorious.org/qtmediahub/meegoremote/source/8e4ce80ef1338278af64265fa55dba49650070d4:qml/VirtualKeyboard.qml#L43 On Sat, Mar 29, 2014 at 5:36 AM, <igor.mironc...@gmail.com> wrote: Hi. I’m implementing TextEdit. And I want the virtual keyboard to be shown on tap on the widget (on mobile platforms). What should I do for it? Thanks. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest