When enterig text in a QLabel I wish to make it call a specific slot when ever the user presses ENTER when the cursor is in the QLabel widget.
Is there an easy way of doing this?
When enterig text in a QLabel I wish to make it call a specific slot when ever the user presses ENTER when the cursor is in the QLabel widget.
Is there an easy way of doing this?
But QLabels are not editable.
Yes, sorry, I meant QLineEdit, and there is a returnedPressed signal that I can use.
Sorry.
Bookmarks