Hi,
Hi I want to make a QLineEdit accept only alphabets, i.e if any other key is pressed I should alert the user to enter only alphabets.
Thank you.
Regards,
Imran
Hi,
Hi I want to make a QLineEdit accept only alphabets, i.e if any other key is pressed I should alert the user to enter only alphabets.
Thank you.
Regards,
Imran
Implement your own validator derived from http://doc.trolltech.com/4.6/qvalidator.html
and then set it to QLineEdit http://doc.trolltech.com/4.6/qlineed...l#setValidator