i have lineEdit control & 2 Button i.e Enter and Clear
When the User Presses Clear Button for 4 sec or more the text in the lineEdit should be cleared.

I'm not able to capture the pressEvent on the clear button.
Help Needed.