mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
18 lines
312 B
C++
18 lines
312 B
C++
#ifndef HOVERHIGHLIGHTEFFECT_H
|
|
#define HOVERHIGHLIGHTEFFECT_H
|
|
|
|
#include <QGraphicsEffect>
|
|
|
|
class HoverHighlightEffect : public QGraphicsEffect
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit HoverHighlightEffect(QObject *parent = nullptr);
|
|
|
|
protected:
|
|
void draw(QPainter *painter);
|
|
};
|
|
|
|
#endif // HOVERHIGHLIGHTEFFECT_H
|