[Qt-qml] Virtual keyboard and PageStack model

sauli.kauppi at nokia.com sauli.kauppi at nokia.com
Mon Nov 14 07:23:31 CET 2011


Hi,

----- Alkuperäinen viesti -----
> On Sun, Nov 13, 2011 at 5:33 PM, Harri Pasanen <harri at mpaja.com<mailto:harri at mpaja.com>> wrote:
> > I have a TextField and if I just set
> > focus = true the virtual keyboard pops up which was somewhat
> surprising.
>
> I'll also be glad to know how to have the text field in focus, or
> "highlighted" so user would know it is expecting input and only if a
> user pressed it to open the VKB.
> >

You could use placeholder text property to inform user.

> > More annoying for me is that the virtual keyboard does not overlap the
> > screen, but it pushes the active window contents up to make place for
> > itself.    Looking at the TextField documentation did not mention
> > anything in particular about this effect.  I honestly don't know in
> > which circumstances this would be the desirable behaviour, but how to
> > turn that off?
>
> So I'm working on a map application using the googlemaps qml example,
> and it overlaps it which is annoying because I want to be able to show
> the address text input even if the VKB is open :) I wonder how I can
> make it behave like it does for you.
>

VKB is shown when TextField is focused. Re-positioning is done, if TextField is inside Flickable element, to make sure that TextField remains visible. There is no API property to disable this behaviour, not sure if it is possible with some hack...

> -Sivan
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com<mailto:Qt-qml at qt.nokia.com>
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>

Br,
Sauli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111114/871d261a/attachment.html 


More information about the Qt-qml mailing list