QTfrontend/ui/mouseoverfilter.h
author nemo
Fri, 20 Jul 2012 21:15:38 -0400
changeset 7412 9e5aa3c8dc62
parent 6616 f77bb02b669f
child 10248 7b9b44a051f8
permissions -rw-r--r--
Ok. *these* should be safe with just this one extra check...
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
{
6616
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    11
        Q_OBJECT
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    12
    public:
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    13
        explicit MouseOverFilter(QObject *parent = 0);
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    14
        void setUi(Ui_HWForm *uiForm);
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    15
    protected:
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    16
        bool eventFilter( QObject *dist, QEvent *event );
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    17
    signals:
6477
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    18
6616
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    19
    public slots:
6477
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    20
6616
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    21
    private:
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    22
        Ui_HWForm *ui;
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6477
diff changeset
    23
        AbstractPage* abstractpage;
6477
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