-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDialogHeaderDragon.qml
More file actions
32 lines (26 loc) · 1.33 KB
/
DialogHeaderDragon.qml
File metadata and controls
32 lines (26 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import QtQuick
import QtQuick.Controls
import qmlcomponents
Item {
id: root
implicitWidth: dragonHeader.width
implicitHeight: dragonHeader.height
readonly property int bottomMargin: TibiaStyle.dragonHeaderMarginToDialog
Image {
id: dragonHeader
anchors.bottom: parent.bottom
anchors.bottomMargin: root.bottomMargin
SequentialAnimation {
running: true
loops: Animation.Infinite
alwaysRunToEnd: true
PropertyAnimation { target: dragonHeader; property: "source"; to: "image://dragonheader-animation/1"; duration: 0 }
PropertyAnimation { target: dragonHeader; property: "source"; to: "image://dragonheader-animation/2"; duration: 150 }
PropertyAnimation { target: dragonHeader; property: "source"; to: "image://dragonheader-animation/3"; duration: 150 }
PropertyAnimation { target: dragonHeader; property: "source"; to: "image://dragonheader-animation/4"; duration: 300 }
PropertyAnimation { target: dragonHeader; property: "source"; to: "image://dragonheader-animation/5"; duration: 150 }
PropertyAnimation { target: dragonHeader; property: "source"; to: "image://dragonheader-animation/6"; duration: 150 }
PropertyAnimation { target: dragonHeader; property: "source"; to: "image://dragonheader-animation/0"; duration: 3000 }
} //SequentialAnimation
} //Image
} //Item