VR-Forces 4.2 Class Documentation
DtInterfaceContentMenuItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtInterfaceContentMenuItem.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
9 //\file DtInterfaceContentMenuItem.h
10 //\brief Contains makVrf3DQt::DtInterfaceContentMenuItem class. This class
11 //will put up a dialog then send off the interface content menu message
12 
13 #pragma once
14 
17 
18 class DtSimMessage;
19 
20 namespace vrfInterfaceContentExample
21 {
22  //A menu item to add a feature layer.
23  class DtInterfaceContentMenuItem : public makVrv::DtMenuItem
24  {
25  public:
26  //CTOR
27  DtInterfaceContentMenuItem(makVrv::DtDe& de);
28 
29  //DTOR
31 
32  //Build a menu item (via an action).
33  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
34 
35  static void processInterfaceMessage(DtSimMessage* msg);
36 
37  protected:
38 
39  virtual void on_triggered();
40 
41  protected:
42  makVrv::DtDe& myDe;
43  };
44 }

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)