Added readme and cleaned up some ui pieces
This commit is contained in:
parent
6e9e1eca0d
commit
42e772591c
9 changed files with 74 additions and 53 deletions
|
@ -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() */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue