PNP_PIbd-31_Rodionov_I_A_Co.../utils/buttonhoverwatcher.h

17 lines
361 B
C
Raw Normal View History

2024-12-24 18:13:22 +04:00
#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