qLineEdit Max Hexadecimal nummer 1FF
Unsolved
General and Desktop
-
Hello Folks, please, could you help me to take a maximun Headecimal nummer with QLineEdit?
I know this, for decimal:
chA = new QLineEdit(this); chA->setValidator(new QIntValidator(0,55,this));
but... For Hexadecimal?
Any Idea will be wellcomed.
Thanks in advance. -
I guess in this case you have to create a custom subclass of
QValidator
. The documentation explains how to do this.Hope that helps.