I would like to have persistent selection in QLineEdit. This means if I i.e. I will switch to other widget (edition ended, QLineEdit has lost focus) selection remains.
I tried to get this behaviour by acting on editingFinished() signal, which works, but only to some extent.
There is problem with hiding window. If I switch to another window and then I'll go back to window with my QLineEdit with selection then selection is lost.
Bookmarks