49 QCustomTooltip(
const QString &text,
const QPointF &pos, QWidget* parent =
nullptr);
53 void reuseTip(
const QString &text,
const QPointF &pos);
57 bool tipChanged(
const QPointF &pos,
const QString &text, QObject *o);
59 static QCustomTooltip*
show(
const QString &text,
const QPointF &pos, QWidget *w,
int animation_duration = -1);
60 static void hide(
int animation_duration = -1);
73 QWidget *styleSheetParent;
74 int animation_duration = -1;
76 static QPointer<QCustomTooltip> s_instance;
77 QPointer<QWidget> m_widget;
79 QPoint m_target_offset;
80 QBasicTimer m_hide_timer;