17 lines
364 B
C
17 lines
364 B
C
|
#ifndef ELEVIDEO_H
|
||
|
#define ELEVIDEO_H
|
||
|
#include "elebase.h"
|
||
|
#include <QVideoWidget>
|
||
|
#include <QVideoWidget>
|
||
|
|
||
|
class EleVideo : public QVideoWidget {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit EleVideo(QString path, QWidget *parent = nullptr);
|
||
|
protected:
|
||
|
void showEvent(QShowEvent *event) override;
|
||
|
void hideEvent(QHideEvent *event) override;
|
||
|
};
|
||
|
|
||
|
#endif // ELEVIDEO_H
|