1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 08:22:33 +02:00

Fix missing objectName

This commit is contained in:
Elias Steurer 2021-08-31 15:18:04 +02:00
parent 5b954e46d0
commit 2226ed1b7e

View File

@ -25,6 +25,8 @@ Rectangle {
color: Material.background
ListView {
/*
ListElement {
headline: qsTr("QML Particle Wallpaper")
@ -86,7 +88,6 @@ Rectangle {
category: "Example Widget"
}
*/
id: listView
objectName: "wizardsListView"
@ -99,15 +100,15 @@ Rectangle {
id: loaderConnections
function onWizardStarted() {
root.expanded = false;
root.expanded = false
}
function onWizardExited() {
root.expanded = true;
stackView.clear(StackView.PushTransition);
stackView.push("qrc:/qml/Create/StartInfo.qml");
listView.currentIndex = 0;
ScreenPlay.util.setNavigationActive(true);
root.expanded = true
stackView.clear(StackView.PushTransition)
stackView.push("qrc:/qml/Create/StartInfo.qml")
listView.currentIndex = 0
ScreenPlay.util.setNavigationActive(true)
}
ignoreUnknownSignals: true
@ -118,6 +119,7 @@ Rectangle {
headline: qsTr("Tools Overview")
source: "qrc:/qml/Create/StartInfo.qml"
category: "Home"
objectName: ""
}
ListElement {
@ -131,44 +133,50 @@ Rectangle {
headline: qsTr("Video Import (.webm)")
source: "qrc:/qml/Create/Wizards/ImportWebm/ImportWebm.qml"
category: "Video Wallpaper"
objectName: ""
}
ListElement {
headline: qsTr("GIF Wallpaper")
source: "qrc:/qml/Create/Wizards/GifWallpaper.qml"
category: "Video Wallpaper"
objectName: ""
}
ListElement {
headline: qsTr("QML Wallpaper")
source: "qrc:/qml/Create/Wizards/QMLWallpaper.qml"
category: "Code Wallpaper"
objectName: ""
}
ListElement {
headline: qsTr("HTML5 Wallpaper")
source: "qrc:/qml/Create/Wizards/HTMLWallpaper.qml"
category: "Code Wallpaper"
objectName: ""
}
ListElement {
headline: qsTr("Website Wallpaper")
source: "qrc:/qml/Create/Wizards/WebsiteWallpaper.qml"
category: "Code Wallpaper"
objectName: ""
}
ListElement {
headline: qsTr("QML Widget")
source: "qrc:/qml/Create/Wizards/QMLWidget.qml"
category: "Code Widgets"
objectName: ""
}
ListElement {
headline: qsTr("HTML Widget")
source: "qrc:/qml/Create/Wizards/HTMLWidget.qml"
category: "Code Widgets"
objectName: ""
}
}
ScrollBar.vertical: ScrollBar {
@ -189,9 +197,7 @@ Rectangle {
left: parent.left
bottomMargin: 10
}
}
}
delegate: Button {
@ -202,12 +208,11 @@ Rectangle {
highlighted: ListView.isCurrentItem
text: headline
onClicked: {
listView.currentIndex = index;
const item = stackView.push(source);
loaderConnections.target = item;
listView.currentIndex = index
const item = stackView.push(source)
loaderConnections.target = item
}
}
}
layer.effect: ElevationEffect {
@ -223,7 +228,6 @@ Rectangle {
anchors.leftMargin: 0
opacity: 1
}
},
State {
name: "inactive"
@ -233,7 +237,6 @@ Rectangle {
opacity: 0
anchors.leftMargin: -root.width
}
}
]
transitions: [
@ -252,9 +255,7 @@ Rectangle {
duration: 300
easing.type: Easing.OutCubic
}
}
}
]
}