42 explicit DCursorTracker(
const QString& txt, QWidget*
const parent, Qt::Alignment align = Qt::AlignCenter);
45 void setText(
const QString& txt);
46 void setEnable(
bool b);
47 void setKeepOpen(
bool b);
48 void setTrackerAlignment(Qt::Alignment alignment);
50 void triggerAutoShow(
int timeout = 2000);
55 bool eventFilter(QObject*, QEvent*)
override;
56 void paintEvent(QPaintEvent*)
override;
64 void moveToParent(QWidget*
const parent);
65 bool canBeDisplayed();
70 Private*
const d =
nullptr;