diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-12 12:59:26 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-12 13:54:06 +0100 |
commit | 773ae4654ecc9272b32b6a7480b16fc30a5269f3 (patch) | |
tree | a4163332fdb1234b12a7713602f9b79c437f9fef /src/qt/rpcconsole.h | |
parent | 5fcc14ee0562faff2ace17082f664e60c375b334 (diff) |
[Qt] add shortcurts for debug-/console-window
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r-- | src/qt/rpcconsole.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index d5932ff149..0914612c3e 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -44,6 +44,13 @@ public: CMD_ERROR }; + enum TabTypes { + TAB_INFO = 0, + TAB_CONSOLE = 1, + TAB_GRAPH = 2, + TAB_PEERS = 3 + }; + protected: virtual bool eventFilter(QObject* obj, QEvent *event); void keyPressEvent(QKeyEvent *); @@ -91,6 +98,8 @@ public Q_SLOTS: void banSelectedNode(int bantime); /** Unban a selected node on the Bans tab */ void unbanSelectedNode(); + /** set which tab has the focus (is visible) */ + void setTabFocus(enum TabTypes tabType); Q_SIGNALS: // For RPC command executor |