[SailfishDevel] Interacting with the Sailfish Software Input Panel from code
christopher.lamb at thurweb.ch
christopher.lamb at thurweb.ch
Tue Jan 28 17:07:40 UTC 2014
Hi Pekka
thanks, that's it!
Now using Qt.inputMethod.show() I have found this documented as a 4.8
to 5.0 change.
http://qt.apidoc.info/5.2.0/qtdoc/qtquick-porting-qt5.html
I think it would be helpful if the Silica documentation of the
TextArea component also referred to the SoftwareInputPanel and
Qt.inputMethod....
Thanks
Chris
Zitat von "Pekka Vuorela" <pekka.vuorela at jolla.com>:
> On Tue, 2014-01-28 at 17:14 +0100, christopher.lamb at thurweb.ch wrote:
>> Hi all
>>
>> Is there any way to interact with the Jolla Software Input Panel
>> (Visual Keyboard9 from Code?
>>
>> i.e.
>> Are any signals emitted when it opens / closes?
>>
>> Are there any methods to open and close it?
>>
>> Harmattan had things like panelOpen and closeSoftwareInputPanel();
>>
>> So far in Sailfish all I have found is that from a QML TextArea
>> element onClicked and onFocusChanged are emitted, giving an indirect
>> indication that the keyboard has opened.
>
> QInputMethod class, QGuiApplication::inputMethod(), and in QML
> Qt.inputMethod.show()/hide() etc.
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>
More information about the Devel
mailing list