diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-04-27 13:57:04 +1000 |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-04-27 14:51:22 +1000 |
commit | 47712d1f330e4b22ce6dd30e7557288ef7f7fca0 (patch) | |
tree | 40c179802054fa5ee9139dfd04c9269b03664c29 /tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml | |
parent | 8878e2c53a0c9408d4b468e2dad485743c32f58b (diff) |
Ignore changes to selectByMouse during a selection.
Use the value of selectByMouse at the time of a mouse press event in
all subsequent mouse events in a sequence. This is the same as
ignoring the intial mouse press except mouse events for other actions
are still accepted.
Change-Id: I59b50bf95d26c6320e6e74eeb679b4153e0edf4d
Task-number: QTBUG-18887
Reviewed-by: Martin Jones
Diffstat (limited to 'tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml new file mode 100644 index 0000000000..8115ba05e3 --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml @@ -0,0 +1,7 @@ +import QtQuick 1.0 + +TextInput { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: true +} |