2014-07-07 17:08:30 +00:00
|
|
|
#ifndef FILTER_H
|
|
|
|
#define FILTER_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
class filter : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
private:
|
2014-07-13 12:27:50 +00:00
|
|
|
bool m_tabPressed;
|
2014-07-07 17:08:30 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
explicit filter(QObject *parent = 0);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
bool eventFilter(QObject *obj, QEvent *ev);
|
|
|
|
|
|
|
|
signals:
|
2014-07-13 12:27:50 +00:00
|
|
|
void sequencePressed(const QVariant &o, const QVariant &seq);
|
|
|
|
void sequenceReleased(const QVariant &o, const QVariant &seq);
|
2014-07-09 14:18:48 +00:00
|
|
|
void mousePressed(const QVariant &o, const QVariant &x, const QVariant &y);
|
|
|
|
void mouseReleased(const QVariant &o, const QVariant &x, const QVariant &y);
|
2014-07-07 17:08:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FILTER_H
|