[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/shells/mobile/applets/news/package/contents/qml
From: Marco Martin <notmart () gmail ! com>
Date: 2010-08-20 19:11:30
Message-ID: 20100820191130.57273AC855 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1166080 by mart:
add a button to get back to the post
M +9 -1 main.qml
--- trunk/playground/base/plasma/shells/mobile/applets/news/package/contents/qml/main.qml \
#1166079:1166080 @@ -112,18 +112,26 @@
id: backButton
text: "Back"
visible:false
- signal clicked
+ onClicked: {
+ bodyView.html = "<body \
style=\"background:#fff;\">"+dataSource['items'][list.currentIndex].description+"</body>";
+ visible = false;
}
+ }
QGraphicsWidget {}
}
}
Plasma.WebView {
id : bodyView
dragToScroll : true
+ onUrlChanged: {
+ if (url != "about:blank") {
+ backButton.visible = true
}
}
}
}
+ }
+ }
Connections {
target: list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic