>Date: Fri, 14 May 2010 01:04:19 +0200
>From: rkma...@gmx.com
>Subject: RE: Qt question: How to automatically enable numeric input mode for   
>a       field?
>To: scifi....@hotmail.com; maemo-developers@maemo.org
>


>have you tried this hint  ? ( this worked for the spin box, I could use the 
>hardware keyboard without pressing Fn )
>
>Qt::ImhDigitsOnly
>
>Qt::ImhFormattedNumbersOnly didnt work for me , for the spin box , I needed a 
>dot (.) , since I was using a double spinbox. I'll be >raising a bug for that, 
>perhaps even the hint you are using below has similar issues.
>
>WHen I spoke to some QT team members , what they told me was this should be 
>done by default for some widgets, for example the spinbox >there
>shouldnt be a need to explicitly hint, it should be default, so it seems there 
>could be issues to iron out here.
>
>try using the above "working" hint and see how it goes.
>
>-krk969

Ram,

I have tried Qt::ImhDigitsOnly and it works as expected. It will switch the 
physical and virtual keyboard to numeric input only. I guess I will use it at 
this moment (I don't really need p and + characters in the field). Thanks for 
your help.

Regards,
Sudheer
                                          
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to