2023-05-26 12:53:26 +00:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
|
|
|
Item {
|
|
|
|
Component { id: modInit; ModInit {} }
|
|
|
|
|
|
|
|
StackView {
|
|
|
|
id: modStack
|
|
|
|
anchors.fill: parent
|
2023-07-01 15:18:07 +00:00
|
|
|
/*
|
2023-05-26 12:53:26 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
2023-07-01 15:18:07 +00:00
|
|
|
*/
|
2023-05-26 12:53:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ModConfig {
|
|
|
|
id: modConfig
|
|
|
|
}
|
|
|
|
|
|
|
|
Component.onCompleted: {
|
|
|
|
if (!ModBackend) {
|
|
|
|
Backend.createModBackend();
|
|
|
|
}
|
|
|
|
modConfig.loadConf();
|
|
|
|
modStack.push(modInit);
|
|
|
|
}
|
|
|
|
}
|