PDA

View Full Version : QLineEdit setup



lzpmail
12th July 2011, 10:36
hi, i want to configure QLineEdit by designer's inputMask attribute to achieve when enter IP address limit, but have no use, please help, what should to do. thanks.

mcosta
12th July 2011, 11:46
Read better inputMask docs.


000.000.000.000;_ IP address; blanks are _.

If you want check that the input is a valid IP address you should use a QValidator subclass

lzpmail
13th July 2011, 01:59
ok, thank you, i try test it.