17 lines
361 B
C
17 lines
361 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
|