VR-Forces 4.2 Class Documentation
exampleMenuItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 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.
15 class DtExampleMenuItem : public makVrv::DtMenuItem
16 {
17 public:
18  DtExampleMenuItem(makVrv::DtDe& de);
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:
30  makVrv::DtDe& myDe;
31 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)