VR-Engage  2.2
Loading...
Searching...
No Matches
DtVrePluginsMenuItem Class Reference

Detailed Description

DtVrePluginsMenuItem provides a menu item for displaying information about loaded plugins in the VR-Engage application. When triggered, it shows a dialog listing all active plugins, their versions, and other relevant information. This is useful for debugging and verifying which plugins are currently active.

#include <helpMenuItems.h>

Inheritance diagram for DtVrePluginsMenuItem:
[legend]

Public Member Functions

 DtVrePluginsMenuItem (makVrv::DtDe &de)
 
virtual ~DtVrePluginsMenuItem () override
 
virtual QAction * createAction (makVrv::DtDe &, QWidget *parent) override
 

Protected Member Functions

virtual void on_triggered () override
 

Protected Attributes

makVrv::DtDe & myDe
 

Constructor & Destructor Documentation

◆ DtVrePluginsMenuItem()

DtVrePluginsMenuItem::DtVrePluginsMenuItem ( makVrv::DtDe & de)

Constructor.

Parameters
deReference to the display engine

Creates a new plugins menu item associated with the specified display engine.

References de().

◆ ~DtVrePluginsMenuItem()

virtual DtVrePluginsMenuItem::~DtVrePluginsMenuItem ( )
overridevirtual

Virtual destructor.

Ensures proper cleanup of resources.

Member Function Documentation

◆ createAction()

virtual QAction * DtVrePluginsMenuItem::createAction ( makVrv::DtDe & ,
QWidget * parent )
overridevirtual

Creates an action for this menu item.

Parameters
deReference to the display engine
parentParent widget that will own the action
Returns
Pointer to the created action

Builds and returns a QAction that represents this menu item in the UI. The action includes the appropriate icon, text, and connection to the menu item's functionality.

◆ on_triggered()

virtual void DtVrePluginsMenuItem::on_triggered ( )
overrideprotectedvirtual

Handles menu item activation.

Called when the user selects the plugins menu item. Shows a dialog displaying information about all loaded plugins in the application.

Member Data Documentation

◆ myDe

makVrv::DtDe& DtVrePluginsMenuItem::myDe
protected

Reference to the display engine.


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