SoccerHQWidget.h

Go to the documentation of this file.
00001 // SoccerHQWidget.h - public interface for the HOOPS/Qt class SoccerHQWidget 
00002 // 
00003 // More about this class 
00004   
00005 #ifndef SOCCERHQWIDGET_H 
00006 #define SOCCERHQWIDGET_H 
00007 
00008 // Qt Includes 
00009 #include <QLabel> 
00010 #include <QWidget> 
00011 #include <QMenu> 
00012 #include <QSlider> 
00013 
00014 // HOOPS/Qt Includes 
00015 #include "HQWidget.h" 
00016 
00017 #define DEBUG_PRINT_DIALOG              0x00000002
00018 
00019 class SoccerHQWidget : public HQWidget 
00020 { 
00021 
00022  Q_OBJECT 
00023 
00024 public: 
00025 
00026     SoccerHQWidget(QWidget* parent, const char* name ,  
00027       const char * FileName = 0); 
00028     ~SoccerHQWidget(); 
00029   
00030 
00031 public slots: 
00032 
00033     void OnLoad();
00034     void OnSaveFileAs();
00035     void OnPrint();
00036 
00037     void OnZoomToExtents();
00038     void OnZoomToWindow();
00039 
00040     void OnZoom();
00041     void OnOrbit();
00042     void OnPan();
00043 
00044     void OnCreateSphere(); 
00045     void OnCreateCone(); 
00046     void OnCreateCylinder();
00047 
00048     void OnRunMyCode() ;
00049 
00050     void OnSelect();
00051     void OnSelectByWindow();
00052     
00053     void OnDeleteLayers(); 
00054     void OnCreateRectangle(); 
00055 
00056 protected: 
00057 
00058     void SetupView() ;
00059     void Init(); 
00060 
00061 
00062 private: 
00063 
00064     void load(const char * filename); 
00065 
00066 
00067 
00068 
00069 }; 
00070   
00071 
00072 #endif 
00073