From 9cde5d427a1fc1c2d36b853e1261d08f8dbfa126 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 15 Aug 2013 14:00:03 +0200 Subject: Add TableViewColumn::movable Change-Id: Ibf1b68d4c63ca02c603d5203128bb94984a809f2 Reviewed-by: Caroline Chao --- tests/manual/testbench/content/Components.qml | 2 +- tests/manual/testbench/main.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3