1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import QtQuick 2.0 Item { height: 200 width: 200 TextEdit { objectName: "textedit" text: "Hello\nWorld!" selectByMouse: true cursorDelegate: Rectangle { width: 10 color: "transparent" border.color: "red" } } }