FreeKill/Fk/PhotoElement/Magatama.qml
notify 2acec5f20a
Qmldir (#155)
重组qml文件,使用qmldir文件实现模块化
2023-05-19 10:08:36 +08:00

60 lines
975 B
QML

// SPDX-License-Identifier: GPL-3.0-or-later
import QtQuick
import Fk
Image {
source: SkinBank.MAGATAMA_DIR + "0"
state: "3"
states: [
State {
name: "3"
PropertyChanges {
target: main
source: SkinBank.MAGATAMA_DIR + "3"
opacity: 1
scale: 1
}
},
State {
name: "2"
PropertyChanges {
target: main
source: SkinBank.MAGATAMA_DIR + "2"
opacity: 1
scale: 1
}
},
State {
name: "1"
PropertyChanges {
target: main
source: SkinBank.MAGATAMA_DIR + "1"
opacity: 1
scale: 1
}
},
State {
name: "0"
PropertyChanges {
target: main
source: SkinBank.MAGATAMA_DIR + "0"
opacity: 0
scale: 4
}
}
]
transitions: Transition {
PropertyAnimation {
properties: "opacity,scale"
}
}
Image {
id: main
anchors.centerIn: parent
}
}