mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-22 12:28:51 +00:00
585dc961db
* Some of the API replaced int with QKeyCombination, use typedef in cutter code * Use of + operator depracted, replace with recommended "|" operator * QMouseEvent globalPos and localPos renamed to globalPosition and position, replace with helper function or use of integer position which wasn't renamed.
15 lines
484 B
C
15 lines
484 B
C
#ifndef WIDGETSHORTCUTS_H
|
|
#define WIDGETSHORTCUTS_H
|
|
|
|
#include <QKeySequence>
|
|
#include <QHash>
|
|
#include <QString>
|
|
|
|
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 },
|
|
{ "ConsoleWidget", Qt::CTRL | Qt::Key_QuoteLeft }, { "ConsoleWidgetAlternative", Qt::Key_Colon }
|
|
};
|
|
|
|
#endif
|