1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 11:32:42 +01:00
ScreenPlay/ScreenPlayWorkshop/qml/WorkshopInstalled.qml

48 lines
924 B
QML
Raw Normal View History

import QtQuick
import QtQuick.Controls
2021-07-15 12:07:39 +02:00
import Qt5Compat.GraphicalEffects
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
source: "qrc:/qml/ScreenPlayApp/qml/Installed/InstalledUserHelper.qml"
2020-08-20 17:21:09 +02:00
}
transitions: [
Transition {
from: "out"
to: "in"
}
]
}