QTfrontend/ui/mouseoverfilter.h
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Tue, 07 Jan 2014 11:40:58 +0100
changeset 9949 2aa9cf5badfc
parent 6616 f77bb02b669f
child 10248 7b9b44a051f8
permissions -rw-r--r--
Added cast to qreal, avoiding ftbfs due to issue #758 More explanation here https://wiki.debian.org/ArmEabiFixes And on qt-project.org reference website: "Typedef for double on all platforms except for those using CPUs with ARM architectures. On ARM-based platforms, qreal is a typedef for float for performance reasons."

#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