matrixion/include/ui/OverlayWidget.h
2017-05-16 21:46:45 +03:00

18 lines
304 B
C++

#pragma once
#include <QEvent>
#include <QWidget>
class OverlayWidget : public QWidget
{
Q_OBJECT
public:
explicit OverlayWidget(QWidget *parent = nullptr);
protected:
bool event(QEvent *event) override;
bool eventFilter(QObject *obj, QEvent *event) override;
QRect overlayGeometry() const;
};