You need somehow to tell the system that the input is done.
In your example, you say you want to enter '1'.
You need to do something that tells the code, your input is finished, and that you don't want to type another '1' - maybe your want to enter '11'.
So when you trigger that "end of input" event, you can connect a slot to it, and there put your logic.





Reply With Quote

Bookmarks