diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-10-12 16:08:47 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-10-31 08:05:27 +0100 |
commit | 6f959c4cb340cf66b36170be137b7b59d619b35b (patch) | |
tree | d8dfb0c77f8f0be0124076b066ede8a00f9d5556 /src/qt/bitcoingui.h | |
parent | 578fc800039a99f07c0eb9e256519598a1c9dd27 (diff) |
Bitcoin-Qt: use statustips in addition to tooltips
- add setStatusTip() in addition to setTooltip() where it makes sense
- add only setStatusTip() if GUI element is only used in main- or tray menu
- add an event filter on our BitcoinGUI object to prevent garbelled text
on the status bar, which happens when we use it for e.g. displaying
block-sync state and then a QEvent::StatusTip wants to write own text to it
- remove a double translation of "Bitcoin client"
Diffstat (limited to 'src/qt/bitcoingui.h')
-rw-r--r-- | src/qt/bitcoingui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index c67e887c0f..a48911ee7f 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -52,6 +52,7 @@ protected: void closeEvent(QCloseEvent *event); void dragEnterEvent(QDragEnterEvent *event); void dropEvent(QDropEvent *event); + bool eventFilter(QObject *object, QEvent *event); private: ClientModel *clientModel; @@ -172,7 +173,7 @@ private slots: /** Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHidden is true */ void showNormalIfMinimized(bool fToggleHidden = false); - /** simply calls showNormalIfMinimized(true) for use in SLOT() macro */ + /** Simply calls showNormalIfMinimized(true) for use in SLOT() macro */ void toggleHidden(); }; |