QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
qvvideo.h
1 #ifdef VIDEO
2 #ifndef QVVIDEO_H
3 #define QVVIDEO_H
4 
5 #include "../qvelement.h"
6 #include "qvvideoplayer.h"
7 #include "vlc/vlc.h"
8 
9 class QVVideo : public QVElement
10 {
11  Q_OBJECT
12 public:
13  explicit QVVideo(QDomElement xml_desc, QString container, QWidget *parent);
14 
15 protected:
16  void hideEvent(QHideEvent*);
17  void showEvent(QShowEvent*);
18  void resizeEvent(QResizeEvent*);
19 
20 signals:
21  void requestPlay();
22  void requestStop();
23 
24 public slots:
25  void valueModified(QString,QString);
26 
27 private:
28  QVVideoPlayer *player;
29 };
30 
31 #endif // QVVIDEO_H
32 #endif
Definition: qvelement.h:34
void valueModified(QString, QString)
virtual void resizeEvent(QResizeEvent *event)
Definition: qvelement.cpp:171