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] != "undefined" )
13 if( typeof currentSource.listModels[componentDepth-1].get(newsIndex) != "undefined" )
14 if( typeof currentSource.listModels[componentDepth-1].get(newsIndex)[prop] != "undefined" )
15 return currentSource.listModels[componentDepth-1].get(newsIndex)[prop]
20 property string urllink: getNewsModelItem('link')
21 property string htmlcontent: getNewsModelItem('detailedContent')
22 property string title: getNewsModelItem('title')
23 property string image: getNewsModelItem('image')
31 width: newsDetailRect.width - 20
42 text: title; width: column.width - detailImage.width - 10; wrapMode: Text.WordWrap
43 font { bold: true; family: "Helvetica"; pointSize: 16 }
49 text: htmlcontent; width: newsDetailRect.width - 20; wrapMode: Text.WordWrap
50 font.family: "Helvetica"
56 anchors.fill: newsDetailRect
59 ScrollBar { scrollArea: itemListView; height: itemListView.height; width: 8; anchors.right: itemListView.right }
66 preferredWidth: window.width
67 preferredHeight: window.height