VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
guiSendInteraction
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
8
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
9
#include <
vrfGuiCoreQt/DtVrfSimulationMenuItem.h
>
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)