Commit 3d417ed6 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.tests: adding a new testfile

Change-Id: I1de64b5ddb2262a08e7a50f368a7412b11c1f60d
Reviewed-on: http://codereview.qt.nokia.com/94Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 710b3603
import QtQuick 1.0
Item {
width: 200
height: 100
ListView {
anchors.fill: parent;
model: ListModel {
ListElement {
name: "BMW"
speed: 200
}
ListElement {
name: "Mercedes"
speed: 180
}
ListElement {
name: "Audi"
speed: 190
}
ListElement {
name: "VW"
speed: 180
}
}
delegate: Item {
height: 40
Row {
spacing: 10
Text {
text: name;
font.bold: true
}
Text { text: "speed: " + speed }
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment