diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-09-03 04:46:25 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-09-03 04:46:25 (GMT) |
commit | 3732fb8ac1ef79b47a4e8df9c37154618a1adc5e (patch) | |
tree | a312b450bdb39744f79ed563ab3b6f9d6fa8a547 /demos/declarative/twitter/content/MultiTitleBar.qml | |
parent | b4fdd60aeb66520d55a8cf4710c9eb648ed7937d (diff) | |
download | Qt-3732fb8ac1ef79b47a4e8df9c37154618a1adc5e.zip Qt-3732fb8ac1ef79b47a4e8df9c37154618a1adc5e.tar.gz Qt-3732fb8ac1ef79b47a4e8df9c37154618a1adc5e.tar.bz2 |
Move minehunt and twitter to demos directory
Minehunt is more a demo than an example, and the twitter app goes with
the flickr app.
Diffstat (limited to 'demos/declarative/twitter/content/MultiTitleBar.qml')
-rw-r--r-- | demos/declarative/twitter/content/MultiTitleBar.qml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/declarative/twitter/content/MultiTitleBar.qml b/demos/declarative/twitter/content/MultiTitleBar.qml new file mode 100644 index 0000000..6a6a28f --- /dev/null +++ b/demos/declarative/twitter/content/MultiTitleBar.qml @@ -0,0 +1,25 @@ +import Qt 4.6 +import "../../flickr/mobile" + +Item { + height: HomeBar.height + HomeTitleBar { id: HomeBar; width: parent.width; height: 60; + onUpdate: RssModel.reload() + } + TitleBar { id: TitleBar; width: parent.width; height: 60; + y: -80 + untaggedString: "Latest tweets from everyone" + taggedString: "Latest tweets from " + } + states: [ + State { + name: "search"; when: Screen.userView + PropertyChanges { target: TitleBar; y: 0 } + PropertyChanges { target: HomeBar; y: -80 } + } + ] + transitions: [ + Transition { NumberAnimation { properties: "x,y"; duration: 500; easing: "easeInOutQuad" } } + ] +} + |