summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/content/SameDialog.qml
blob: 86248a6ea30922674b109b07617cf60322c72239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import Qt 4.6

Rect {
    property string text: "Hello World!"
    property int show: 0
    id: page
    opacity: 0
    opacity: Behavior { 
        SequentialAnimation {
            NumberAnimation {property: "opacity"; duration: 1500 }
            NumberAnimation {property: "opacity"; to: 0;  duration: 1500 }
        }
    }
    color: "white"
    pen.width: 1
    width: 200
    height: 60
    Text { anchors.centeredIn: parent; text: parent.text }
}