diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-01-30 19:14:33 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-01-30 19:14:33 +0100 |
commit | 2613275461fcf46ceb401b99fc6179bd3b1445f2 (patch) | |
tree | a343d293021df5906282e09aafed5e2dde412161 /src/ui/OverlayWidget.h | |
parent | Remove a few unused includes (diff) | |
download | nheko-2613275461fcf46ceb401b99fc6179bd3b1445f2.tar.xz |
Reimplement error notifications
Diffstat (limited to '')
-rw-r--r-- | src/ui/OverlayWidget.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ui/OverlayWidget.h b/src/ui/OverlayWidget.h deleted file mode 100644 index 19ad0cc6..00000000 --- a/src/ui/OverlayWidget.h +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-FileCopyrightText: 2021 Nheko Contributors -// SPDX-FileCopyrightText: 2022 Nheko Contributors -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#pragma once - -#include <QEvent> -#include <QWidget> - -class QPainter; - -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; - void paintEvent(QPaintEvent *event) override; -}; |