14#include <QApplication>
23 watched->installEventFilter (
this);
25 LeaveTimer_->setSingleShot (
true);
36 return QApplication::style ()->styleHint (QStyle::SH_ToolTip_WakeUpDelay) * 2;
53 switch (
event->type ())
56 ContainsMouse_ =
true;
60 ContainsMouse_ =
false;
void UTIL_GUI_API Start(std::optional< int > timeout={})
Manually starts the timer.
void UTIL_GUI_API Stop()
Stops the previously started timer.
bool eventFilter(QObject *, QEvent *) override
UTIL_GUI_API UnhoverDeleteMixin(QObject *parent, const char *slot=SLOT(deleteLater()))
Creates the mixin for the given parent widget.
Container< T > Filter(const Container< T > &c, F f)