mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 12:56:11 +00:00
4b454e086e
* Add shift-F12 shortcut for strings widget. * change strings shortcut to use global map * add Shift-I shortcut for Imports * add Shift-E shortcut for Exports * add Shift-G shortcut for Graph view * add widgets shortcuts map file * update widget checkboxes when using shortcuts
12 lines
339 B
C
12 lines
339 B
C
#ifndef WIDGETSHORTCUTS_H
|
|
#define WIDGETSHORTCUTS_H
|
|
|
|
static const QHash<QString, QKeySequence> widgetShortcuts = {
|
|
{ "StringsWidget", Qt::SHIFT + Qt::Key_F12 },
|
|
{ "GraphWidget", Qt::SHIFT + Qt::Key_G },
|
|
{ "ImportsWidget", Qt::SHIFT + Qt::Key_I },
|
|
{ "ExportsWidget", Qt::SHIFT + Qt::Key_E }
|
|
};
|
|
|
|
#endif
|