fixing bug in initial songs db, items not dragging ontop of screen
This commit is contained in:
parent
332c41de1b
commit
036f83ecfe
3 changed files with 22 additions and 5 deletions
7
TODO.org
7
TODO.org
|
@ -1,6 +1,11 @@
|
||||||
#+TITLE: Todo List
|
#+TITLE: Todo List
|
||||||
|
:PROPERTIES:
|
||||||
|
:CATEGORY: dev
|
||||||
|
:END:
|
||||||
|
|
||||||
* Inbox
|
* Inbox
|
||||||
** TODO BUG in dropping and then selecting song will duplicate entries
|
** TODO BUG in dropping and then selecting song will duplicate entries :dev:
|
||||||
|
SCHEDULED: <2022-04-05 Tue>
|
||||||
[[file:~/dev/church-presenter/src/qml/presenter/LeftDock.qml::Layout.fillHeight: true]]
|
[[file:~/dev/church-presenter/src/qml/presenter/LeftDock.qml::Layout.fillHeight: true]]
|
||||||
|
|
||||||
or at least turns the entry above it into the same as itself while retaining it's title?
|
or at least turns the entry above it into the same as itself while retaining it's title?
|
||||||
|
|
|
@ -195,9 +195,14 @@ Item {
|
||||||
target: songListItem
|
target: songListItem
|
||||||
x: x
|
x: x
|
||||||
y: y
|
y: y
|
||||||
|
width: width
|
||||||
|
height: height
|
||||||
|
}
|
||||||
|
ParentChange {
|
||||||
|
target: videoListItem
|
||||||
|
parent: rootApp.overlay
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
@ -411,6 +416,12 @@ Item {
|
||||||
target: videoListItem
|
target: videoListItem
|
||||||
x: x
|
x: x
|
||||||
y: y
|
y: y
|
||||||
|
width: width
|
||||||
|
height: height
|
||||||
|
}
|
||||||
|
ParentChange {
|
||||||
|
target: videoListItem
|
||||||
|
parent: rootApp.overlay
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,17 +44,18 @@ static void createTable()
|
||||||
|
|
||||||
query.exec(
|
query.exec(
|
||||||
"INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
"INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
||||||
"background, backgroundType) VALUES ('10,000 Reasons', '10,000 reasons "
|
"background, backgroundType, textAlignment) VALUES ('10,000 Reasons', '10,000 reasons "
|
||||||
"for my heart to sing', 'Matt Redman', '13470183', '', '', '', '', 'center')");
|
"for my heart to sing', 'Matt Redman', '13470183', '', '', '', '', 'center')");
|
||||||
qDebug() << query.lastQuery();
|
qDebug() << query.lastQuery();
|
||||||
query.exec("INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
query.exec("INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
||||||
"background, backgroundType) VALUES ('River', 'Im going down to "
|
"background, backgroundType, textAlignment) VALUES ('River', 'Im going down to "
|
||||||
"the river', 'Jordan Feliz', '13470183', '', '', '', '', 'center')");
|
"the river', 'Jordan Feliz', '13470183', '', '', '', '', 'center')");
|
||||||
query.exec(
|
query.exec(
|
||||||
"INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
"INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
||||||
"background, backgroundType) VALUES ('Marvelous Light', 'Into marvelous "
|
"background, backgroundType, textAlignment) VALUES ('Marvelous Light', 'Into marvelous "
|
||||||
"light Im running', 'Chris Tomlin', '13470183', '', '', '', '', 'center')");
|
"light Im running', 'Chris Tomlin', '13470183', '', '', '', '', 'center')");
|
||||||
|
|
||||||
|
qDebug() << query.lastQuery();
|
||||||
query.exec("select * from songs");
|
query.exec("select * from songs");
|
||||||
qDebug() << query.lastQuery();
|
qDebug() << query.lastQuery();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue