MCPcopy Create free account
hub / github.com/ElementsProject/elements / tabShortcut

Method tabShortcut

src/qt/rpcconsole.cpp:1357–1367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1355}
1356
1357QKeySequence RPCConsole::tabShortcut(TabTypes tab_type) const
1358{
1359 switch (tab_type) {
1360 case TabTypes::INFO: return QKeySequence(Qt::CTRL + Qt::Key_I);
1361 case TabTypes::CONSOLE: return QKeySequence(Qt::CTRL + Qt::Key_T);
1362 case TabTypes::GRAPH: return QKeySequence(Qt::CTRL + Qt::Key_N);
1363 case TabTypes::PEERS: return QKeySequence(Qt::CTRL + Qt::Key_P);
1364 } // no default case, so the compiler can warn about missing cases
1365
1366 assert(false);
1367}
1368
1369void RPCConsole::updateAlerts(const QString& warnings)
1370{

Callers 1

createMenuBarMethod · 0.80

Calls 1

QKeySequenceClass · 0.85

Tested by

no test coverage detected