summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-08-15 14:00:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-17 16:01:42 +0200
commit9cde5d427a1fc1c2d36b853e1261d08f8dbfa126 (patch)
treeaa96f86f11a3a4a6019d72c2933066b59997d63f /tests
parentac39d220f2989286d871a16f064f4de69098f167 (diff)
downloadqtquickcontrols-9cde5d427a1fc1c2d36b853e1261d08f8dbfa126.tar.gz
qtquickcontrols-9cde5d427a1fc1c2d36b853e1261d08f8dbfa126.tar.bz2
qtquickcontrols-9cde5d427a1fc1c2d36b853e1261d08f8dbfa126.zip
Add TableViewColumn::movable
Change-Id: Ibf1b68d4c63ca02c603d5203128bb94984a809f2 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/testbench/content/Components.qml2
-rw-r--r--tests/manual/testbench/main.qml1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/testbench/content/Components.qml b/tests/manual/testbench/content/Components.qml
index e9d91fa2..059a1f16 100644
--- a/tests/manual/testbench/content/Components.qml
+++ b/tests/manual/testbench/content/Components.qml
@@ -57,7 +57,7 @@ Item {
property Component toolbar: ToolBar { }
property Component statusbar: StatusBar { }
property Component label: Label {text: "I am a label" }
- property Component tableview: TableView { model: testDataModel ; TableViewColumn {title: "Column 1"}}
+ property Component tableview: TableView { property bool movableColumns: true; model: testDataModel ; TableViewColumn {title: "Column 1"; movable: movableColumns} TableViewColumn {title: "Column 2"; movable: movableColumns} }
property Component tabView: TabView { Repeater { model: 3 ; delegate:Tab { title: "Tab " + index } }}
property Component scrollview: ScrollView {
Rectangle {
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 24acb111..73ddf62b 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -212,6 +212,7 @@ ApplicationWindow {
case "isDefault":
case "partiallyCheckedEnabled":
case "alternatingRowColors":
+ case "movableColumns":
layout = layouts.boolLayout
typeName = "Boolean";
break