QTfrontend/ui/mouseoverfilter.h
author alfadur
Fri, 09 Mar 2018 23:34:46 +0100
changeset 13156 deab88f1f6f7
parent 10248 7b9b44a051f8
permissions -rw-r--r--
Improve appearance of bullet trails, slight fade out at beginning This especially improves the appearance of minigun bullet trails

#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