qmlmirror/TaskWarrior.qml
Oscar Andreasson 5b041df310 QmlMirror.qml: refactoring
TaskWarrior support added
Moved all windows to using MirrorWindow
2015-11-17 08:14:05 +01:00

31 lines
554 B
QML

import QtQuick 2.2
//import net.frozentux.qmlcomponents 1.0
Rectangle {
id: root
color: "black"
property string fileName: "jsondata.txt"
JSONListModel {
id: jsonModel
source: "jsondata.txt"
}
ListView {
id: jsonView
anchors.fill: parent
model: jsonModel.model
delegate: Text {
text: model.description
color: "white"
Component.onCompleted: {
console.log("Text: " + text)
}
}
}
}