Issue
How to get Click Event of QLineEdit
in Qt ?
I am not able to see any SLOT related to click in QLineEdit
?
Solution
You need to reimplement focusInEvent in a new class extending QLineEdit. The following links are going to help you.
- http://doc.qt.io/qt-5/qwidget.html#focusInEvent
- QLineEdit – focus event
- How to know if a QLineEdit got focus?
- QLineEdit Focus Event
Answered By – Lenin Raj Rajasekaran
Answer Checked By – Cary Denson (BugsFixing Admin)