#include <HQWidget.h>
Public Member Functions | |
HQWidget (QWidget *parent=0, QString const &name="", Qt::WFlags f=0, int aa=0) | |
HBaseView * | GetHoopsView () |
HBaseModel * | GetHoopsModel () |
Static Public Member Functions | |
static bool | GetKeyState (unsigned int key, int &flags) |
static const char * | ChooseDriver () |
Protected Member Functions | |
void * | GetColorMap () |
void * | GetWindowId () |
void * | GetClipOverride () |
virtual void | Init () |
virtual QPaintEngine * | paintEngine () const |
virtual void | OnLeftButtonDown (QMouseEvent *e=0) |
virtual void | OnLeftButtonUp (QMouseEvent *e=0) |
virtual void | OnLeftButtonDblClk (QMouseEvent *e=0) |
virtual void | OnMidButtonDown (QMouseEvent *e=0) |
virtual void | OnMidButtonUp (QMouseEvent *e=0) |
virtual void | OnMidButtonDblClk (QMouseEvent *e=0) |
virtual void | OnRightButtonDown (QMouseEvent *e=0) |
virtual void | OnRightButtonUp (QMouseEvent *e=0) |
virtual void | OnRightButtonDblClk (QMouseEvent *e=0) |
virtual void | wheelEvent (QWheelEvent *e=0) |
virtual void | paintEvent (QPaintEvent *e) |
virtual void | resizeEvent (QResizeEvent *e) |
virtual void | focusInEvent (QFocusEvent *e) |
virtual void | focusOutEvent (QFocusEvent *e) |
virtual void | keyPressEvent (QKeyEvent *e) |
virtual void | keyReleaseEvent (QKeyEvent *e) |
virtual void | mousePressEvent (QMouseEvent *mev) |
virtual void | mouseDoubleClickEvent (QMouseEvent *mev) |
virtual void | mouseReleaseEvent (QMouseEvent *mev) |
virtual void | mouseMoveEvent (QMouseEvent *mev) |
void | AdjustAxisWindow () |
bool | eventFilter (QObject *obj, QEvent *ev) |
Protected Attributes | |
HBaseView * | m_pHView |
HBaseModel * | m_pHBaseModel |
bool | ignore_update |
The HQWidget class provides a HOOPS-specific implementation of the QWidget object. It serves as a base HOOPS/Qt widget class and should be sub-classed to create an application specific derivation.
HQWidget creates and manages the connection of a HOOPS/3dGS driver instance to a QWidget object. The custom widget:
|
protected |
Adjusts the relative size of the Axis window so that it always has the same size if the outer window is resized
|
protected |
Used to stop events from getting passed to the object
|
protected |
|
protected |
|
inline |
References m_pHBaseModel.
|
inline |
|
protected |
|
protectedvirtual |
Performs HOOPS/QT specific initialization
|
protectedvirtual |
Calls the OnKeyDown method of the view's current HOOPS/MVO HBaseOperator object. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Calls the OnKeyUp method of the view's current HOOPS/MVO HBaseOperator object. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Looks at the state of the left/mid/right mouse buttons and calls the appropriate On[type]ButtonDblClk method of the widget
|
protectedvirtual |
Dispatches the OnMouseMove event to all event listeners that are registered for the OnMouseMove event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Looks at the state of the left/mid/right mouse buttons and calls the appropriate On[type]ButtonDown method of the widget
|
protectedvirtual |
Looks at the state of the left/mid/right mouse buttons and calls the appropriate On[type]ButtonUp method of the widget
|
protectedvirtual |
Dispatches the OnLeftButtonDblClk event to all event listeners that are registered for the OnLeftButtonDblClk event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnLeftButtonDown event to all event listeners that are registered for the OnLeftButtonDown event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnLeftButtonUp event to all event listeners that are registered for the OnLeftButtonUp event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnMidButtonDblClk event to all event listeners that are registered for the OnMidButtonDblClk event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnMidButtonDown event to all event listeners that are registered for the OnMidButtonDown event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnMidButtonUp event to all event listeners that are registered for the OnMidButtonUp event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnRightButtonDblClk event to all event listeners that are registered for the OnRightButtonDblClk event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnRightButtonDown event to all event listeners that are registered for the OnRightButtonDown event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
Dispatches the OnRightButtonUp event to all event listeners that are registered for the OnRightButtonUp event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protectedvirtual |
return null
|
protectedvirtual |
Overloaded to automatically perform a HOOPS/3dGS update
|
protectedvirtual |
Overloaded to automatically perform a HOOPS/3dGS update
|
protectedvirtual |
Dispatches the OnRightButtonDblClk event to all event listeners that are registered for the OnMouseWheel event type. The GUI specific flags are mapped to HOOPS/MVO abstracted flags
|
protected |
Pointer to the HBaseModel object associated with this widget
Referenced by GetHoopsModel().
|
protected |
Pointer to the HBaseView object associated with this widget
Referenced by GetHoopsView().