mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-12-01 14:58:47 +03:00
21 lines
379 B
C++
21 lines
379 B
C++
#ifndef UI_OVERLAY_WIDGET_H
|
|
#define UI_OVERLAY_WIDGET_H
|
|
|
|
#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;
|
|
};
|
|
|
|
#endif // UI_OVERLAY_WIDGET_H
|