FreeKill/Fk/ModMaker/main.qml
notify 48f3ae3ecd
ModMaker start (#163)
做了个Mod制作器的壳
修手气卡bug
修旁观/重连看不到标记
优化Card元表实现
2023-05-26 20:53:26 +08:00

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);
}
}