Added readme and cleaned up some ui pieces

This commit is contained in:
Chris Cochrun 2022-02-11 09:58:38 -06:00
parent 6e9e1eca0d
commit 42e772591c
9 changed files with 74 additions and 53 deletions

View file

@ -11,7 +11,10 @@ import "./" as Presenter
Controls.Page {
id: mainPage
padding: 0
property var video: null
property url videoBackground: ""
property url imageBackground: ""
property string songTitle: ""
property string songLyrics: ""
Item {
id: mainItem
@ -57,23 +60,6 @@ Controls.Page {
}
}
FileDialog {
id: fileDialog
title: "Please choose a video"
folder: shortcuts.home
selectMultiple: false
onAccepted: {
print("You chose: " + fileDialog.fileUrls)
video = fileDialog.fileUrl
}
onRejected: {
print("Canceled")
/* Qt.quit() */
}
}
Loader {
id: presentLoader
active: presenting
@ -93,4 +79,22 @@ Controls.Page {
}
}
}
FileDialog {
id: fileDialog
title: "Please choose a video"
folder: shortcuts.home
selectMultiple: false
onAccepted: {
print("You chose: " + fileDialog.fileUrls)
background = fileDialog.fileUrls
}
onRejected: {
print("Canceled")
/* Qt.quit() */
}
}
}