From 054a1e942f20e5b64626729f72023ac78dd0ce38 Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Fri, 20 Jan 2012 16:10:23 +1000 Subject: Add a persistentSelection property to TextInput. Improves feature parity with TextEdit. Task-number: QTBUG-16355 Change-Id: I3919c71454a4f4574a1ee35ad38969459beb8363 Reviewed-by: Martin Jones --- tests/auto/qtquick2/qquicktextinput/data/persistentSelection.qml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/auto/qtquick2/qquicktextinput/data/persistentSelection.qml (limited to 'tests/auto/qtquick2/qquicktextinput/data/persistentSelection.qml') diff --git a/tests/auto/qtquick2/qquicktextinput/data/persistentSelection.qml b/tests/auto/qtquick2/qquicktextinput/data/persistentSelection.qml new file mode 100644 index 0000000000..dea6e48b08 --- /dev/null +++ b/tests/auto/qtquick2/qquicktextinput/data/persistentSelection.qml @@ -0,0 +1,8 @@ +import QtQuick 2.0 + +TextInput { + property string selected: selectedText + + text: "Hello World!" + focus: true +} -- cgit v1.2.3