Hi…
I have a QLineEdit in which the user can enter only an Integer. I used a QRegExpression validator instead of QIntValidator for the integer. Because the user can enter any value which can be out of range. But I want to introduce another validator to highlight if the user enters a value which is out of specified range. Like if the value is within the range, the font color should be in green otherwise red.
Please suggest me.
Thanks and Regards.
↧