QTfrontend/ui/mouseoverfilter.h
author unc0rr
Sat, 27 Oct 2012 21:39:09 +0400
changeset 7840 7d86dbcd6325
parent 6616 f77bb02b669f
child 10248 7b9b44a051f8
permissions -rw-r--r--
Fix issue #435, and also unreported bug when 2 or even 4 entries could have selection at the same time in weapons menu.

#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;
        AbstractPage* abstractpage;

};

#endif // MOUSEOVERFILTER_H