qt/LedOK/LoQClass/loqgraphicsvideoitem.h
2022-01-04 18:11:48 +08:00

24 lines
493 B
C++

#ifndef LOQGRAPHICSVIDEOITEM_H
#define LOQGRAPHICSVIDEOITEM_H
#include <QDebug>
#include <QPainter>
#include <QGraphicsVideoItem>
class LoQGraphicsVideoItem : public QGraphicsVideoItem
{
Q_OBJECT
public:
explicit LoQGraphicsVideoItem(QGraphicsItem *parent = nullptr);
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
signals:
public slots:
private:
int m_painterCompositionMode;
};
#endif // LOQGRAPHICSVIDEOITEM_H