QLineEdits signal editingFinished() "This signal is emitted when the Return or Enter key is pressed or the line edit loses focus...."
When clicking a QToolBar or QMenu in a QMainWindow it neither causes the current QLineEdit to lose focus or complete the edit.
This has become a problem since the QToolBar action or Menu action could be dependent on the latest QLineEdit information. The textChanged() and the like signals creates corner cases of large CPU usage if a key is just mashed, spammed, etc and that is best avoided.
My question is other then having the QActions emit a finish all edits signal on triggered() is there any other possible solutions?
Bob
Bookmarks