Settings dialog infrastructure
[quicknewsreader] / qml / QuickNewsReader / content / view / News.qml
1 import QtQuick 1.0
2
3 Item {
4     id: newsRect
5     width: window.width
6
7     ListView {
8         x: 0; y: 0
9         id: list
10         width: newsRect.width; height: window.height
11         model: currentSource.listModels[componentDepth-1]
12         delegate: NewsDelegate { }
13         highlight: Rectangle { color: "steelblue" }
14     }
15     ScrollBar { scrollArea: list; height: list.height; width: 8; anchors.right: list.right }
16
17     Component.onCompleted: list.currentIndex = -1
18 }