1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-11 16:59:01 +01:00
monero-gui/filter.h

29 lines
557 B
C
Raw Normal View History

2014-07-07 19:08:30 +02:00
#ifndef FILTER_H
#define FILTER_H
#include <QObject>
class filter : public QObject
{
Q_OBJECT
private:
2014-07-11 00:18:36 +02:00
bool m_altPressed;
bool m_mousePressed;
2014-07-07 19:08:30 +02:00
public:
explicit filter(QObject *parent = 0);
protected:
bool eventFilter(QObject *obj, QEvent *ev);
signals:
2014-07-11 00:18:36 +02:00
void altPressed();
void altReleased();
void sequencePressed(const QVariant &seq);
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 19:08:30 +02:00
};
#endif // FILTER_H