qiostextresponder: Add support for ImhLatinOnly
Change-Id: I38f43cd644d3c26c834cf60019c4db1fa0b8d61f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
This commit is contained in:
parent
4fab4d2e80
commit
95b481ea6d
@ -197,6 +197,8 @@
|
|||||||
self.keyboardType = UIKeyboardTypeDecimalPad;
|
self.keyboardType = UIKeyboardTypeDecimalPad;
|
||||||
else if (hints & Qt::ImhDialableCharactersOnly)
|
else if (hints & Qt::ImhDialableCharactersOnly)
|
||||||
self.keyboardType = UIKeyboardTypePhonePad;
|
self.keyboardType = UIKeyboardTypePhonePad;
|
||||||
|
else if (hints & Qt::ImhLatinOnly)
|
||||||
|
self.keyboardType = UIKeyboardTypeASCIICapable;
|
||||||
else
|
else
|
||||||
self.keyboardType = UIKeyboardTypeDefault;
|
self.keyboardType = UIKeyboardTypeDefault;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user