Qt 6.11 is out! See what's new in the release
blog
QIntValidator again
-
I've read all the posts here justifying why code like this:
QComboBox* editor = new QComboBox(parent); editor->addItems(isos); editor->setEditable(true); editor->setValidator(new QIntValidator(1, 256000, parent)); return editor;won't work as expected. IMHO, that just doesn't wash. It should work the way that a user would expect and if it doesn't you need to do things to make it work as expected.
If you need specialised code in QLineEdit and QComboBox to make the validator work sanely, then please add it. Just saying that can't work because of intermediate values is trying to wriggle out of fixing the problem.
IMHO of course.
David