digiKam
|
Public Member Functions | |
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) |
void | setTrackerAlignment (Qt::Alignment alignment) |
void | triggerAutoShow (int timeout=2000) |
~DCursorTracker () override | |
Protected Member Functions | |
bool | eventFilter (QObject *, QEvent *) override |
void | paintEvent (QPaintEvent *) override |
This class implements a window which looks like a tool tip. It will follow the cursor when it's over a specified widget.
|
explicit |
|
override |
|
overrideprotected |
|
overrideprotected |
void Digikam::DCursorTracker::refresh | ( | ) |
void Digikam::DCursorTracker::setEnable | ( | bool | b | ) |
void Digikam::DCursorTracker::setKeepOpen | ( | bool | b | ) |
void Digikam::DCursorTracker::setText | ( | const QString & | txt | ) |
Overload to make sure the widget size is correct
void Digikam::DCursorTracker::setTrackerAlignment | ( | Qt::Alignment | alignment | ) |
void Digikam::DCursorTracker::triggerAutoShow | ( | int | timeout = 2000 | ) |