matrixion/include/ui/OverlayWidget.h

19 lines
304 B
C
Raw Normal View History

#pragma once
2017-04-06 02:06:42 +03:00
#include <QEvent>
#include <QWidget>
class OverlayWidget : public QWidget
{
Q_OBJECT
public:
explicit OverlayWidget(QWidget *parent = nullptr);
2017-04-06 02:06:42 +03:00
protected:
bool event(QEvent *event) override;
bool eventFilter(QObject *obj, QEvent *event) override;
QRect overlayGeometry() const;
};