how to select all text in QLINEEDIT on doubleclick
Unsolved
Qt 6
-
Hi,I need to select all text in qlineedit when it is doubleclicked. Must I rewrite QLINEEDIT CLASS?
thanks -
@yangyanhui4 Subclass QLineEdit, override https://doc.qt.io/qt-5/qlineedit.html#mouseDoubleClickEvent and call https://doc.qt.io/qt-5/qlineedit.html#setSelection there