Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/videomonitorwidget.h
Show All 21 Lines | |||||
22 | #include <QWidget> | 22 | #include <QWidget> | ||
23 | 23 | | |||
24 | class VideoMonitorWidget : public QWidget | 24 | class VideoMonitorWidget : public QWidget | ||
25 | { | 25 | { | ||
26 | Q_OBJECT | 26 | Q_OBJECT | ||
27 | 27 | | |||
28 | public: | 28 | public: | ||
29 | explicit VideoMonitorWidget(QWidget *parent = nullptr); | 29 | explicit VideoMonitorWidget(QWidget *parent = nullptr); | ||
30 | ~VideoMonitorWidget() = default; | ||||
30 | 31 | | |||
31 | private: | 32 | private: | ||
32 | QLabel *_errorlabel; | 33 | QLabel *_errorlabel = nullptr; | ||
33 | QMediaPlayer _mediaplayer; | 34 | QMediaPlayer _mediaplayer; | ||
34 | void handleError(); | 35 | void handleError(); | ||
35 | }; | 36 | }; |