QTfrontend/ui/mouseoverfilter.h
author alfadur
Fri, 09 Mar 2018 23:34:46 +0100
changeset 13156 deab88f1f6f7
parent 10248 7b9b44a051f8
permissions -rw-r--r--
Improve appearance of bullet trails, slight fade out at beginning This especially improves the appearance of minigun bullet trails
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;
6477
ad5741c252b9 GCI task: describez
Oranger
parents:
diff changeset
    23
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
#endif // MOUSEOVERFILTER_H