[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/declarative-applets/replacements/news/package/contents/ui/ComplexComponents
From: Sebastian Kügler <sebas () kde ! org>
Date: 2011-05-01 22:23:07
Message-ID: 20110501222307.0EBB2AC85D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1230060 by sebas:
Add title and author to the articleview
needs support in the rss dataengine, rev c1cb656
M +2 -1 ItemsList.qml
--- trunk/playground/base/plasma/declarative-applets/replacements/news/package/contents/ui/ComplexComponents/ItemsList.qml \
#1230059:1230060 @@ -68,6 +68,7 @@
}
delegate: ListItemEntry {
+ id: feedItem
text: title
date: Utils.date(time)
state: (list.currentIndex == index)?"sunken":"normal"
@@ -86,7 +87,7 @@
list.currentIndex = index;
bodyView.articleUrl = link;
- var parsedHtml = "<html><head><style type=\"text/css\">" + \
theme.styleSheet + "</style></head><body>" + description + "</body></html>"; + \
var parsedHtml = "<html><head><style type=\"text/css\">" + theme.styleSheet + \
"</style></head><body><h2>" + title + "</h2><em>by " + author + "</em><br />" + \
description + "</body></html>"; bodyView.articleHtml = parsedHtml;
list.itemClicked();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic