From 9de6d5abeb5e02284ffaf786b360776b83077045 Mon Sep 17 00:00:00 2001 From: lvaatamoinen Date: Mon, 30 Jan 2012 19:11:54 +0000 Subject: [PATCH] Added test torrent files to right place, $HOME/MyDocs. Made torrent items clickable in ListView. git-svn-id: file:///svnroot/qtrapids/trunk@88 42ac0dd5-4c8c-4c71-bb3e-ecdfe252ffda --- src/qml-client/qml/TorrentPickerPage.qml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/qml-client/qml/TorrentPickerPage.qml b/src/qml-client/qml/TorrentPickerPage.qml index 44226af..162dea6 100644 --- a/src/qml-client/qml/TorrentPickerPage.qml +++ b/src/qml-client/qml/TorrentPickerPage.qml @@ -44,11 +44,14 @@ Page { Item { height: 60 width: parent.width - Text { - text: "Torrent" - } - Text { - text: url + MouseArea { + Text { + height: parent.height + width: parent.width + text: url + } + anchors.fill: parent + onClicked: { console.log("selected torrent: " + url); } } } } -- 1.7.9.5