cutter/src/widgets/WidgetShortcuts.h
Itay Cohen bfec29f825
Toggle Console Widget and clear output (#2213)
* Add shortcuts to toggle Console and clear its output
* Update the docs

Co-authored-by: Kārlis Seņko <karlis3p70l1ij@gmail.com>
2020-05-25 12:19:05 +03:00

14 lines
492 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 },
{ "ConsoleWidget", Qt::CTRL + Qt::Key_QuoteLeft },
{ "ConsoleWidgetAlternative", Qt::Key_Colon }
};
#endif