Merge pull request #2928 from divya-urs/add_keyboard_shortcuts_bowing_symbols
fix #152766: Add keyboard shortcuts for up bow and down bow symbols
This commit is contained in:
commit
6ffaf4ec0d
2 changed files with 22 additions and 0 deletions
|
@ -3182,6 +3182,8 @@ void Score::cmd(const QAction* a)
|
|||
{ "add-marcato", [this]{ addArticulation(SymId::articMarcatoAbove); }},
|
||||
{ "add-sforzato", [this]{ addArticulation(SymId::articAccentAbove); }},
|
||||
{ "add-trill", [this]{ addArticulation(SymId::ornamentTrill); }},
|
||||
{ "add-stringsUpBow", [this]{ addArticulation(SymId::stringsUpBow); }},
|
||||
{ "add-stringsDownBow", [this]{ addArticulation(SymId::stringsDownBow); }},
|
||||
{ "add-8va", [this]{ cmdAddOttava(Ottava::Type::OTTAVA_8VA); }},
|
||||
{ "add-8vb", [this]{ cmdAddOttava(Ottava::Type::OTTAVA_8VB); }},
|
||||
{ "note-longa", [this]{ padToggle(Pad::NOTE00); }},
|
||||
|
|
|
@ -601,6 +601,26 @@ Shortcut Shortcut::_sc[] = {
|
|||
Icons::Invalid_ICON,
|
||||
Qt::WindowShortcut
|
||||
},
|
||||
{
|
||||
MsWidget::SCORE_TAB,
|
||||
STATE_NORMAL | STATE_NOTE_ENTRY,
|
||||
"add-stringsUpBow",
|
||||
QT_TRANSLATE_NOOP("action","Up Bow"),
|
||||
QT_TRANSLATE_NOOP("action","Toggle up bow"),
|
||||
0,
|
||||
Icons::Invalid_ICON,
|
||||
Qt::WindowShortcut
|
||||
},
|
||||
{
|
||||
MsWidget::SCORE_TAB,
|
||||
STATE_NORMAL | STATE_NOTE_ENTRY,
|
||||
"add-stringsDownBow",
|
||||
QT_TRANSLATE_NOOP("action","Down Bow"),
|
||||
QT_TRANSLATE_NOOP("action","Toggle down bow"),
|
||||
0,
|
||||
Icons::Invalid_ICON,
|
||||
Qt::WindowShortcut
|
||||
},
|
||||
{
|
||||
MsWidget::SCORE_TAB,
|
||||
STATE_NORMAL | STATE_NOTE_ENTRY,
|
||||
|
|
Loading…
Reference in a new issue