QTfrontend/ui/mouseoverfilter.h
author lovelacer
Tue, 17 Jan 2012 09:01:31 -0500
changeset 6580 6155187bf599
parent 6477 ad5741c252b9
child 6616 f77bb02b669f
permissions -rw-r--r--
A partial reformatting of the pascal code to have consistent syntax. Things that are still inconsistent. Some switch statements (uVisualGears.pas) are not lined up on the : so the internal code blocks are not aligned (lined up on the start of the label instead). Some function contents are indented against begin/end of function, some are not, some function begin/end are themselves indented (adler32). Also inconsistency in things like assigning of variables (whitespace before :=) and use of brackets in tests. Probably needs further review for possible code errors.
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