List of all members |
Static Public Member Functions |
Protected Member Functions |
Static Protected Member Functions
Gui::ToolTip Class Reference
Qt's tooltip does not work as expected with some classes, e.g. More...
#include <Widgets.h>
Static Public Member Functions | |
static void | showText (const QPoint &pos, const QString &text, QWidget *w=0) |
Protected Member Functions | |
bool | eventFilter (QObject *o, QEvent *e) |
void | installEventFilter () |
void | removeEventFilter () |
void | timerEvent (QTimerEvent *e) |
ToolTip () | |
virtual | ~ToolTip () |
Static Protected Member Functions | |
static ToolTip * | instance () |
Detailed Description
Qt's tooltip does not work as expected with some classes, e.g.
when showing it in the 3d view it immediately receives a timer event to destroy itself. This class is thought to circumvent this behaviour by filtering the internal timer events.
Constructor & Destructor Documentation
◆ ToolTip()
|
protected |
Referenced by instance().
◆ ~ToolTip()
|
protectedvirtual |
Member Function Documentation
◆ eventFilter()
References removeEventFilter().
◆ installEventFilter()
|
protected |
Referenced by showText().
◆ instance()
|
staticprotected |
References ToolTip().
Referenced by showText().
◆ removeEventFilter()
|
protected |
Referenced by eventFilter().
◆ showText()
|
static |
◆ timerEvent()
|
protected |
The documentation for this class was generated from the following files:
- src/Gui/Widgets.h
- src/Gui/Widgets.cpp