qt-material-widgets/components/lib/overlaywidget.h

28 lines
472 B
C
Raw Normal View History

2022-02-17 15:17:19 +00:00
#ifndef OVERLAYWIDGET_H
#define OVERLAYWIDGET_H
2017-09-28 22:01:01 +00:00
#include <QtWidgets/QWidget>
namespace md
{
class OverlayWidget : public QWidget
2017-09-28 22:01:01 +00:00
{
Q_OBJECT
public:
explicit OverlayWidget(QWidget *parent = 0);
~OverlayWidget();
2017-09-28 22:01:01 +00:00
protected:
bool event(QEvent *event) Q_DECL_OVERRIDE;
bool eventFilter(QObject *obj, QEvent *event) Q_DECL_OVERRIDE;
virtual QRect overlayGeometry() const;
private:
Q_DISABLE_COPY(OverlayWidget)
2017-09-28 22:01:01 +00:00
};
}
2017-09-28 22:01:01 +00:00
2022-02-17 15:17:19 +00:00
#endif // OVERLAYWIDGET_H