making songeditor funcitonal but not yet

This commit is contained in:
Chris Cochrun 2022-02-24 11:45:28 -06:00
parent d5515d4c52
commit f755190e40
6 changed files with 39 additions and 16 deletions

View file

@ -1,5 +1,4 @@
import QtQuick 2.13
import QtQuick.Dialogs 1.0
import QtQuick.Controls 2.0 as Controls
import QtQuick.Layouts 1.2
import org.kde.kirigami 2.13 as Kirigami
@ -79,7 +78,6 @@ Item {
delegate: songDelegate
state: "selected"
Component.onCompleted: songList = songLibraryList
states: [
State {
name: "deselected"
@ -143,7 +141,7 @@ Item {
onClicked: {
showPassiveNotification(title, 3000)
songLibraryList.currentIndex = index
song = songLibraryList.selected
song = index
songTitle = title
songLyrics = lyrics
songAuthor = author
@ -412,4 +410,8 @@ Item {
}
}
function updateSongLyrics(lyrics) {
showPassiveNotification("library function" + lyrics)
showPassiveNotification("WE DID IT!")
}
}