VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtQQuickWindow Class Reference

Detailed Description

This class extends QQuickWindow to add event filtering capabilities, enabling proper integration with the VREngage event system and render control.

#include <vreQQuickWindow.h>

Inheritance diagram for makVre::DtQQuickWindow:
[legend]

Public Member Functions

 DtQQuickWindow (DtQtQRenderControl *qqrc)
 
virtual ~DtQQuickWindow () override
 
virtual bool eventFilter (QObject *object, QEvent *qevent) override
 
virtual void setRenderControl (DtQtQRenderControl *rc)
 
virtual DtQtQRenderControlgetRenderControl ()
 
virtual void focusInEvent (QFocusEvent *fevent) override
 

Protected Attributes

DtQtQRenderControlmyRenderControl
 

Constructor & Destructor Documentation

◆ DtQQuickWindow()

makVre::DtQQuickWindow::DtQQuickWindow ( DtQtQRenderControl * qqrc)

Constructor.

Parameters
qqrcPointer to the Qt Quick render control to associate with this window

◆ ~DtQQuickWindow()

virtual makVre::DtQQuickWindow::~DtQQuickWindow ( )
overridevirtual

Virtual destructor.

Member Function Documentation

◆ eventFilter()

virtual bool makVre::DtQQuickWindow::eventFilter ( QObject * object,
QEvent * qevent )
overridevirtual

Event filter for capturing and handling Qt events.

Parameters
objectThe object that received the event
qeventThe event that was received
Returns
True if the event was handled, false to continue normal processing

◆ setRenderControl()

virtual void makVre::DtQQuickWindow::setRenderControl ( DtQtQRenderControl * rc)
virtual

Sets the render control for this window.

Parameters
rcPointer to the Qt Quick render control

◆ getRenderControl()

virtual DtQtQRenderControl * makVre::DtQQuickWindow::getRenderControl ( )
virtual

Gets the render control for this window.

Returns
Pointer to the Qt Quick render control

◆ focusInEvent()

virtual void makVre::DtQQuickWindow::focusInEvent ( QFocusEvent * fevent)
overridevirtual

Handles focus in events for the window.

Parameters
feventThe focus event

Member Data Documentation

◆ myRenderControl

DtQtQRenderControl* makVre::DtQQuickWindow::myRenderControl
protected

Pointer to the associated render control.


The documentation for this class was generated from the following file: