Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I´m trying to implement function fixup() after subclass QValidator, but it´s not working.
Can anyone help me?
Code:
@ void email::fixup(QString &input) const { if(input != input.toLower()) input = input.toLower(); } @
Can you please describe what the expected and the actual behavior is?
Sure! I´d expect that if an upper case character is inserted, it should become lower case. But at my QComboBox I can insert upper case characters and nothing happens.
P.S.: I implemented the validate() function and it works.
Thanks.
I called fixup function from validate and it works.