| 1 | // |
| 2 | // VideoWin.h: Video output |
| 3 | // |
| 4 | // by Jean-Paul Mari |
| 5 | // |
| 6 | // |
| 7 | |
| 8 | #ifndef __VIDEOWIN_H__ |
| 9 | #define __VIDEOWIN_H__ |
| 10 | |
| 11 | #include <QtWidgets/QtWidgets> |
| 12 | #include <glwidget.h> |
| 13 | |
| 14 | class VideoOutputWindow : public QWidget |
| 15 | { |
| 16 | Q_OBJECT |
| 17 | |
| 18 | public: |
| 19 | VideoOutputWindow(QWidget * parent = 0); |
| 20 | ~VideoOutputWindow(); |
| 21 | |
| 22 | public slots: |
| 23 | // void DefineAllKeys(void); |
| 24 | void RefreshContents(GLWidget *Lt); |
| 25 | void SetupVideo(GLWidget *Lt); |
| 26 | |
| 27 | protected: |
| 28 | void keyPressEvent(QKeyEvent *); |
| 29 | |
| 30 | private: |
| 31 | QVBoxLayout *layout; |
| 32 | QHBoxLayout *hbox1; |
| 33 | //QTextBrowser * text; |
| 34 | //QStatusBar *statusbar; |
| 35 | GLWidget *gl; |
| 36 | }; |
| 37 | |
| 38 | #endif // __VIDEOWIN_H__ |
| 39 | |