VR-Forces 5.0.1 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();
21 
22  //Build a menu item (via an action).
23  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
24 
25 protected:
26  //This is the method that is called when the user selects the action.
27  virtual void on_triggered();
28 
29 protected:
31 };
virtual ~DtExampleMenuItem()
Builder for menu items.
Definition: DtMenuItem.h:23
makVrv::DtDe & myDe
Definition: exampleMenuItem.h:30
virtual QAction * createAction(makVrv::DtDe &, QWidget *parent)
Build a menu item (via an action).
Definition: exampleMenuItem.h:15
File: simMsg.h.
Definition: simMessage.h:35
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:70
DtExampleMenuItem(makVrv::DtDe &de)
virtual void on_triggered()

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)