PDA

View Full Version : How to trap an QLCD overflow?



jamadagni
17th February 2006, 08:44
The Qt 4.10 tutorial lesson 5 says:

Try to make the application quit when the LCD number overflows.

I could not think of a solution. Can you kindle my imagination? Thanks.

Andrey_A
17th February 2006, 09:18
You must connect slot overflow() with signal quit(), like QPushButton.