6 width: window.width; height: window.height
8 function getNewsModelItem(prop)
10 var newsIndex = listSourceModel[window.currentSourceIndex].currentPath[componentDepth-1]
12 if( typeof currentSource.listModels[componentDepth-1].get(newsIndex) != "undefined" )
13 if( typeof currentSource.listModels[componentDepth-1].get(newsIndex)[prop] != "undefined" )
14 return currentSource.listModels[componentDepth-1].get(newsIndex)[prop]
19 property string urllink: getNewsModelItem('link')
20 property string htmlcontent: getNewsModelItem('detailedContent')
21 property string title: getNewsModelItem('title')
22 property string image: getNewsModelItem('image')
30 width: newsDetailRect.width - 20
41 text: title; width: column.width - detailImage.width - 10; wrapMode: Text.WordWrap
42 font { bold: true; family: "Helvetica"; pointSize: 16 }
48 text: htmlcontent; width: newsDetailRect.width - 20; wrapMode: Text.WordWrap
49 font.family: "Helvetica"
55 anchors.fill: newsDetailRect
58 ScrollBar { scrollArea: itemListView; height: itemListView.height; width: 8; anchors.right: itemListView.right }
65 preferredWidth: window.width
66 preferredHeight: window.height