How can I generate signals after clicking the button for 10times ?
How can I generate signals after clicking the button for 10times ?
Connect the button's clicked() signal to a slot. In the slot, increment a counter. When the counter reaches 10, do whatever you want, such as emitting a signal.
Hossein (21st October 2015)
Bookmarks