QTfrontend/ui/mouseoverfilter.h
author Oranger
Sat, 03 Dec 2011 14:36:36 +0100
changeset 6477 ad5741c252b9
child 6616 f77bb02b669f
permissions -rw-r--r--
GCI task: describez
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6477
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     1
#ifndef MOUSEOVERFILTER_H
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     2
#define MOUSEOVERFILTER_H
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     3
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     4
#include <QObject>
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     5
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     6
#include "ui_hwform.h"
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     7
#include "ui/page/AbstractPage.h"
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     8
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
     9
class MouseOverFilter : public QObject
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    10
{
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    11
    Q_OBJECT
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    12
public:
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    13
    explicit MouseOverFilter(QObject *parent = 0);
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    14
    void setUi(Ui_HWForm *uiForm);
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    15
protected:
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    16
    bool eventFilter( QObject *dist, QEvent *event );
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    17
signals:
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    18
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    19
public slots:
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    20
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    21
private:
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    22
    Ui_HWForm *ui;
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    23
    AbstractPage* abstractpage;
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    24
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    25
};
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    26
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    27
#endif // MOUSEOVERFILTER_H