mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 14:02:15 -07:00
Add new Hand ShortcutGroup
This commit is contained in:
parent
ec2d8f231d
commit
30d52bc5b3
1 changed files with 6 additions and 3 deletions
|
|
@ -33,6 +33,7 @@ public:
|
||||||
Move_bottom,
|
Move_bottom,
|
||||||
Gameplay,
|
Gameplay,
|
||||||
Drawing,
|
Drawing,
|
||||||
|
Hand,
|
||||||
Chat_room,
|
Chat_room,
|
||||||
Game_window,
|
Game_window,
|
||||||
Load_deck,
|
Load_deck,
|
||||||
|
|
@ -71,6 +72,8 @@ public:
|
||||||
return QApplication::translate("shortcutsTab", "Gameplay");
|
return QApplication::translate("shortcutsTab", "Gameplay");
|
||||||
case Drawing:
|
case Drawing:
|
||||||
return QApplication::translate("shortcutsTab", "Drawing");
|
return QApplication::translate("shortcutsTab", "Drawing");
|
||||||
|
case Hand:
|
||||||
|
return QApplication::translate("shortcutsTab", "Hand");
|
||||||
case Chat_room:
|
case Chat_room:
|
||||||
return QApplication::translate("shortcutsTab", "Chat Room");
|
return QApplication::translate("shortcutsTab", "Chat Room");
|
||||||
case Game_window:
|
case Game_window:
|
||||||
|
|
@ -564,13 +567,13 @@ private:
|
||||||
ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Hand"), parseSequenceString(""), ShortcutGroup::View)},
|
ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Hand"), parseSequenceString(""), ShortcutGroup::View)},
|
||||||
{"Player/aSortHandByName", ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Sort Hand by Name"),
|
{"Player/aSortHandByName", ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Sort Hand by Name"),
|
||||||
parseSequenceString(""),
|
parseSequenceString(""),
|
||||||
ShortcutGroup::View)},
|
ShortcutGroup::Hand)},
|
||||||
{"Player/aSortHandByType", ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Sort Hand by Type"),
|
{"Player/aSortHandByType", ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Sort Hand by Type"),
|
||||||
parseSequenceString("Ctrl+Shift+H"),
|
parseSequenceString("Ctrl+Shift+H"),
|
||||||
ShortcutGroup::View)},
|
ShortcutGroup::Hand)},
|
||||||
{"Player/aSortHandByManaValue", ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Sort Hand by Mana Value"),
|
{"Player/aSortHandByManaValue", ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Sort Hand by Mana Value"),
|
||||||
parseSequenceString(""),
|
parseSequenceString(""),
|
||||||
ShortcutGroup::View)},
|
ShortcutGroup::Hand)},
|
||||||
{"Player/aViewGraveyard",
|
{"Player/aViewGraveyard",
|
||||||
ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Graveyard"), parseSequenceString("F4"), ShortcutGroup::View)},
|
ShortcutKey(QT_TRANSLATE_NOOP("shortcutsTab", "Graveyard"), parseSequenceString("F4"), ShortcutGroup::View)},
|
||||||
{"Player/aViewLibrary",
|
{"Player/aViewLibrary",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue