1.0 HQApplication

2.0 HQDeleter

3.0 HQWidget

4.0 MyHQWidget


1.0 class    HQApplication

This class is derived from QMainWindow and adds functionality for managing multiple instances of itself and the creation of the Qt GUI structure for each instance. It is used in the HOOPS/Qt Reference Applications. The HQApplication source code can be used as a reference template when building HOOPS/Qt applications.
Public Interface - HQApplication.h
Implementation - HQApplication.cpp



2.0 class    HQDeleter

This class provides a mechanism for safely deleting the "this" pointer within a Qt Slot method. If the "this" pointer is deleted directly within a Slot method it will lead to a segmentation fault as the Qt Signal/Slot processor unwinds itself from the point where that particular Slot method was called. One solution is to defer the deletion of the "this" pointer until the Signal/Slot processing has completely finished, or unwound itself. The HQDeleter class implements this solution.
 
Public Interface - HQDeleter.h
Implementation - HQDeleter.cpp


3.0 class    HQWidget

This class connects the HOOPS 3D Graphics System to the Qt Toolkit. The class is derived from the Qt class QWidget and adds the functionality to:  This class serves as a base HOOPS/Qt widget class and should be sub-classed to create an application specific derivation to add custom Qt menus.The HOOPS/Qt Reference Applications use this approach and should be used as a reference guide.(See the class MyHQWidget)
 
Public Interface - HQWidget.h
Implementation - HQWidget.cpp



4.0 class    MyHQWidget

This class is derived from the HOOPS/Qt class HQWidget and adds functionality for initializing the HOOPS/MVO objects as well as creating any application specific Qt GUI widgets. It then connects these GUI widgets to the HOOPS/MVO View methods. It also provides a Qt Popup menu connected to the HQWidget's RightMouseEvents. It is part of the HOOPS/Qt Reference Application and developers can use this a reference template when building HOOPS/Qt applications.
 
Public Interface - MyHQWidget.h
Implementation - MyHQWidget.cpp