Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Sudheer K .
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

Re: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
use input method hints - Original Message - From: Sudheer K. Sent: 05/13/10 11:04 PM To: Maemo Dev Mailing List Subject: Qt question: How to automatically enable numeric input mode for a field? Hi, I want to create a phone number field (QLineEdit) in my configuration widget. User

Re: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
/10 11:04 PM To: Maemo Dev Mailing List Subject: Qt question: How to automatically enable numeric input mode for a field? 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

Re: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
#InputMethodHint-enum something like this linedit-setInputMethodHints(Qt::ImhDigitsOnly); - krk969 - Original Message - From: Sudheer K. Sent: 05/13/10 11:04 PM To: Maemo Dev Mailing List Subject: Qt question: How to automatically enable numeric input mode for a field? Hi, I want to create

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Sudheer K .
Date: Fri, 14 May 2010 00:34:48 +0200 From: rkma...@gmx.com Subject: RE: Qt question: How to automatically enable numeric input mode for afield? To: scifi@hotmail.com; maemo-developers@maemo.org hi sudheer, as far as I know this is what its actually supposed to do , else

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
have you tried this - Original Message - From: Sudheer K. Sent: 05/13/10 11:54 PM To: rkma...@gmx.com, Maemo Dev Mailing List Subject: RE: Qt question: How to automatically enable numeric input mode for a field? - Date

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
to iron out here. try using the above working hint and see how it goes. -krk969 - Original Message - From: Sudheer K. Sent: 05/13/10 11:54 PM To: rkma...@gmx.com, Maemo Dev Mailing List Subject: RE: Qt question: How to automatically enable numeric input mode for a field

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Sudheer K .
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