mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-09 20:42:47 +01:00
bcfb188cf2
Fix sidebar
48 lines
924 B
QML
48 lines
924 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import Qt5Compat.GraphicalEffects
|
|
import ScreenPlayWorkshop as SP
|
|
|
|
Item {
|
|
id: pageInstalled
|
|
|
|
property bool refresh: false
|
|
property bool enabled: true
|
|
|
|
signal setSidebaractiveItem(var screenId, var type)
|
|
signal setNavigationItem(var pos)
|
|
signal setSidebarActive(var active)
|
|
|
|
state: "out"
|
|
clip: true
|
|
states: []
|
|
Component.onCompleted: {
|
|
pageInstalled.state = "in";
|
|
}
|
|
|
|
Connections {
|
|
function onHelperButtonPressed(pos) {
|
|
setNavigationItem(pos);
|
|
}
|
|
|
|
target: loaderHelp.item
|
|
}
|
|
|
|
Loader {
|
|
id: loaderHelp
|
|
|
|
asynchronous: true
|
|
active: false
|
|
z: 99
|
|
anchors.fill: parent
|
|
source: "qrc:/qml/ScreenPlayApp/qml/Installed/InstalledUserHelper.qml"
|
|
}
|
|
|
|
transitions: [
|
|
Transition {
|
|
from: "out"
|
|
to: "in"
|
|
}
|
|
]
|
|
}
|