Ссылка
click to show
click to show
Would anyone have a hint if there is a possibility to resolve this already 10 year old issue? It basically boils down to that each time setText is applied on a QLineEdit the cursor moves to the end of the widget. The hints on multiple places is: store the cursor position. But the more practical question is, if this is part of a DataWidgetMapper, how could you do this in a non-hacking way, preferably from the model directly.
https://stackoverflow.com/questions/15801259/qlineedit-cursor-moves-to-end-after-textchanged-or-commitdata