summary refs log tree commit diff
path: root/include/ui/OverlayWidget.h
blob: 020393adf8e376d601fa7bc23ecc7df7c3b1f18b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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