I want to shield the keyboard,in android
-
Have you tried setting the TextField
readOnly
? This should prevent the virtual keyboard from showing up. If it's already visible you can hide it withQt.inputMethod.hide()
@Schluchti Qt.inputMethod.hide() ??? how to setting
-
@Schluchti Qt.inputMethod.hide() ??? how to setting
-
@THEFree That's not a property and that only works if you want to hide the keyboard when it's already visible. The better approach would be to not show it in the first place. Have you tried the following?
TextField{ readOnly: true }
my phone have keyboard ,i want'to click textField .
don't use android's keyboard ,use my keboard to inputing -
my phone have keyboard ,i want'to click textField .
don't use android's keyboard ,use my keboard to inputing@THEFree you could try this: http://stackoverflow.com/questions/31275870/disable-android-keyboard-in-qml-application
Another possibility that might work would be to connect to the visibleChanged signal (see here [1]) and hide the keyboard again as soon as the keyboard gets visible.