diff options
author | deva <deva> | 2005-07-26 16:16:56 +0000 |
---|---|---|
committer | deva <deva> | 2005-07-26 16:16:56 +0000 |
commit | aa76292f4ceb8bfa94066bd035dda81c95bc9052 (patch) | |
tree | e8bc68b7b1206cc5ee5ba623b2fef7800550af8b /src/videowidget.h | |
parent | eac2e19c2fea1c704cdeabcaf5e19f774d3f820b (diff) |
Added fullscreen functionality.
Diffstat (limited to 'src/videowidget.h')
-rw-r--r-- | src/videowidget.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/videowidget.h b/src/videowidget.h index 2f8002e..05df0ae 100644 --- a/src/videowidget.h +++ b/src/videowidget.h @@ -31,6 +31,10 @@ /* * $Log$ + * Revision 1.7 2005/07/26 16:16:56 deva + * + * Added fullscreen functionality. + * * Revision 1.6 2005/07/25 15:56:27 deva * *** empty log message *** * @@ -60,17 +64,18 @@ class VideoWidget : public QWidget { Q_OBJECT public: - VideoWidget(QWidget *parent, Camera *camera); + VideoWidget(QWidget *parent, Camera *camera, QWidget *old = NULL); ~VideoWidget(); QPixmap getScreenshot(); - void mousePressEvent(QMouseEvent *event); - -signals: - void clicked(); + void mouseReleaseEvent(QMouseEvent *event); private: Camera *camera; + QWidget *parent; + + // Reassign SDL to this when closing (if non-NULL) + QWidget *oldWindow; }; #endif /* __VIDEOWIDGET_H__ */ |