more ui setup for viewing all slides in item

This commit is contained in:
Chris Cochrun 2023-01-13 21:13:14 -06:00
parent 83fcb59ea0
commit 8442913576
3 changed files with 38 additions and 22 deletions

View file

@ -508,14 +508,23 @@ Item {
font, fontSize, itemID) {
if (type === "song") {
const newtext = songsqlmodel.getLyricList(itemID);
print("adding: " + name + " of type " + type);
print("adding: " + name + " of type " + type + " with " + newtext.length + " slides");
serviceItemModel.insertItem(index, name,
type, background,
backgroundType, newtext,
audio, font, fontSize);
audio, font, fontSize, newtext.length);
totalServiceItems++;
return;
}
/* if (type === "presentation") { */
/* print("adding: " + name + " of type " + type + " with " + newtext.length + " slides"); */
/* serviceItemModel.insertItem(index, name, */
/* type, background, */
/* backgroundType, "", */
/* "", "", 0, pageCount); */
/* totalServiceItems++; */
/* return; */
/* } */
print("adding: " + name + " of type " + type);
serviceItemModel.insertItem(index, name,
type, background,