Provides tool tips (balloon help) for any widget that usually shows up when a mouse is hovered over a widget for a set amount of time.
More...
#include <QCustomTooltip.h>
|
| static void | hide (int animation_duration=-1) |
| |
| static bool | IsShowing () |
| |
| static QCustomTooltip * | show (const QString &text, const QPointF &pos, QWidget *w, int animation_duration=-1) |
| |
Provides tool tips (balloon help) for any widget that usually shows up when a mouse is hovered over a widget for a set amount of time.
◆ QCustomTooltip()
| QCustomTooltip |
( |
const QString & | text, |
|
|
const QPointF & | pos, |
|
|
QWidget * | parent = nullptr ) |
◆ ~QCustomTooltip()
◆ eventFilter()
| bool eventFilter |
( |
QObject * | , |
|
|
QEvent * | ) |
|
override |
◆ hide()
| static void hide |
( |
int | animation_duration = -1 | ) |
|
|
static |
◆ hideTip()
◆ hideTipImmediately()
| void hideTipImmediately |
( |
int | animation_duration = -1 | ) |
|
◆ IsShowing()
| static bool IsShowing |
( |
| ) |
|
|
static |
◆ margin()
◆ mouseMoveEvent()
| void mouseMoveEvent |
( |
QMouseEvent * | e | ) |
|
|
overrideprotected |
◆ paintEvent()
| void paintEvent |
( |
QPaintEvent * | e | ) |
|
|
overrideprotected |
◆ placeTip()
| void placeTip |
( |
const QPointF & | pos, |
|
|
QWidget * | w ) |
◆ resizeEvent()
| void resizeEvent |
( |
QResizeEvent * | e | ) |
|
|
overrideprotected |
◆ reuseTip()
| void reuseTip |
( |
const QString & | text, |
|
|
const QPointF & | pos ) |
◆ setTargetOffset()
| void setTargetOffset |
( |
QPoint | target_offset | ) |
|
◆ setTipRect()
| void setTipRect |
( |
QWidget * | w, |
|
|
const QRect & | r ) |
◆ show()
| static QCustomTooltip * show |
( |
const QString & | text, |
|
|
const QPointF & | pos, |
|
|
QWidget * | w, |
|
|
int | animation_duration = -1 ) |
|
static |
◆ sizeHint()
◆ styleSheetParentDestroyed
| void styleSheetParentDestroyed |
( |
| ) |
|
|
slot |
◆ timerEvent()
| void timerEvent |
( |
QTimerEvent * | e | ) |
|
|
overrideprotected |
◆ tipChanged()
| bool tipChanged |
( |
const QPointF & | pos, |
|
|
const QString & | text, |
|
|
QObject * | o ) |
◆ updateSize()
| void updateSize |
( |
const QPointF & | pos | ) |
|
The documentation for this class was generated from the following file: