QTfrontend/ui/mouseoverfilter.h
author nemo
Tue, 27 Dec 2011 14:14:26 -0500
changeset 6534 e6cb8a41b5f4
parent 6477 ad5741c252b9
child 6616 f77bb02b669f
permissions -rw-r--r--
Experiment in eliminating transparent white from LandPixels - I think it messes up on some graphics cards. Noticed a curious white border on a girder in a theme Randy is working on. At the very least it is slightly more efficient in the blit.

#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