matrixion/include/ui/OverlayWidget.h
Konstantinos Sideris 4f45575c79 Initial commit
2017-04-06 02:06:42 +03:00

23 lines
411 B
C++

#ifndef UI_OVERLAY_WIDGET_H
#define UI_OVERLAY_WIDGET_H
#include <QEvent>
#include <QObject>
#include <QWidget>
class OverlayWidget : public QWidget
{
Q_OBJECT
public:
explicit OverlayWidget(QWidget *parent = 0);
~OverlayWidget();
protected:
bool event(QEvent *event) override;
bool eventFilter(QObject *obj, QEvent *event) override;
QRect overlayGeometry() const;
};
#endif // UI_OVERLAY_WIDGET_H