summaryrefslogtreecommitdiffstats
path: root/examples/quick/controls/filesystembrowser/main.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-07-22 18:21:04 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-07-22 18:29:57 +0000
commit34acf65f27578e819356eda48e7c597850d06fd6 (patch)
tree6929d2b1233c1ffd5070b2862d2c58f8cce32c15 /examples/quick/controls/filesystembrowser/main.qml
parenta4307189203f95a5094f55c239cb1f19f89766a1 (diff)
parent940c7a154ebf42735d51038e71601c0263ac06df (diff)
Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev
Diffstat (limited to 'examples/quick/controls/filesystembrowser/main.qml')
-rw-r--r--examples/quick/controls/filesystembrowser/main.qml16
1 files changed, 15 insertions, 1 deletions
diff --git a/examples/quick/controls/filesystembrowser/main.qml b/examples/quick/controls/filesystembrowser/main.qml
index 454a9f31d..abc3c20cd 100644
--- a/examples/quick/controls/filesystembrowser/main.qml
+++ b/examples/quick/controls/filesystembrowser/main.qml
@@ -99,11 +99,25 @@ ApplicationWindow {
}
TableViewColumn {
+ title: "Size"
+ role: "size"
+ resizable: true
+ horizontalAlignment : Text.AlignRight
+ }
+
+ TableViewColumn {
title: "Permissions"
- role: "filePermissions"
+ role: "displayableFilePermissions"
+ resizable: true
+ }
+
+ TableViewColumn {
+ title: "Date Modified"
+ role: "lastModified"
resizable: true
}
onDoubleClicked: isExpanded(index) ? collapse(index) : expand(index)
+ onActivated : Qt.openUrlExternally(fileSystemModel.data(index, 263))
}
}