mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
f24ea5dead
忘记进度如何了,总之合了吧
58 lines
934 B
QML
58 lines
934 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);
|
|
}
|
|
}
|