ArchitectureColoredPainting/qt-material-widgets/components/lib/qtmaterialoverlaywidget.h

25 lines
525 B
C++

#ifndef QTMATERIALOVERLAYWIDGET_H
#define QTMATERIALOVERLAYWIDGET_H
#include <QtWidgets/QWidget>
class QtMaterialOverlayWidget : public QWidget
{
Q_OBJECT
public:
explicit QtMaterialOverlayWidget(QWidget *parent = 0);
~QtMaterialOverlayWidget();
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(QtMaterialOverlayWidget)
};
#endif // QTMATERIALOVERLAYWIDGET_H