Adding sql import and some minor ui stuff

This commit is contained in:
Chris Cochrun 2022-02-12 07:31:19 -06:00
parent 3bcd9af77a
commit 0d71e53ec6
6 changed files with 39 additions and 19 deletions

View file

@ -12,6 +12,7 @@ target_link_libraries(presenter
Qt5::Gui
Qt5::QuickControls2
Qt5::Widgets
Qt5::Sql
KF5::Kirigami2
KF5::I18n
)

View file

@ -2,6 +2,7 @@
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QUrl>
#include <QSql>
#include <QDebug>
#include <KLocalizedContext>
#include <KLocalizedString>

View file

@ -106,6 +106,8 @@ Item {
text: songLyrics
textFormat: TextEdit.MarkdownText
padding: 10
onEditingFinished: showPassiveNotification("updated...", 2000)
onPressed: editorTimer.running = true
}
}
@ -133,4 +135,12 @@ Item {
padding: 10
}
}
Timer {
id: editorTimer
interval: 1000
repeat: true
running: false
onTriggered: showPassiveNotification("updating song...")
}
}