Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to select multiple TextEdit text?
-
import QtQuick 2.0 Rectangle { Column { TextEdit { font.pointSize: 20 font.bold: true selectByMouse: true readOnly: true text: 'abc' } TextEdit { font.pointSize: 20 font.bold: true selectByMouse: true readOnly: true text: 'def' } } }
-
@senmx I think you can try with this https://doc.qt.io/qt-5/qml-qtquick-textedit.html#persistentSelection-prop
-
@daljit97 Thanks. This can solve part of the problem, but when selecting the next item, you need to release the mouse before selecting the next item.