Documentation


viewerQt.h

Go to the documentation of this file.
00001 
00002 //                            viewerQt.h                                      //
00004 
00005 #ifndef VIEWER_QT_H
00006 #define VIEWER_QT_H
00007 
00008 #include "viewerDesigner.h"
00009 
00010 namespace X3DTK{
00011 namespace Qt{
00012 
00013 class Viewer;
00014 
00017 class ViewerQt : public ViewerDesigner
00018 {
00019       Q_OBJECT        // must include this if you use Qt signals/slots
00020 
00021 public:
00023   ViewerQt(Viewer * viewer);
00024   
00026   ~ViewerQt();
00027   
00028 public slots:
00029   virtual void widthChanged(int);
00030   virtual void heightChanged(int);
00031   virtual void defaultSize();
00032   virtual void toggleVideoScreen(int);
00033   virtual void toggleVideoDisplay(int);
00034   virtual void toggleVideoAnimation(int);
00035   virtual void chooseVideoName();
00036   virtual void startCapture();
00037   virtual void viewCapture();
00038   virtual void mpeg2encode();
00039  
00040 private:
00041   void setTextLabelVideoName(QString videoName);
00042   Viewer * viewer;
00043   
00044 };
00045 
00046 }// Qt
00047 }// X3DTK
00048 #endif

Generated on Thu Dec 23 13:52:27 2004 by doxygen 1.3.6