diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-05-28 01:55:11 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-05-30 23:57:20 (GMT) |
commit | e66fe7ea65b218dd320cb553bf6669d2a2021657 (patch) | |
tree | a25bb5c271ba5ea6e6826e3900607813db52b6e7 /tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml | |
parent | 81b73d11e3d147f97d20af220721617bcf3c412f (diff) | |
download | Qt-e66fe7ea65b218dd320cb553bf6669d2a2021657.zip Qt-e66fe7ea65b218dd320cb553bf6669d2a2021657.tar.gz Qt-e66fe7ea65b218dd320cb553bf6669d2a2021657.tar.bz2 |
Add selection methods to TextEdit
Sufficient to allow different selection look and feel (see whacky example)
Task-number: QTBUG-10968
Reviewed-by: Michael Brasser
Reviewed-by: Alan Alpert
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml new file mode 100644 index 0000000..47b48d8 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml @@ -0,0 +1,13 @@ +import Qt 4.7 + +Rectangle{ + width: 600 + height: 200 + Column{ + MultilineEdit{ + text: 'I am the very model of a modern major general. I\'ve information vegetable, animal and mineral. I know the kings of england and I quote the fights historical - from Marathon to Waterloo in order categorical.'; + width: 182; height: 60; + } + MultilineEdit{text: 'Hello world'} + } +} |