QTfrontend/ui/mouseoverfilter.h
author nemo
Sun, 15 Nov 2015 10:22:42 -0500
changeset 11389 c93f204a5a00
parent 10248 7b9b44a051f8
permissions -rw-r--r--
Set gears that go off map to gmDestroy instead of collision, disable morewind for no-gravity gears, restrict application of wind to gears that are already moving and not colliding.

#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