added missing lines to the palette panel

This commit is contained in:
Roman Pudashkin 2022-01-10 15:53:48 +02:00
parent 93d1e7c4d6
commit bd1e132e43

View file

@ -1087,6 +1087,19 @@ PalettePtr PaletteCreator::newLinesPalette()
sp->appendElement(trill, trillTable[i].userName);
}
auto staffTextLine = makeElement<TextLine>(gpaletteScore);
staffTextLine->setLen(w);
staffTextLine->setBeginText("Staff");
staffTextLine->setEndHookType(HookType::HOOK_90);
sp->appendElement(staffTextLine, QT_TRANSLATE_NOOP("palette", "Staff Text line"));
auto systemTextLine = makeElement<TextLine>(gpaletteScore);
systemTextLine->setSystemFlag(true);
systemTextLine->setLen(w);
systemTextLine->setBeginText("System");
systemTextLine->setEndHookType(HookType::HOOK_90);
sp->appendElement(systemTextLine, QT_TRANSLATE_NOOP("palette", "System Text line"));
auto textLine = makeElement<TextLine>(gpaletteScore);
textLine->setLen(w);
textLine->setBeginText("VII");