<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br><br><hr id="stopSpelling">&gt;Date: Fri, 14 May 2010 00:15:25 +0200<br>&gt;From: rkmaemo@gmx.com<br>&gt;Subject: Re: Qt question: How to automatically enable numeric input mode for a         field?<br>&gt;To: scifi.guy@hotmail.com; maemo-developers@maemo.org<br>&gt;<br>

<title></title><style>
.ExternalClass p
{padding:0px;}
</style><span style="font-family: Verdana;"><font id="ecxmc_first" size="2"><p><span class="ecxApple-style-span" style="font-family: 'Times New Roman'; font-size: medium;"><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;<span style="font-family: Verdana;"><font style="font-size: 10pt;" id="ecxmc_first" size="2">I dont know whats wrong with my mail client now, a control C just sends the message</font></span><BR><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;<span style="font-family: Verdana;"><font style="font-size: 10pt;" id="ecxmc_first" size="2">so sorry my previous message(s) were sent before I finished typing...</font></span></p><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;</p><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;<span style="font-family: Verdana;"><font style="font-size: 10pt;" id="ecxmc_first" size="2">anyways</font></span></p><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;</p><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;<span style="font-family: Verdana;"><font style="font-size: 10pt;" id="ecxmc_first" size="2">use input method hints..</font></span></p><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;"><a>&gt;</a><span style="font-family: Verdana;"><font style="font-size: 10pt;" id="ecxmc_first" size="2"><a>http://doc.trolltech.com/4.6/qt.html#InputMethodHint-enum</a></font></span></p><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;</p><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px;">&gt;<span style="font-family: Verdana;">s</span><span style="font-family: Verdana;">omething like this</span></p></span></p>&gt;<BR>&gt;linedit-&gt;setInputMethodHints(Qt::ImhDigitsOnly);<BR><div>&gt;</div><div>&gt;-</div><div>&gt;krk969</div><div><br></div></font></span></p>Sorry, bad day for emailing. I am resending the mail with mailing list address included.<br><br>Actually I tried <span style="font-family: Verdana;"><font id="ecxecxmc_first" size="2">setInputMethodHints(Qt::ImhDigitsOnly).
 The problem with this hint is that when I enter the field for editing, 
my (hardware) keyboard will always be in text mode and the field does 
not accept any alpha-characters. I need to lock the Fn key manually to 
be able to </font></span>enter the numbers.<br><br>I want to make it 
more user-friendly and enable the number mode automatically when the 
cursor/focus is in this field. This way user doesn't have 
double-press/lock the Fn key before entering numbers in this field. How 
can I do it in Maemo/N900?<a title="Send (Ctrl+Enter)" id="ecxSendMessage" target="_blank"><span class="Label"></span></a>                                               <br /><hr />The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.  <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5' target='_new'>Get busy.</a></body>
</html>