import QtQuick 2.2 import "." Item { id: msgDelegate width: parent.width height: 150 Column { Text { text: 'MsgId: ' + AuthorId } Text { text: 'AuthorId: ' + AuthorId } Row { Text { text: 'Name: ' + MsgName } Text { text: ' PublishTs: ' + PublishTs } } Text { text: 'Msg: ' + Msg } Row { Text { text: 'NumberFiles: ' + NumberFiles } Text { text: ' TotalFileSize: ' + TotalFileSize } } Text { text: 'FileNames: ' + FileNames } Text { text: 'FileSizes: ' + FileSizes } Text { text: 'FileHashes: ' + FileHashes } Row { Text { text: 'HaveVoted: ' + HaveVoted } Text { text: ' UpVotes: ' + UpVotes } Text { text: ' DownVotes: ' + DownVotes } Text { text: ' Comments: ' + Comments } } } MouseArea { hoverEnabled: false anchors.fill: parent onClicked: { item.ListView.view.currentIndex = index } } }