This class implements a window which looks like a tool tip.
More...
|
|
| DCursorTracker (const QString &txt, QWidget *const parent, Qt::Alignment align=Qt::AlignCenter) |
|
void | refresh () |
|
void | setEnable (bool b) |
|
void | setKeepOpen (bool b) |
|
void | setText (const QString &txt) |
| | Overload to make sure the widget size is correct.
|
|
void | setTrackerAlignment (Qt::Alignment alignment) |
|
void | triggerAutoShow (int timeout=2000) |
|
|
bool | eventFilter (QObject *, QEvent *) override |
|
void | paintEvent (QPaintEvent *) override |
It will follow the cursor when it's over a specified widget.