1# PyQt5 Line edit mouse position changed
2
3self.line_edit.cursorPositionChanged.connect(yourfunction)
4
5# .textChanged(), .textEdited(), .returnPressed(), .editingFinished(),
6# .inputRejected(), .selectionChanged() can also be used.
7
8# - sabz