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
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
/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
#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
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
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
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
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