1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/QtClient/JoplinQtClient/FolderList.qml
2016-12-29 20:19:00 +01:00

36 lines
718 B
QML
Executable File

import QtQuick 2.0
import QtQuick.Controls 2.0
Item {
id: root
property alias model: listView.model
property alias currentIndex: listView.currentIndex
property alias currentItem: listView.currentItem
Rectangle {
color: "#eeeeff"
border.color: "#ff0000"
anchors.fill: parent
}
ListView {
id: listView
anchors.fill: parent
delegate: folderDelegate
ScrollBar.vertical: ScrollBar { }
highlight: Rectangle { color: "lightsteelblue"; radius: 5 }
focus: true
// onModelChanged: {
//// listView.model.onDataChanged = function() {
//// console.info("testaaaaaaaaaaaaaaaaaaa")
//// }
// console.info("MODEL CHANGAID")
// }
}
Component {
id: folderDelegate
EditableListItem {}
}
}