Creating a Prototype
Defining A Scene Graph
Tutorials
HOOPS 3DF
TechSoft3d
SEARCH:
2D Tutorial : Soccer
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
SoccerHQWidget::OnZoomToWindow
void OnZoomToWindow()
SoccerHQWidget::SetupView
void SetupView()
SoccerHQWidget::OnPan
void OnPan()
SoccerHQWidget::OnDeleteLayers
void OnDeleteLayers()
SoccerHQWidget::OnOrbit
void OnOrbit()
SoccerHQWidget::OnCreateRectangle
void OnCreateRectangle()
SoccerHQWidget::OnSelect
void OnSelect()
SoccerHQWidget::OnSaveFileAs
void OnSaveFileAs()
HQWidget
SoccerHQWidget::OnZoom
void OnZoom()
SoccerHQWidget::SoccerHQWidget
SoccerHQWidget(QWidget *parent, const char *name, const char *FileName=0)
SoccerHQWidget::OnCreateCylinder
void OnCreateCylinder()
SoccerHQWidget::OnCreateSphere
void OnCreateSphere()
SoccerHQWidget::OnRunMyCode
void OnRunMyCode()
SoccerHQWidget::Init
void Init()
SoccerHQWidget::OnPrint
void OnPrint()
SoccerHQWidget::OnZoomToExtents
void OnZoomToExtents()
SoccerHQWidget
Definition:
SoccerHQWidget.h:19
SoccerHQWidget::~SoccerHQWidget
~SoccerHQWidget()
SoccerHQWidget::OnCreateCone
void OnCreateCone()
SoccerHQWidget::OnSelectByWindow
void OnSelectByWindow()
SoccerHQWidget::OnLoad
void OnLoad()