[Qt-interest] QLineEdit: limit lenght of data to type

Miguel Cardenas mfcardenas at gmail.com
Fri Feb 27 15:56:01 CET 2009


Hello list

Can anybody tell me if I can limit the length of data to a maximum fixed
size in a QLineEdit object? something like the text field in a html form...
Am making a database application and want to limit the string lenght while
typing the contents instead of cropping data or sending an error dialog...

Thanks!

-- 
Miguel Cardenas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090227/7366b92b/attachment.html 


More information about the Qt-interest-old mailing list