PDA

View Full Version : input mask question



zgulser
4th June 2009, 10:31
Hi,

Is it possible to set an input mask for a line edit, for example setInputMask("99:99:XX"), where XX are two characters clearly and XX is not editable.

For instance, I could type --- 56:56 K
And whenever I attempt to change the text in the line edit, I could only edit the numbers but not the XX part.

Thanks in advance.

zgulser
10th June 2009, 10:53
Hi,

Is it possible for a lineedit to check whether it's OK with the given input mask without the usage of validator?

Thanks in advance.