forked from mirror/nheko
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
411 B
23 lines
411 B
#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
|
|
|