Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Reimplementing keyPressEvent for TextInput?
hjlee last edited by
Hi, is there a way to reimplement key press signal for TextInput in QML just like C++ keyPressEvent(QKeyEvent *event) for QLineEdit?
I tried Keys.onPressed but no matter what I do it still inserted key at the end.
Thanks in advance for help.
AcerExtensa last edited by
You can always create your own widget and export it to QML.... I don't think it is possible to reimplement functions on existing QML-Widgets etc...