QTfrontend/ui/mouseoverfilter.h
author sheepluva
Sat, 23 Apr 2016 09:54:05 +0200
changeset 11668 0427a9b6457b
parent 10248 7b9b44a051f8
permissions -rw-r--r--
fix sounds not playing on first play (=load), because function bailed on success, rather than error. introduced in bd9a2f1b0080 , addressing issue #111

#ifndef MOUSEOVERFILTER_H
#define MOUSEOVERFILTER_H

#include <QObject>

#include "ui_hwform.h"
#include "ui/page/AbstractPage.h"

class MouseOverFilter : public QObject
{
        Q_OBJECT
    public:
        explicit MouseOverFilter(QObject *parent = 0);
        void setUi(Ui_HWForm *uiForm);
    protected:
        bool eventFilter( QObject *dist, QEvent *event );
    signals:

    public slots:

    private:
        Ui_HWForm *ui;

};

#endif // MOUSEOVERFILTER_H