QTfrontend/ui/mouseoverfilter.h
author dag10 <gottlieb.drew@gmail.com>
Wed, 16 Jan 2013 18:34:43 -0500
changeset 8393 85bd6c7b2641
parent 6616 f77bb02b669f
child 10248 7b9b44a051f8
permissions -rw-r--r--
Can now change theme for static and mission maps. Fixed mission map descriptions that had commas which broke them. Now, you must escape commas in map descriptions. Made bgwidget repaint on animation tick to avoid buffer-not-clearing issue with widgets that change overtop the background leaving a ghost image of the widget's previous state. Generated map is now the default map in the mapconfig widget.
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