summaryrefslogtreecommitdiffstats
path: root/examples/quick/controls/filesystembrowser/main.qml
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-07-21 18:27:56 +0200
committerGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-07-22 08:08:05 +0000
commit940c7a154ebf42735d51038e71601c0263ac06df (patch)
tree1601578f74d8aa03fb4a2b36e64450c0e91d1604 /examples/quick/controls/filesystembrowser/main.qml
parentb67921267c7ab4faea0e21e98573974ef82634aa (diff)
parent5c9eb4220fc04730266a58e4e65373eca574e170 (diff)
Merge remote-tracking branch 'origin/5.5' into 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))
}
}