Saturday, August 30th 2008, 12:03pm UTC+1

You are not logged in.

  • Login
  • Register

tima

Beginner

1

Wednesday, February 6th 2008, 2:03pm

Problem

I have a keypad where i am takin input as QStrings ,

Now when the usen enters a number i want

. For example, to enter 123.45 on a floating point range screen having a range from 000.00 to 999.99:
Pressing "1" Key: it will show - 000.01
Pressing "2" Key: it will show - 000.12
Pressing "3" Key: it will show - 001.23
Pressing "4" Key: it will show - 012.34
Pressing "5" Key: it will show - 123.45


Can ne1 tell how to go about it , i am very new to QT
  • Go to the top of the page

tima

Beginner

2

Thursday, February 7th 2008, 3:40am

hey nobody to help?????
  • Go to the top of the page

nijish

Trainee

Posts: 154

Location: Bangalore

Occupation: Software Engineer

3

Sunday, February 17th 2008, 9:26pm

the keyboard driver is installed?
which version?

if you press the keys after integrating the driver, you can get the ascii values internally.
since you are using QString, a recursive algorithm for dumping the values from 1 to x will do. simple.

btw... have you implemented it already?
  • Go to the top of the page

Rate this thread