[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/declarative-applets/replacements/rssnow/package/contents/ui
From: Lukas Appelhans <l.appelhans () gmx ! de>
Date: 2010-12-10 13:58:24
Message-ID: 20101210135824.111DCAC8A6 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1205224 by lappelhans:
Much much better usability
M +2 -2 ListItemEntry.qml
M +1 -0 main.qml
--- trunk/playground/base/plasma/declarative-applets/replacements/rssnow/package/contents/ui/ListItemEntry.qml \
#1205223:1205224 @@ -97,13 +97,13 @@
onClicked: {
if (mouse.x < delegateLayout.width && mouse.x > (delegateLayout.width - \
leftArrow.width)) { if (mouse.y > leftArrow.height) {
- if (entryList.currentIndex == entryList.count)
+ if (entryList.currentIndex == (entryList.count - 1))
entryList.currentIndex = 0
else
entryList.currentIndex = entryList.currentIndex + 1
} else
if (entryList.currentIndex == 0)
- entryList.currentIndex = entryList.count
+ entryList.currentIndex = (entryList.count - 1)
else
entryList.currentIndex = entryList.currentIndex - 1
}
--- trunk/playground/base/plasma/declarative-applets/replacements/rssnow/package/contents/ui/main.qml \
#1205223:1205224 @@ -91,6 +91,7 @@
width: feedListContainer.width
height: 50
clip: true
+ highlightMoveDuration: 300
model: PlasmaCore.SortFilterModel {
filterRole: "feed_title"
sourceModel: PlasmaCore.DataModel {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic