Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, April 2008
problem validating qlineedit input


Message 1 in thread

Hello all, I'm using qt 4.3 on debian.

Here's my problem, I have a line Edit with a input mask 99999; and a 
validator that checks the value against a database table to see if it's 
already in use. My problem is that even if the validator returns 
acceptable, the hasAcceptableInput from the lineedit returns false, so, I 
g'm guessing that there should be a problem with the input mask.

Is there any way of knowing for sure where the validation error is, and 
to get some kinf of error message?

Thanks'a in advance, cheers,
HernÃni

--
 [ signature omitted ]