December 5, 2010

xsacha xsacha
Lab Rat
517 posts

Manually Set Soft Keyboard to Landscape (Symbian)

 

Hey
I have a QML program (but problem would be the same in Qt) where I have locked the screen orientation to Portrait as I don’t want the interface to rotate.
However, there are occasions where I want the user to be able to input text. Even though the screen doesn’t rotate, I wish the keyboard to rotate.

Right now, the user opens the keyboard in Landscape mode and gets a Portrait keyboard. I am tracking orientation with QtMobility.

So far the only solution I have thought of is to use a custom keyboard in QML like Colibri.

Does anyone know how I could manually rotate the soft keyboard in Qt? I have only seen methods for close and open keyboard in Qt so far.

Thanks

 Signature 

- Sacha

4 replies

December 6, 2010

QtK QtK
Lab Rat
1140 posts

AFAIK there is no api available even in Symbian to force the virtual keyboard layout.

December 6, 2010

Vass Vass
Ant Farmer
743 posts

I think you will need develop custom keyboard.

 Signature 


Vasiliy

December 6, 2010

kkrzewniak kkrzewniak
Lab Rat
219 posts

Unfortunately there is no API for the Symbian virtual keyboard, so You will need to make a custom one.

 Signature 

Me, Grimlock, not “nice dino”. ME BASH BRAINS!

December 6, 2010

QtK QtK
Lab Rat
1140 posts

I think making one for an app will be too time consuming. Check if you can find any ready to use 3rd party libraries.

 
  ‹‹ Qt 4.7.1 problems on Symbian^3 emulator      Augmented reality in Qt ››

You must log in to post a reply. Not a member yet? Register here!