[maemo-developers] Qt question: How to automatically enable numeric input mode for a field?

From: Sudheer K. scifi.guy at hotmail.com
Date: Fri May 14 01:04:43 EEST 2010





Hi,

I want to create a phone number field (QLineEdit) in my configuration widget. User can enter numbers and '+' or 'p' characters in the field.

The key thing is I don't want the users to use the Fn key everytime they have to edit the number. Application should automatically enable number entry and allow users to enter numbers only. Users can use Fn key to enter '+' or 'p' if needed.

The expected functionality is similar to adding a new phone number for a contact in addressbook. How can I do this in Qt? 

Regards,
Sudheer

 		 	   		  
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100513/bc795a7f/attachment.htm>
More information about the maemo-developers mailing list