summaryrefslogtreecommitdiff
path: root/tests/manual/tableviewmodels
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-02-10 10:27:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-15 23:05:09 +0100
commit02659c84f6582ace4b189d53b0811846ec28ecef (patch)
tree56203355c4900e9f3bf554fd9d15e757e69f301a /tests/manual/tableviewmodels
parentc7077ae6e1444e30aa26a4880611b35014e8dd99 (diff)
downloadqtquickcontrols-02659c84f6582ace4b189d53b0811846ec28ecef.tar.gz
Update API and documentation of TableView
Note that I renamed Column to TableViewColumn Change-Id: I8968797cede9a117a6acac09997fba385ff76b30 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'tests/manual/tableviewmodels')
-rw-r--r--tests/manual/tableviewmodels/qml/main.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/manual/tableviewmodels/qml/main.qml b/tests/manual/tableviewmodels/qml/main.qml
index 2c4c359c..abdedc81 100644
--- a/tests/manual/tableviewmodels/qml/main.qml
+++ b/tests/manual/tableviewmodels/qml/main.qml
@@ -58,7 +58,7 @@ Rectangle {
model: model_listmodel // qml
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
role: "value"
width: 100
}
@@ -67,7 +67,7 @@ Rectangle {
model: 3 // qml
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
width: 100
}
}
@@ -75,7 +75,7 @@ Rectangle {
model: ["A", "B", "C"] // qml
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
width: 100
}
}
@@ -83,7 +83,7 @@ Rectangle {
model: Item { x: 10 } // qml
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
role: "x"
width: 100
}
@@ -92,7 +92,7 @@ Rectangle {
model: model_qobjectlist // c++
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
role: "value"
width: 100
}
@@ -101,7 +101,7 @@ Rectangle {
model: model_qaim // c++
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
role: "test"
width: 100
}
@@ -110,7 +110,7 @@ Rectangle {
model: model_qstringlist // c++
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
width: 100
}
}
@@ -118,7 +118,7 @@ Rectangle {
model: model_qobject // c++
anchors { left: parent.left; right: parent.right }
height: 70
- TableColumn {
+ TableViewColumn {
role: "value"
width: 100
}