2021-09-10 12:45:15 +02:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Controls
|
2021-07-15 12:07:39 +02:00
|
|
|
import Qt5Compat.GraphicalEffects
|
2022-05-05 13:02:54 +02:00
|
|
|
import ScreenPlayWorkshop as SP
|
2020-08-20 17:21:09 +02:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: pageInstalled
|
2021-05-16 19:37:55 +02:00
|
|
|
|
|
|
|
property bool refresh: false
|
|
|
|
property bool enabled: true
|
2020-08-20 17:21:09 +02:00
|
|
|
|
|
|
|
signal setSidebaractiveItem(var screenId, var type)
|
|
|
|
signal setNavigationItem(var pos)
|
|
|
|
signal setSidebarActive(var active)
|
|
|
|
|
2021-05-16 19:37:55 +02:00
|
|
|
state: "out"
|
|
|
|
clip: true
|
|
|
|
states: []
|
2020-08-20 17:21:09 +02:00
|
|
|
Component.onCompleted: {
|
2021-05-16 19:37:55 +02:00
|
|
|
pageInstalled.state = "in";
|
2020-08-20 17:21:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
Connections {
|
|
|
|
function onHelperButtonPressed(pos) {
|
2021-05-16 19:37:55 +02:00
|
|
|
setNavigationItem(pos);
|
2020-08-20 17:21:09 +02:00
|
|
|
}
|
2021-05-16 19:37:55 +02:00
|
|
|
|
|
|
|
target: loaderHelp.item
|
2020-08-20 17:21:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
Loader {
|
|
|
|
id: loaderHelp
|
2021-05-16 19:37:55 +02:00
|
|
|
|
2020-08-20 17:21:09 +02:00
|
|
|
asynchronous: true
|
|
|
|
active: false
|
|
|
|
z: 99
|
|
|
|
anchors.fill: parent
|
2022-04-30 12:07:54 +02:00
|
|
|
source: "qrc:/qml/ScreenPlayApp/qml/Installed/InstalledUserHelper.qml"
|
2020-08-20 17:21:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
transitions: [
|
|
|
|
Transition {
|
|
|
|
from: "out"
|
|
|
|
to: "in"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|