Adding sql import and some minor ui stuff
This commit is contained in:
parent
3bcd9af77a
commit
0d71e53ec6
6 changed files with 39 additions and 19 deletions
|
@ -12,6 +12,7 @@ target_link_libraries(presenter
|
|||
Qt5::Gui
|
||||
Qt5::QuickControls2
|
||||
Qt5::Widgets
|
||||
Qt5::Sql
|
||||
KF5::Kirigami2
|
||||
KF5::I18n
|
||||
)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <QQmlApplicationEngine>
|
||||
#include <QtQml>
|
||||
#include <QUrl>
|
||||
#include <QSql>
|
||||
#include <QDebug>
|
||||
#include <KLocalizedContext>
|
||||
#include <KLocalizedString>
|
||||
|
|
|
@ -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...")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue