duave
9th September 2010, 07:42
Hi,
I just started using QT the day before yesterday and am having a little trouble figuring out how to make a beep noise when my QIntValidator returns false.
I'm using a QLineEdit and a QIntValidator with a range 0-5.
When a user enters an "A" or a "6" (for example), I want my program to qApp->beep
Any advice on doing this?
I just started using QT the day before yesterday and am having a little trouble figuring out how to make a beep noise when my QIntValidator returns false.
I'm using a QLineEdit and a QIntValidator with a range 0-5.
When a user enters an "A" or a "6" (for example), I want my program to qApp->beep
Any advice on doing this?