mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:00:04 +00:00
Add hotkeys for switching between products in a category
This commit is contained in:
parent
4306bb09ae
commit
36b2e77ecf
6 changed files with 80 additions and 3 deletions
|
|
@ -25,6 +25,12 @@ static const std::unordered_map<types::Hotkey, QKeySequence> kDefaultHotkeys_ {
|
|||
{types::Hotkey::MapRotateCounterclockwise, QKeySequence {Qt::Key::Key_Q}},
|
||||
{types::Hotkey::MapZoomIn, QKeySequence {Qt::Key::Key_Equal}},
|
||||
{types::Hotkey::MapZoomOut, QKeySequence {Qt::Key::Key_Minus}},
|
||||
{types::Hotkey::ProductCategoryNext,
|
||||
QKeySequence {QKeyCombination {Qt::KeyboardModifier::ControlModifier,
|
||||
Qt::Key::Key_BracketRight}}},
|
||||
{types::Hotkey::ProductCategoryPrevious,
|
||||
QKeySequence {QKeyCombination {Qt::KeyboardModifier::ControlModifier,
|
||||
Qt::Key::Key_BracketLeft}}},
|
||||
{types::Hotkey::ProductTiltDecrease,
|
||||
QKeySequence {Qt::Key::Key_BracketLeft}},
|
||||
{types::Hotkey::ProductTiltIncrease,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue