diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-11-10 23:00:14 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-11-10 23:00:14 (GMT) |
commit | ad925d41019d5e5c47143ab91f775f970995ad0d (patch) | |
tree | ad05cea02ddf9c87b832fc7111bb1b09f5203408 /tests/auto/declarative/qmlvisual/qdeclarativetextedit/MultilineEdit.qml | |
parent | b7d91c0d798bc10dd4f8a750723285076fb96935 (diff) | |
parent | 38e1ed3b51d6aad46912eb548490d038e58203d9 (diff) | |
download | Qt-ad925d41019d5e5c47143ab91f775f970995ad0d.zip Qt-ad925d41019d5e5c47143ab91f775f970995ad0d.tar.gz Qt-ad925d41019d5e5c47143ab91f775f970995ad0d.tar.bz2 |
Merge branch '4.7-upstream' into 4.7-water
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetextedit/MultilineEdit.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetextedit/MultilineEdit.qml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/MultilineEdit.qml b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/MultilineEdit.qml index fd29eb6..4273f32 100644 --- a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/MultilineEdit.qml +++ b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/MultilineEdit.qml @@ -1,4 +1,5 @@ import QtQuick 1.0 +import "../shared" 1.0 Item { id:lineedit @@ -7,16 +8,16 @@ Item { width: 240 + 11 //Should be set manually in most cases height: textEdit.height + 11 - Rectangle{ + Rectangle { color: 'lightsteelblue' anchors.fill: parent } clip: true Component.onCompleted: textEdit.cursorPosition = 0; - TextEdit{ + TestTextEdit { id:textEdit - cursorDelegate: Item{ - Rectangle{ + cursorDelegate: Item { + Rectangle { visible: parent.parent.focus color: "#009BCE" height: 13 @@ -46,7 +47,7 @@ Item { wrapMode: TextEdit.WordWrap font.pixelSize:15 } - MouseArea{ + MouseArea { //Implements all line edit mouse handling id: mainMouseArea anchors.fill: parent; |