blob: ef8a4508b19fd305136c4753efe85a78586cf527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import Qt 4.6
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 { matchProperties: "x,y"; duration: 500; easing: "easeInOutQuad" } }
]
}
|