DtVreControlsMappingMenuItem provides a menu item for accessing documentation about control mappings in VR-Engage. When triggered, it opens a web link to the controls mapping documentation, which shows how input devices (keyboard, mouse, controllers) are mapped to actions in the application.
#include <helpMenuItems.h>
◆ DtVreControlsMappingMenuItem()
| DtVreControlsMappingMenuItem::DtVreControlsMappingMenuItem |
( |
makVrv::DtDe & | de | ) |
|
Constructor.
- Parameters
-
| de | Reference to the display engine |
Creates a new controls mapping menu item associated with the specified display engine.
References de().
◆ ~DtVreControlsMappingMenuItem()
| virtual DtVreControlsMappingMenuItem::~DtVreControlsMappingMenuItem |
( |
| ) |
|
|
overridevirtual |
Virtual destructor.
Ensures proper cleanup of resources.
◆ createAction()
| virtual QAction * DtVreControlsMappingMenuItem::createAction |
( |
makVrv::DtDe & | , |
|
|
QWidget * | parent ) |
|
overridevirtual |
Creates an action for this menu item.
- Parameters
-
| de | Reference to the display engine |
| parent | Parent 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 DtVreControlsMappingMenuItem::on_triggered |
( |
| ) |
|
|
overrideprotectedvirtual |
Handles menu item activation.
Called when the user selects the controls mapping menu item. Opens the controls mapping documentation in the default web browser.
◆ myAction
| QAction* DtVreControlsMappingMenuItem::myAction |
|
protected |
Action representing this menu item.
◆ myDe
| makVrv::DtDe& DtVreControlsMappingMenuItem::myDe |
|
protected |
Reference to the display engine.
The documentation for this class was generated from the following file: