Hi,
Please help me on doing this.
I have a lineedit in which user can enter something like 12-24,67-90.
Actually user is entering range of values. If user is entering anything other than numbers,hyphen and comma it should pop up data is not valid.
How to form a QRegExp for this and is it a right way to check it using ui->lineEdit->hasAcceptableInput function?
Thanks in advance,
Namitha
Bookmarks