08-28-2012 09:47 AM
Hello Qt developers,
is there a way to make a Qt component 'think' that it can have keyboard input? The problem is that suppose I have text area to enter text and several Qt buttons, when I click button I do some auxilary actions and return cursor to the text area. But as soon as I click any Qt button my virtual keyboard disappears and I have to swipe to bring it to the screen again. If I use virtualkeyboard_show() the keyboard goes down and up which looks ugly.
So the question: can I make buttons think that they can have keyboard input so keyboard never disappears from the screen?
PS: the same behaviour for BB2 and BB10.
09-05-2012 10:43 AM
Yes, it goes down and up which looks ugly. I had to patch Qt lib for now which is bad because I have to deploy my own Qt lib with my app while Qt libraries are already on the BB10 device.
09-05-2012 11:59 AM
I'm affraid you will need to stay tuned, check the comments below from the Release Notes - Beta2
Focus handling for controls - The approaches to focus handling are being updated. This is a work-in-progress, but will allow controls to become focusable and have a region of interest that is connected to scrolling and the virtual keyboard. Stay tuned for more updates!