1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-11 16:59:01 +01:00
monero-gui/filter.h
2014-07-09 16:18:48 +02:00

29 lines
560 B
C++

#ifndef FILTER_H
#define FILTER_H
#include <QObject>
class filter : public QObject
{
Q_OBJECT
private:
bool m_ctrlPressed;
bool m_mousePressed;
public:
explicit filter(QObject *parent = 0);
protected:
bool eventFilter(QObject *obj, QEvent *ev);
signals:
void ctrlPressed();
void ctrlReleased();
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);
};
#endif // FILTER_H