18 lines
362 B
C++
18 lines
362 B
C++
#ifndef BUTTONHOVERWATCHER_H
|
|
#define BUTTONHOVERWATCHER_H
|
|
|
|
#include <QObject>
|
|
#include <QPushButton>
|
|
#include <QEvent>
|
|
|
|
class ButtonHoverWatcher : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ButtonHoverWatcher(QObject *parent = nullptr);
|
|
virtual bool eventFilter(QObject * watched, QEvent * event) Q_DECL_OVERRIDE;
|
|
};
|
|
|
|
#endif // BUTTONHOVERWATCHER_H
|