Bitcoin ABC 0.26.3
P2P Digital Currency
|
Qt event filter that intercepts ToolTipChange events, and replaces the tooltip with a rich text representation if needed. More...
#include <guiutil.h>
Public Member Functions | |
ToolTipToRichTextFilter (int size_threshold, QObject *parent=0) | |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *evt) override |
Private Attributes | |
int | size_threshold |
Qt event filter that intercepts ToolTipChange events, and replaces the tooltip with a rich text representation if needed.
This assures that Qt can word-wrap long tooltip messages. Tooltips longer than the provided size threshold (in characters) are wrapped.
|
explicit |
Definition at line 458 of file guiutil.cpp.
|
private |