Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QlineEdit problem.... cursor to be at first position
when i click the lineedit cursor pointer comes to first ..so that we can type..
i am creating lineedit at runtime..
when i use above code run it ...when i click the lineedit mouse cursor is at foourth position....
I can use the back arrow key to go to the left hand side and begin typing even though the field is limited to 4 characters.
the_ last edited by
Just have a look at http://doc.qt.io/qt-5/qlineedit.html#cursorPosition-prop
i used Qvalidator to solve that problem....