Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

SoccerHQWidget.h
Go to the documentation of this file.
1 // SoccerHQWidget.h - public interface for the HOOPS/Qt class SoccerHQWidget
2 //
3 // More about this class
4 
5 #ifndef SOCCERHQWIDGET_H
6 #define SOCCERHQWIDGET_H
7 
8 // Qt Includes
9 #include <QLabel>
10 #include <QWidget>
11 #include <QMenu>
12 #include <QSlider>
13 
14 // HOOPS/Qt Includes
15 #include "HQWidget.h"
16 
17 #define DEBUG_PRINT_DIALOG 0x00000002
18 
19 class SoccerHQWidget : public HQWidget
20 {
21 
22  Q_OBJECT
23 
24 public:
25 
26  SoccerHQWidget(QWidget* parent, const char* name ,
27  const char * FileName = 0);
28  ~SoccerHQWidget();
29 
30 
31 public slots:
32 
33  void OnLoad();
34  void OnSaveFileAs();
35  void OnPrint();
36 
37  void OnZoomToExtents();
38  void OnZoomToWindow();
39 
40  void OnZoom();
41  void OnOrbit();
42  void OnPan();
43 
44  void OnCreateSphere();
45  void OnCreateCone();
46  void OnCreateCylinder();
47 
48  void OnRunMyCode() ;
49 
50  void OnSelect();
51  void OnSelectByWindow();
52 
53  void OnDeleteLayers();
54  void OnCreateRectangle();
55 
56 protected:
57 
58  void SetupView() ;
59  void Init();
60 
61 
62 private:
63 
64  void load(const char * filename);
65 
66 
67 
68 
69 };
70 
71 
72 #endif
73 
void OnZoomToWindow()
void OnDeleteLayers()
void OnCreateRectangle()
void OnSaveFileAs()
SoccerHQWidget(QWidget *parent, const char *name, const char *FileName=0)
void OnCreateCylinder()
void OnCreateSphere()
void OnRunMyCode()
void OnZoomToExtents()
Definition: SoccerHQWidget.h:19
void OnCreateCone()
void OnSelectByWindow()