mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
48f3ae3ecd
做了个Mod制作器的壳 修手气卡bug 修旁观/重连看不到标记 优化Card元表实现
56 lines
920 B
QML
56 lines
920 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
Item {
|
|
Component { id: modInit; ModInit {} }
|
|
|
|
StackView {
|
|
id: modStack
|
|
anchors.fill: parent
|
|
pushEnter: Transition {
|
|
PropertyAnimation {
|
|
property: "opacity"
|
|
from: 0
|
|
to:1
|
|
duration: 200
|
|
}
|
|
}
|
|
pushExit: Transition {
|
|
PropertyAnimation {
|
|
property: "opacity"
|
|
from: 1
|
|
to:0
|
|
duration: 200
|
|
}
|
|
}
|
|
popEnter: Transition {
|
|
PropertyAnimation {
|
|
property: "opacity"
|
|
from: 0
|
|
to:1
|
|
duration: 200
|
|
}
|
|
}
|
|
popExit: Transition {
|
|
PropertyAnimation {
|
|
property: "opacity"
|
|
from: 1
|
|
to:0
|
|
duration: 200
|
|
}
|
|
}
|
|
}
|
|
|
|
ModConfig {
|
|
id: modConfig
|
|
}
|
|
|
|
Component.onCompleted: {
|
|
if (!ModBackend) {
|
|
Backend.createModBackend();
|
|
}
|
|
modConfig.loadConf();
|
|
modStack.push(modInit);
|
|
}
|
|
}
|