VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
exampleMenuItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
10 
11 class DtSimMessage;
12 
13 //This is a menu item that will prompt the user for some text and then
14 //send that text in a comment interaction using the global DtExConnInterface.
16 {
17 public:
19 
20  virtual ~DtExampleMenuItem() override;
21 
22  //Build a menu item (via an action).
23  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
24 
25 protected:
26  //This is the method that is called when the user selects the action.
27  virtual void on_triggered() override;
28 
29 protected:
31 };
Builder for menu items.
Definition: DtMenuItem.h:23
virtual QAction * createAction(makVrv::DtDe &, QWidget *parent) override
Build a menu item (via an action).
makVrv::DtDe & myDe
Definition: exampleMenuItem.h:30
Definition: exampleMenuItem.h:15
File: simMsg.h.
Definition: simMessage.h:35
virtual ~DtExampleMenuItem() override
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtExampleMenuItem(makVrv::DtDe &de)
virtual void on_triggered() override

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)